Manual Panasonic MN101CP49K

19 pages 0.27 mb
Download

Go to site of 19

Summary
  • Panasonic MN101CP49K - page 1

    MICROCOMPUTER MN101C MN101C49G/49H/49K/F49K/P49K LSI Application Notes Excerption Pub.No.3144911-031E ...

  • Panasonic MN101CP49K - page 2

    Request for your special attention an d precau tions in using the technic al information and semiconductors described in this book (1) If any of the p roducts or technical info rmation described in this book is to be exported or prov ided to non-residents , the laws and regulations of the exporting countr y , especially , those w ith regard to secu ...

  • Panasonic MN101CP49K - page 3

    About This Manual ■ Configuration of This Manual This LSI application note is c onsists of the following sections. Chapter 1 Overview This chapter describes the overview of this applic ation note. Chapter 2 Startup Program This chapter des cribes a startup p rocess necessary for executing a program . Chapter 3 Register Setup of Each Function This ...

  • Panasonic MN101CP49K - page 4

    ■ Related Manuals Note that the following related docum ents are available. "MN101C49G/49H/49K/F49K/P49K LSI User's Manual" "MN101C Series C Compiler User's Manual: Language Description" <Describes the syntax of the C Compiler.> "MN101C Series C Compiler User's Manual: Libr ary Reference" <Des ...

  • Panasonic MN101CP49K - page 5

    Chapter 1 Overview Chapter 2 Startup Program Chapter 3 Register Setup of Each Function Chapter 4 Sample Program 1 Chapter 5 Sample Program 2 Chapter 6 Appendix 1 Chapter 7 Appendix 2 1 2 3 6 7 4 5 ...

  • Panasonic MN101CP49K - page 6

    Table of Contents Chapter 1 Overview ............................................................................................................. ........................................ 13 1.1 Over view ................................................................................................................................................. ...

  • Panasonic MN101CP49K - page 7

    3.6 How to Inter rupt ................................................................................................................................................ 45 3.6.1 Interrupt vector table ................................................................................................... ............................... 45 3.6.2 Interrupt ...

  • Panasonic MN101CP49K - page 8

    3.14.4 Setting co mmunica tion speed for UART .................................................................................... ........... 106 3.14.5 Notes and appl ications re lated to communi cation ch annel................................................................. .... 106 3.15 Data Transfer Funct ion, Initializing P eripherals ...... ...

  • Panasonic MN101CP49K - page 9

    5.3 Sample Program Us ing Serial F unction....................................................................................... .................... 219 5.3.1 Serial prog ram........................................................................................................... ............................... 219 5.3.2 Serial prog ram 1....... ...

  • Panasonic MN101CP49K - page 10

    Chapter 3 Register Setup of Each Function 62 3.9 8-bit Timer, Initializing Peripherals There are five 8-bit timers comprising timer 0 to 4. The timer comprises a bin ary counter, a com pare register and a mode register. You can combin e two 8-bit timers, timer 0 and 1 or 2 and 3, to use as a 16-bit timer. Binary counter This counter coun ts a clock ...

  • Panasonic MN101CP49K - page 11

    Chapter 3 Register Setup of Each Function 63 BIT3: "0" Stop count "1" Count operation BIT2, 1, 0: Clock source selectio n 000: High speed crystal clock oscillatio n frequency 001: Timer 1, prescaler output signal 010: Low speed crystal clo c k oscillatio n frequency 011: Synchronous low speed crystal clock oscillation frequen cy ...

  • Panasonic MN101CP49K - page 12

    Chapter 3 Register Setup of Each Function 64 001: Timer 3, prescaler output signal 010: Low speed crystal clock oscillation frequen cy 011: Synchronous low speed crysta l clock oscillation frequency 110: Timer 3, pin input external signal 111: Synchronous timer 3, pin in put external signal Timer 4: BIT7: Unused BIT6: Unused BIT5: "0" Nor ...

  • Panasonic MN101CP49K - page 13

    Chapter 3 Register Setup of Each Function 65 20 MHz / 64 = 312500 312500 / 100 = 3125 This setting is not av ailable with the 8-bit timer. Setting by using low speed osci llation clock: 32.768 kHz/ 4 = 8192 8192 / 100 = 81.92 = approx. 82 If you set the formula 82 − 1 = 8 1, the interval timer with 10 milli seconds will be set. The following sect ...

  • Panasonic MN101CP49K - page 14

    Chapter 3 Register Setup of Each Function 66 #define TM0BC (*(volatile unsigned cha r *)TM0BC_adr ) #define TM0O C_adr 0x3F52 #define TM0OC (*(volatile unsigned cha r *)TM0OC_adr ) #define TM0M D_adr 0x3F54 #define TM0MD (*(volatile unsigned cha r *)TM0MD_adr ) #define CK0M D_adr 0x3F56 #define CK0MD (*(volatile unsigned cha r *)CK0MD_adr ) /* Sett ...

  • Panasonic MN101CP49K - page 15

    Chapter 3 Register Setup of Each Function 67 Figure 3 8-bit timer PWM operation timing chart The following section describes a sample program. /* Control da ta declaratio n */ #define TM4MOD 0x00 /* 0b000000 00 Pulse widt h measurement control ( normal timer operation)*/ #define TM4PWM 0x10 /* 0b000100 00 PWM operat ion */ #define TM4EN 0x08 /* 0b0 ...

  • Panasonic MN101CP49K - page 16

    Chapter 3 Register Setup of Each Function 68 the interval outp ut for the interval tim er. Serial interface transfer cloc k generation You can use the ouput signal fro m a timer to generate a serial transfer clo ck. You can use the interva l timer and tim er output setting to set the tim er. The following timers are available for th e serial interf ...

  • Panasonic MN101CP49K - page 17

    Chapter 3 Register Setup of Each Function 69 /* Register address decl aration */ #define TM2BC_adr 0x3F58 #define TM2BC (*(volatile unsigned cha r *)TM2BC_adr ) #define TM2OC_adr 0x3F5A #define TM2OC (*(volatile unsigned cha r *)TM2OC_adr ) #define TM2MD_adr 0x3F5C #define TM2MD (*(volatile unsigned cha r *)TM2MD_adr ) #define CK2MD_adr 0x3F5E #def ...

  • Panasonic MN101CP49K - page 18

    Inquiries If you have questions re garding techni cal inform ation on this m anual, please visit the foll owing URL. User Support Team Semiconductor Company Matsushita Electric Industrial Co., Ltd. URL: http://panasonic.co.j p/semicon/e-micom/inquiry For inquiries regard ing Microcomputer, • Microcomputer W eb site We offer you technical informat ...

  • Panasonic MN101CP49K - page 19

    SALES OFFICES NORTH AMERICA  U.S.A. Sales Office: Panasonic Industrial Company [PIC]  New Jersey Office: 2 Panasonic W ay Secaucus, New Jersey 07094, U.S.A. Tel:1-201-348-5257 Fax:1-201-392-4652  Chicago Office: 1707 N. Randall Road Elgin, Illinois 60123-7847, U.S.A. Tel:1-847-468-5720 Fax:1-847-468-5725  San Jose Office: 2033 Gateway P ...

Manufacturer Panasonic Category Laptop

Documents that we receive from a manufacturer of a Panasonic MN101CP49K can be divided into several groups. They are, among others:
- Panasonic technical drawings
- MN101CP49K manuals
- Panasonic product data sheets
- information booklets
- or energy labels Panasonic MN101CP49K
All of them are important, but the most important information from the point of view of use of the device are in the user manual Panasonic MN101CP49K.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Panasonic MN101CP49K, service manual, brief instructions and user manuals Panasonic MN101CP49K. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Panasonic MN101CP49K.

A complete manual for the device Panasonic MN101CP49K, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Panasonic MN101CP49K by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Panasonic MN101CP49K.

A complete Panasonic manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Panasonic MN101CP49K - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Panasonic MN101CP49K, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Panasonic MN101CP49K, that we can find in the current document
3. Tips how to use the basic functions of the device Panasonic MN101CP49K - which should help us in our first steps of using Panasonic MN101CP49K
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Panasonic MN101CP49K
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Panasonic MN101CP49K in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Panasonic MN101CP49K?

Use the form below

If you did not solve your problem by using a manual Panasonic MN101CP49K, ask a question using the form below. If a user had a similar problem with Panasonic MN101CP49K it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)