Oki MSM66201 Specification Sheet

Manual is about: OLMS-66K Series 16-Bit Microcontroller

Summary of MSM66201

  • 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,...

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

  • 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 eso ut nmi agnd timer 0–3 serial port transi- tion d...

  • 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 p...

  • 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/tr...

  • 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 os...

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

  • 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 b...

  • 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 : sy...

  • 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 0004i 0005i 0006 0007 0010i 0011 0012i 0013 0018 0019 001a 001b 001ci system stack printer local register base program status word accumulator standby control register wa...

  • 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 0046i 0048 0049 004ai 004c 004d timer 2 register tcon2 tcon3 trnsit sttm 16 00h timer 0 control register tcon1 tcon0 tmr3 tm3 tmr2 sttm...

  • 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 0062i 0063 a/d conversion result register 1 adcr1 0064i 0065 adc...

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

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

  • 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 d...

  • 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 s...

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

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

  • 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 d...

  • 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 t...

  • Page 21

    21/30 ¡ semiconductor msm66201/66p201/66207/66p207 efghijpqrstu t ∆w clk t pad t pw t aas t aah t aad t aph ale ad0-7 a8-15 t ∆w psen pqrstu t is t ih pc0-7 inst0-7 pc8-15 t aw $%&'()/01234 t rad t rw t aas t aah t aad t aph ad0-7 a8-15 rd /01:;? T ms t mh rap0-7 din 0-7 rap8-15 t wad t ww t aas t a...

  • 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 fw t sckw t stmxs t stmxh t srmxs t srmxh — 50 8t fw 8t fw +40 6t fw...

  • Page 23

    23/30 ¡ semiconductor msm66201/66p201/66207/66p207 qrstuvnopqvefcdeijkfghik'()*2345"#$%&'-./012*5$%"#$()*%&'(* 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 ...

  • Page 25

    25/30 ¡ semiconductor msm66201/66p201/66207/66p207 • recommended circuit reference voltage v ref ai0-7 v dd gnd agnd +5v 0v + 47 mf 0.1 mf + 47 mf 0.1 mf 0.1 mf r i + – analog input ~ ri (analog input source impedance) £ 5kw • a/d converter conversion characteristics 1 3ff [hex] 000 e z min e z max ...

  • 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 t...

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

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

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

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

  • Page 31

    This datasheet has been download from: www.Datasheetcatalog.Com datasheets for electronics components..