Oki MSM66201 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Oki MSM66201, 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 Oki MSM66201 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 Oki MSM66201. 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 Oki MSM66201 should contain:
- informations concerning technical data of Oki MSM66201
- name of the manufacturer and a year of construction of the Oki MSM66201 item
- rules of operation, control and maintenance of the Oki MSM66201 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 Oki MSM66201 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 Oki MSM66201, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Oki 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 Oki MSM66201.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Oki MSM66201 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

    1/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 ¡ Semiconductor MSM66201/66P201/66207/ 66P207 OLMS-66K Series 16-Bit Microcontroller GENERAL DESCRIPTION The MSM66201/66207 is a high performance microcontroller that employs OKI original nX-8/ 200 CPU core. This chip includes a 16-bit CPU, ROM, RAM, I/O ports, multifunction 16-bit timers, 10-bit [...]

  • Page 2

    2/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 • Package 64-pin plastic shrink DIP (SDIP64-P-750-1.78) : (MSM66201- ¥¥¥ SS) (MSM66P201- ¥¥¥ SS) (MSM66207- ¥¥¥ SS) (MSM66P207- ¥¥¥ SS) 64-pin plastic QFP (QFP64-P-1414-0.80-BK) : (MSM66201- ¥¥¥ GSBK)(MSM66207 ¥¥¥ GS- BK) 68-pin plastic QFJ (PLCC) (QFJ68-P-S950-1.27) : (MSM66201[...]

  • Page 3

    3/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 BLOCK DIAGRAM P4.0/TM0CK P4.1/TM1CK P3.4/TM0IO P3.7/TM3IO P3.1/RXD P3.0/TXD P2.7/RXC P2.6/TXC P4.4/TRNS0 P4.7/TRNS3 P5.0/AI 0 P5.7/AI 7 P4.2/PWM0 P4.3/PWM1 P3.2/ INT0 P3.3/ INT1 P2.3/CLKOUT V REF R E SO UT NMI AGND TIMER 0–3 SERIAL PORT TRANSI- TION D. A/D CONV. PWM 0,1 INTERRUPT CONT. PERIPHERAL[...]

  • Page 4

    4/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 PIN CONFIGURATION (TOP VIEW) 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 CLKOUT/P2.3 AD0/P0.0 AD1/P0.1 AD2/P0.2 AD3/P0.3 AD4/P0.4 AD5/P0.5 AD6/P0.6 AD7/P0.7 A8/P1.0 A9/P1.1 A10/P1.2 A11/P1.3 A12/P1.4 A13/P1.5 A14/P1.6 A15/P1.7 P2.0 P2.1 P2.2 P3.7/TM3IO V DD V REF AGND P5.7/AI7 P5.6/AI6 P5.5/[...]

  • Page 5

    5/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 PIN CONFIGURATION (TOP VIEW) (Continued) 48 47 46 45 44 43 42 41 40 39 38 1 2 3 4 5 6 7 8 9 10 11 A8/P1.0 A9/P1.1 A10/P1.2 A11/P1.3 A12/P1.4 A13/P1.5 A14/P1.6 A15/P1.7 P2.0 P2.1 P2.2 P5.2/AI2 P5.1/AI1 P5.0/AI0 P4.7/TRNS3 P4.6/TRNS2 P4.5/TRNS1 P4.4/TRNS0 P4.3/PWM1 P4.2/PWM0 P4.1/TM1CK P4.0/TM0CK 64 [...]

  • Page 6

    6/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 PIN CONFIGURATION (TOP VIEW) (Continued) AI3/P5.3 AI4/P5.4 AI5/P5.5 AI6/P5.6 AI7/P5.7 AGND V REF V DD AD0/P0.0 AD1/P0.1 AD2/P0.2 AD3/P0.3 AD4/P0.4 AD5/P0.5 AD6/P0.6 AD7/P0.7 P3.2/ INT0 P3.1/RXD P3.0/TXD P2.7/RXC P2.6/TXC P2.5/HLDA P2.4/HOLD NMI GND OSC1 OSC0 RES FLT EA READY WR A8/P1.0 A9/P1.1 A10/[...]

  • Page 7

    7/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 PIN DESCRIPTION Type Description Symbol P0.0–P0.7/ AD0–AD7 P1.0–P1.7/ A8–A15 P2.0–P2.2 P2.5/HLDA P2.6/T X C AD: Outputs the lower 8 bits of program counter during external program memory fetch, and receives the addressed instruction under the control of PSEN . This pin also outputs the ad[...]

  • Page 8

    8/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 PIN DESCRIPTION (Continued) RESOUT Outputs "H" level in the case of internal reset. Reset to"L" level by program. ALE Address Latch Enable: PSEN Program Strobe Enable: RD Output strobe activated during a bus read cycle. Used to enable data onto the bus from the external data mem[...]

  • Page 9

    9/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 REGISTERS Accumulator ACC 15 0 Control Register (CR) PSW Bit 15 : Carry flag (CY) Bit 14 : Zero flag (ZF) Bit 13 : Half carry flag (HC) Bit 12 : Data descriptor (DD) Bit 8 : Master interrupt priority flag (MIP) Bit 9,5,4: User flag (MIP) Bit 2-0 : System control base 2-0 (SCB2-0) PC LRB SSP 15 0 15[...]

  • Page 10

    10/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 SFR Address (HEX) Name Symbol R/W 8/16-bit Operation Reset 0000 0001 0002 0003 0004 I 0005 I 0006 0007 0010 I 0011 0012 I 0013 0018 0019 001A 001B 001C I System stack printer Local register base Program status word Accumulator Standby control register Watchdog timer Peripheral contr[...]

  • Page 11

    11/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 Addres (HEX) Name Abbreviated Name R/W 8/16-bit Operation Reset 003A 003B 003C 003D 003E 003F 0040 0041 0042 0043 0046 I 0048 0049 004A I 004C 004D Timer 2 register TCON2 TCON3 TRNSIT STTM 16 00H Timer 0 control register TCON1 TCON0 TMR3 TM3 TMR2 STTMR STTMC 004E I 0050 I 0051 0054 005[...]

  • Page 12

    12/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 SFR (Continued) Note: A I mark in the address column indicates that there is a bit that does not exist in the register. Address (HEX) Name Abbreviated Name R/W 8/16-bit operation Reset 0062 I 0063 A/D conversion result register 1 ADCR1 0064 I 0065 ADCR2 0066 I 0067 ADCR3 0068 I 0069 AD[...]

  • Page 13

    13/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 ADDRESSING MODES The MSM66201/66207 provides independent 64K-byte data and 64K-byte program space with various types of addressing modes. These modes are shown below, for both RAM (for data space) and ROM (for program space). 1. RAM Addressing Modes (for data space) 1.1 Register Direct Addressing [...]

  • Page 14

    14/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 c) Index Register (X1, X2) Indirect RAM [X1] 0 to 65535 X1 INC 300H Example 1.4 Immediate Addressing MOV #27FH SSP, Example 2. ROM Addressing Modes (for program space) 2.1 Direct Addressing 200H ROM 0200H LC A, Example 2.2 Simple Indirect Addressing a) Local Register Indirect ROM [ER0] LC ER0 A, E[...]

  • Page 15

    15/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 3) Index Register (X1, X2) Indirect ROM [X1] LC X1 A, Example c) System Stack Pointer (SSP) Indirect ROM [SSP] LC SSP A, Example d) Local Register Base (LRB) Indirect ROM [LRB] LC LRB A, Example e) RAM Indirect RAM A, [0C0H] J ROM Example 0C0H 2.3 Double Indirect Addressing a) Data Pointer (DP) Do[...]

  • Page 16

    16/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 c) Index Register (X1, X2) Double Indirect RAM 0 to 65535 X1 LC A, [10000H [x1]] Example ROM 2.4 Indirect Addressing with 16-bit Offset a) Pointing Register Indirect 1) Data Pointer (DP) Indirect ROM 0 to 65535 DP LC A, [100H [DP]] Example 2) User Stack Pointer (USP) Indirect ROM 0 to 65535 USP LC[...]

  • Page 17

    17/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 MEMORY MAPS Program Memory Space 0000H 7FFFH * FFFFH 0000H 0027H 0028H 0037H 0038H 7FFFH * Internal ROM Area Vector Table Area (40 bytes) External Memory VCAL Table Area (16 bytes) * MSM66201 : 3FFFH Data Memory Space 0000H 047FH * FFFFH 0000H 007FH 0080H 00BFH 00C0H 047FH * SFR Area Special Funct[...]

  • Page 18

    18/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 ABSOLUTE MAXIMUM RATINGS Parameter Supply Voltage Input Voltage Output Voltage Analog Input Voltage Power Dissipation Storage Temperature Symbol V DD Condition GND=AGND=0V — Rating –0.3 to 7.0 Unit V I V O V AI P D T STG 64-pin shrink DIP 64-pin QFP –0.3 to V DD +0.3 –0.3 to V DD +0.3 –0[...]

  • Page 19

    19/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 ELECTRICAL CHARACTERISTICS DC Characteristics Note: 1 Applied to P0 2 Applied to P1, P2, P3 and P4 3 Applied to P5 4 Applied to ALE, PSEN , RD , WR and RESOUT 5 Applied to RES and NMI 6 Applied to READY and EA 7 Applied to FLT 8 Applied to OSC 0 *V DD or GND for ports serving as the input pin. No [...]

  • Page 20

    20/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 AC Characteristics • External program memory control • External data memory control Parameter Symbol Condition Min. Max. Unit Clock (OSC) Pulse ALE Pulse Width RD Pulse Width WR Pulse Width RD Pulse Delay Time WR Pulse Delay Time Low Address Setup Time Low Address Hold Time High Address Setup [...]

  • Page 21

    21/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 t ∆ W CLK t PAD t PW t AAS t AAH t AAD t APH ALE AD0-7 A8-15 t ∆ W PSEN t IS t IH PC0-7 INST0-7 PC8-15 t AW t RAD t RW t AAS t AAH t AAD t APH AD0-7 A8-15 RD t MS t MH RAP0-7 DIN 0-7 RAP8-15 t WAD t WW t AAS t AAH t AAD t AWH AD0-7 A8-15 WR t DH RAP0-7 DOUT0-7 RAP8-15 t DD[...]

  • Page 22

    22/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 • Serial port control Master mode Slave mode Parameter Symbol Condition Min. Max. Unit Clock (OSC) Pulse Width Serial Clock Pulse Width Input Data Setup Time Input Data Hold Time t f W t SCKW t STMXS t STMXH t SRMXS t SRMXH —5 0 8t f W 8t f W +40 6t f W –20 2t f W +10 50 — — — — — [...]

  • Page 23

    23/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 t ∆ W OSC t ∆ W t SCKW t SCKW t STMXS t STMXH t SRMXH t SRMXS t SCKW t SCKW t STSXH t STSXS t SRSXH t SRSXS SCK SDOUT (TXD) SDIN (RXD) SCK SDOUT (TXD) SDIN (RXD) Valid Valid Valid Valid[...]

  • Page 24

    24/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 A/D Converter Characteristics • Operating range • A/D Converter accuracy Normal operation mode Parameter Symbol Condition Min. Unit Resolution Crosstalk n E A E R E C See the recommended circuit. V R =V DD V AG =GND=0V Analog input source impedance £ 5k W One channel conversion time t C =64 m[...]

  • Page 25

    25/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 • Recommended circuit Reference Voltage V REF AI0-7 V DD GND AGND +5V 0V + 47 m F 0.1 m F + 47 m F 0.1 m F 0.1 m F R I + – Analog Input ~ R I (Analog input source impedance) £ 5k W • A/D Converter conversion characteristics 1 3FF [HEX] 000 E Z MIN E Z MAX VREF [V] E F MAX E F MIN Ideal C[...]

  • Page 26

    26/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 Absolute error (E A ) The absolute error indicates a difference between actual conversion and ideal conversion, excluding a quantizing error. The absolute error of the A/D converter gets larger as it approaches the zero point or full scale. (Refer to Conversion Characteristics Diagram 1.) Relative[...]

  • Page 27

    27/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 (Unit : mm) PACKAGE DIMENSIONS Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, [...]

  • Page 28

    28/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 (Unit : mm) Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s res[...]

  • Page 29

    29/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 (Unit : mm) Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s res[...]

  • Page 30

    30/30 ¡ Semiconductor MSM66201/66P201/66207/66P207 (Unit : mm) Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s res[...]

  • Page 31

    Thi s datashee t ha s been download from: www. dat asheetcatalog.c om Datas heet s fo r electr oni cs com ponents.[...]