Panasonic MN101C49H manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Panasonic MN101C49H, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Panasonic MN101C49H one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Panasonic MN101C49H. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Panasonic MN101C49H should contain:
- informations concerning technical data of Panasonic MN101C49H
- name of the manufacturer and a year of construction of the Panasonic MN101C49H item
- rules of operation, control and maintenance of the Panasonic MN101C49H item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Panasonic MN101C49H alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Panasonic MN101C49H, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Panasonic service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Panasonic MN101C49H.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Panasonic MN101C49H item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

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

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • Page 6

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

  • Page 7

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

  • 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 ......[...]

  • 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.......[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]

  • 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[...]