Part Number Hot Search : 
U1ZB15 0A60T L518A BCM5703 D156M VRE306C RLA320A LN221RP
Product Description
Full Text Search
 

To Download UPD784214GF-XXX-3BA Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1996,2000 data sheet mos integrated circuit m pd784214,784215,784216,784214y,784215y,784216y 16/8-bit single-chip microcontrollers document no. u11725ej2v0ds00 (2nd edition) date published february 2000 n cp(k) printed in japan description the m pd784214, 784215, and 784216 are products of the m pd784216 subseries in the 78k/iv series. besides a high-speed and high-performance cpu, these controllers have rom, ram, i/o ports, 8-bit resolution a/d and d/a converters, timer, serial interface, real-time output ports, and interrupt functions and various other peripheral hardware. the m pd784214y, 784215y, and 784216y are based on the m pd784216 subseries with the addition of a multimaster-supporting i 2 c bus interface. the m pd78f4216 and 78f4216y, products with a flash memory instead of a masked rom used as internal rom, as well as a variety of development tools are also available. detailed function descriptions are provided in the following users manuals. be sure to read them before designing. m pd784216, 784216y subseries users manual hardware: u12015e 78k/iv series users manual instructions: u10905e features ? 78k/iv series ? inherits peripheral functions of m pd78078y subseries ? minimum instruction execution time 160 ns (@ f xx = 12.5 mhz operation with main system clock) 61 m s (@ f xt = 32.768 khz operation with subsystem clock) ? i/o port: 86 pins ? timer/counter: ? 16-bit timer/event counter 1 unit ? 8-bit timer/event counter 6 units ? serial interface: 3 channels uart/ioe (3-wire serial i/o): 2 channels csi (3-wire serial i/o, multi-master i 2 c bus note supported): 1 channel ? standby function halt/stop/idle mode in power-saving mode: halt/idle mode (with subsystem clock) ? clock division function ? watch timer: 1 channel ? watchdog timer: 1 channel ? clock output function selectable from f xx , f xx /2, f xx /2 2 , f xx /2 3 , f xx /2 4 , f xx /2 5 , f xx /2 6 , f xx /2 7 , f xt ? buzzer output function selectable from f xx /2 10 , f xx /2 11 , f xx /2 12 , f xx /2 13 ? a/d converter: 8-bit resolution 8 channels ? d/a converter: 8-bit resolution 2 channels ? supply voltage: v dd = 2.2 to 5.5 v note m pd784216y subseries only. unless otherwise specified, the m pd784216 is treated as the representative model throughout this document. the mark shows major revised points. the information in this document is subject to change without notice. before using this document, please confirm that this is the latest version. not all devices/types available in every country. please check with local nec representative for availability and additional information.
m pd784214,784215,784216,784214y,784215y,784216y 2 data sheet u11725ej2v0ds00 applications cellular phones, phs, cordless telephones, cd-rom, av equipment ordering information part number package internal rom (bytes) internal ram (bytes) m pd784214gc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 96 k 3584 m pd784214gf- -3ba 100-pin plastic qfp (14 20 mm) 96 k 3584 m pd784215gc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 128 k 5120 m pd784215gf- -3ba 100-pin plastic qfp (14 20 mm) 128 k 5120 m pd784216gc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 128 k 8192 m pd784216gf- -3ba 100-pin plastic qfp (14 20 mm) 128 k 8192 m pd784214ygc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 96 k 3584 m pd784214ygf- -3ba 100-pin plastic qfp (14 20 mm) 96 k 3584 m pd784215ygc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 128 k 5120 m pd784215ygf- -3ba 100-pin plastic qfp (14 20 mm) 128 k 5120 m pd784216ygc- -8eu 100-pin plastic lqfp (fine pitch) (14 14 mm) 128 k 8192 m pd784216ygf- -3ba 100-pin plastic qfp (14 20 mm) 128 k 8192 remark indicates rom code suffix.
m pd784214,784215,784216,784214y,784215y,784216y 3 data sheet u11725ej2v0ds00 78k/iv series lineup pd784026 pd784956a pd784908 pd784915 pd784928 pd784928y pd784046 pd784054 pd784216 pd784216y pd784038 pd784038y pd784225y pd784225 pd784218y pd784218 enhanced a/d converter, 16-bit timer, and power management enhanced internal memory capacity pin-compatible with the pd784026 i 2 c bus supported multi-master i 2 c bus supported 80-pin, rom correction added multi-master i 2 c bus supported enhanced internal memory capacity, rom correction added 100-pin, enhanced i/o and internal memory capacity on-chip 10-bit a/d converter for d/a inverter control on-chip iebus tm controller software servo control on-chip analog circuit for vcrs enhanced timer multi-master i 2 c bus supported enhanced functions of the pd784915 standard models assp models multi-master i 2 c bus supported : under mass production : under development m m m m m m m m m m m m m m m m m m pd784938 enhanced functions of the pd784908, enhanced internal memory capacity, rom correction added. m m pd784967 on-chip ftp controller/driver m
m pd784214,784215,784216,784214y,784215y,784216y 4 data sheet u11725ej2v0ds00 functions (1/2) part number m pd784214, m pd784215, m pd784216, item m pd784214y m pd784215y m pd784216y number of basic instructions 113 (mnemonics) general-purpose register 8 bits 16 registers 8 banks, or 16 bits 8 registers 8 banks (memory mapping) minimum instruction execution ? 160 ns/320 ns/640 ns/1280 ns/2560 ns (@ f xx = 12.5-mhz operation with main system clock) time ? 61 m s (@ f xt = 32.768-khz operation with subsystem clock) internal rom 96 kbytes 128 kbytes memory ram 3584 bytes 5120 bytes 8192 bytes memory space 1 mbytes with program and data spaces combined i/o port total 86 cmos input 8 cmos i/o 72 n-ch open-drain i/o 6 pins with pull-up 70 resistor led direct 22 drive output middle- 6 voltage pin real-time output port 4 bits 2, or 8 bits 1 timer/counter timer/event counter: timer counter 1 pulse output (16-bit) capture/compare register 2 ? ppg output ? square wave output ? one-shot pulse output timer/event counter 1: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output timer/event counter 2: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output timer/event counter 5: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output timer/event counter 6: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output timer/event counter 7: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output timer/event counter 8: timer counter 1 pulse output (8-bit) compare register 1 ? pwm output ? square wave output note the pins with ancillary functions are included in the i/o pins. pins with ancillary functions note
m pd784214,784215,784216,784214y,784215y,784216y 5 data sheet u11725ej2v0ds00 functions (2/2) part number m pd784214, m pd784215, m pd784216, item m pd784214y m pd784215y m pd784216y serial interface ? uart/ioe (3-wire serial i/o): 2 channels (on-chip baud rate generator) ? csi (3-wire serial i/o, multi-master i 2 c bus supported note ): 1 channel a/d converter 8-bit resolution 8 channels d/a converter 8-bit resolution 2 channels clock output selectable from f xx , f xx /2, f xx /2 2 , f xx /2 3 , f xx /2 4 , f xx /2 5 , f xx /2 6 , f xx /2 7 , f xt buzzer output selectable from f xx /2 10 , f xx /2 11 , f xx /2 12 , f xx /2 13 watch timer 1 channel watchdog timer 1 channel standby ? halt/stop/idle modes ? in low-power consumption mode (with subsystem clock): halt/idle mode interrupt hardware source 29 (internal: 20, external: 9) software source brk instruction, brkcs instruction, operand error non-maskable internal: 1, external: 1 maskable internal: 19, external: 8 ? 4 programmable priority levels ? 3 service modes: vectored interrupt/macro service/context switching supply voltage v dd = 2.2 to 5.5 v package 100-pin plastic lqfp (fine pitch) (14 14 mm) 100-pin plastic qfp (14 20 mm) note m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 6 data sheet u11725ej2v0ds00 contents 1. differences among models in m pd784216, 784216y subseries ............................... 8 2. major differences from m pd78078, 78078y subseries .............................................. 9 3. pin configuration (top view) ................................................................................................ 10 4. block diagram .......................................................................................................................... 13 5. pin function ............................................................................................................................... 14 5.1 port pins ............................................................................................................................... .14 5.2 non-port pins ....................................................................................................................... 16 5.3 pin i/o circuits and recommended connections of unused pins .............................. 18 6. cpu architecture .................................................................................................................... 22 6.1 memory space ...................................................................................................................... 22 6.2 cpu registers ...................................................................................................................... 26 6.2.1 general-purpose registers .......................................................................................................... 26 6.2.2 control registers .......................................................................................................................... 27 6.2.3 special function registers (sfrs) ............................................................................................... 28 7. peripheral hardware functions ..................................................................................... 33 7.1 ports ....................................................................................................................... ................ 33 7.2 clock generation circuit ..................................................................................................... 34 7.3 real-time output port ......................................................................................................... 36 7.4 timer/event counter ............................................................................................................ 37 7.5 a/d converter ....................................................................................................................... 39 7.6 d/a converter ....................................................................................................................... 40 7.7 serial interface ..................................................................................................................... 41 7.7.1 asynchronous serial interface/3-wire serial i/o (uart/ioe) .................................................... 42 7.7.2 clocked serial interface (csi) ..................................................................................................... 44 7.8 clock output function ........................................................................................................ 45 7.9 buzzer output function ...................................................................................................... 46 7.10 edge detection function .................................................................................................... 46 7.11 watch timer .......................................................................................................................... 46 7.12 watchdog timer .................................................................................................................... 47 8. interrupt function ................................................................................................................. 48 8.1 interrupt sources ................................................................................................................. 48 8.2 vectored interrupt ................................................................................................................ 50 8.3 context switching ................................................................................................................ 51 8.4 macro service ....................................................................................................................... 51 8.5 application example of macro service ............................................................................. 52
m pd784214,784215,784216,784214y,784215y,784216y 7 data sheet u11725ej2v0ds00 9. local bus interface .............................................................................................................. 53 9.1 memory expansion .............................................................................................................. 54 9.2 programmable wait .............................................................................................................. 54 10. standby function .................................................................................................................... 55 11. reset function ......................................................................................................................... 57 12. instruction set ........................................................................................................................ 58 13. electrical specifications .................................................................................................. 63 14. package drawings ................................................................................................................... 82 15. recommended soldering conditions ............................................................................. 84 appendix a development tools .............................................................................................. 85 appendix b. related documents ............................................................................................. 88
m pd784214,784215,784216,784214y,784215y,784216y 8 data sheet u11725ej2v0ds00 1. differences among models in m pd784216, 784216y subseries the only difference among the m pd784214, 784215, and 784216 lies in the internal memory capacity. the m pd784214y, 784215y, and 784216y are based on the m pd78424, 784215, and 784216 with an i 2 c bus control function added. the m pd78f4216 and 78f4216y are provided with a 128-kbyte flash memory instead of the mask rom of the above models. these differences are summarized in table 1-1. table 1-1. differences among models in m pd784216 and 784216y subseries part number m pd784214, m pd784215, m pd784216, m pd78f4216, item m pd784214y m pd784215y m pd784216y m pd78f4216y internal rom 96 kbytes 128 kbytes 128 kbytes (mask rom) (mask rom) (flash memory) internal ram 3584 bytes 5120 bytes 8192 bytes internal memory none provided note size switching register (ims) supply voltage v dd = 2.2 to 5.5 v v dd = 2.7 to 5.5 v electrical refer to the data sheet for each device. specifications recommended soldering conditions test pin provided none v pp pin none provided note internal flash memory capacity and internal ram capacity can be changed using the internal memory size switching register (ims). caution there are differences in noise immunity and noise radiation between the flash memory and mask rom versions. when pre-producing an application set with the flash memory version and then mass-producing it with the mask rom version, be sure to conduct sufficient evaluations on the commercial samples (not engineering samples) of the mask rom version.
m pd784214,784215,784216,784214y,784215y,784216y 9 data sheet u11725ej2v0ds00 2. major differences from m pd78078, 78078y subseries series name m pd784216, 784216y subseries m pd78078, 78078y subseries item cpu 16-bit cpu 8-bit cpu minimum instruction with main 160 ns (@ 12.5-mhz operation) 400 ns (@ 5.0-mhz operation) execution time system clock with subsystem 61 m s (@ 32.768-khz operation) 122 m s (@ 32.768-khz operation) clock memory space 1 mbytes 64 kbytes i/o port total 86 88 cmos input 8 2 cmos i/o 72 78 n-ch open-drain i/o 6 8 pins with ancillary pins with pull-up 70 86 functions note 1 resistor led direct drive 22 16 output middle-voltage pin 6 8 timer/counter ? 16-bit timer/event counter 1 unit ? 16-bit timer/event counter 1 unit ? 8-bit timer/event counter 6 units ? 8-bit timer/event counter 4 units serial interface ? uart/ioe (3-wire serial i/o) ? uart/ioe (3-wire serial i/o) 2 channels 1 channel ? csi (3-wire serial i/o, multi-master ? csi (3-wire serial i/o, 2-wire serial i 2 c bus supported note 2 ) 1 channel i/o, i 2 c bus note 3 ) 1 channel ? csi (3-wire serial i/o, 3-wire serial i/o with automatic transmit/receive function) 1 channel interrupt nmi pin provided none macro service provided none context switching provided none programmable priority 4 levels none standby function halt/stop/idle modes halt/stop modes in low-power consumption mode: halt/idle modes package ? 100-pin plastic lqfp (fine pitch) ? 100-pin plastic lqfp (fine pitch) (14 14 mm) (14 14 mm) ? 100-pin plastic qfp (14 20 mm) ? 100-pin plastic qfp (14 20 mm) ? 100-pin ceramic wqfn (14 20 mm) ( m pd78p078y only) notes 1. the pins with ancillary functions are included in the i/o pins. 2. m pd784216y subseries only 3. m pd78078y subseries only
m pd784214,784215,784216,784214y,784215y,784216y 10 data sheet u11725ej2v0ds00 3. pin configuration (top view) ? 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784214gc- -8eu, 784214ygc- -8eu, m pd784215gc- -8eu, 784215ygc- -8eu, m pd784216gc- -8eu, 784216ygc- -8eu notes 1. connect the test pin to v ss directly or via a pull-down resistor. for the pull-down connection, use a resistor with a resistance ranging from 470 w to 10 k w . 2. connect the av dd pin to v dd . 3. connect the av ss pin to v ss . 4. the scl0 and sda0 pins are available in m pd784216y subseries products only. 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 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 100 76 p120/rtp0 p121/rtp1 p122/rtp2 p123/rtp3 p124/rtp4 p125/rtp5 p126/rtp6 p127/rtp7 v dd x2 x1 v ss xt2 xt1 reset p00/intp0 p01/intp1 p02/intp2/nmi p03/intp3 p04/intp4 p05/intp5 p06/intp6 av dd note 2 av ref0 p10/ani0 p62/a18 p61/a17 p60/a16 v ss p57/a15 p56/a14 p55/a13 p54/a12 p53/a11 p52/a10 p51/a9 p50/a8 p47/ad7 p46/ad6 p45/ad5 p44/ad4 p43/ad3 p42/ad2 p41/ad1 p40/ad0 p87/a7 p86/a6 p85/a5 p84/a4 p83/a3 p95 p94 p93 p92 p91 p90 test note 1 p37 p36/ti01 p35/ti00 p34/ti2 p33/ti1 p32/to2 p31/to1 p30/to0 p103/ti8/to8 p102/ti7/to7 p101/ti6/to6 p100/ti5/to5 v dd p67/astb p66/wait p65/wr p64/rd p63/a19 p11/ani1 p12/ani2 p13/ani3 p14/ani4 p15/ani5 p16/ani6 p17/ani7 av ss note 3 p130/ano0 p131/ano1 av ref1 p70/rxd2/si2 p71/txd2/so2 p72/asck2/sck2 p20/rxd1/si1 p21/txd1/so1 p22/asck1/sck1 p23/pcl p24/buz p25/si0/sda0 note 4 p26/so0 p27/sck0/scl0 note 4 p80/a0 p81/a1 p82/a2 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 26 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27
m pd784214,784215,784216,784214y,784215y,784216y 11 data sheet u11725ej2v0ds00 ? 100-pin plastic qfp (14 20 mm) m pd784214gf- -3ba, 784214ygf- -3ba, m pd784215gf- -3ba, 784215ygf- -3ba, m pd784216gf- -3ba, 784216ygf- -3ba notes 1. connect the test pin to v ss directly or via a pull-down resistor. for the pull-down connection, use a resistor with a resistance ranging from 470 w to 10 k w . 2. connect the av dd pin to v dd . 3. connect the av ss pin to v ss . 4. the scl0 and sda0 pins are available in m pd784216y subseries products only. 100 v ss p57/a15 p56/a14 p55/a13 p54/a12 p53/a11 p52/a10 p51/a9 p50/a8 p47/ad7 p46/ad6 p45/ad5 p44/ad4 p43/ad3 p42/ad2 p41/ad1 p40/ad0 p87/a7 p86/a6 p85/a5 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 p84/a4 p83/a3 p82/a2 p81/a1 p80/a0 p27/sck0/scl0 note 4 p26/so0 p25/si0/sda0 note 4 p24/buz p23/pcl p22/asck1/sck1 p21/txd1/so1 p20/rxd1/si1 p72/asck2/sck2 p71/txd2/so2 p70/rxd2/si2 av ref1 p131/ano1 p130/ano0 av ss note 3 p17/ani7 p16/ani6 p15/ani5 p14/ani4 p13/ani3 p12/ani2 p11/ani1 p10/ani0 av ref0 av dd note 2 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 p60/a16 p61/a17 p62/a18 p63/a19 p64/rd p65/wr p66/wait p67/astb v dd p100/ti5/to5 p101/ti6/to6 p102/ti7/to7 p103/ti8/to8 p30/to0 p31/to1 p32/to2 p33/ti1 p34/ti2 p35/ti00 p36/ti01 p37 test note 1 p90 p91 p92 p93 p94 p95 p120/rtp0 p121/rtp1 p122/rtp2 p123/rtp3 p124/rtp4 p125/rtp5 p126/rtp6 p127/rtp7 v dd x2 x1 v ss xt2 xt1 reset p00/intp0 p01/intp1 p02/intp2/nmi p03/intp3 p04/intp4 p05/intp5 p06/intp6 31 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
m pd784214,784215,784216,784214y,784215y,784216y 12 data sheet u11725ej2v0ds00 a0 to a19: address bus p130, p131: port13 ad0 to ad7: address/data bus pcl: programmable clock ani0 to ani7: analog input rd: read strobe ano0, ano1: analog output reset: reset asck1, asck2: asynchronous serial clock rtp0 to rtp7: real-time output port astb: address strobe rxd1, rxd2: receive data av dd : analog power supply sck0 to sck2: serial clock av ref0 , av ref1 : analog reference voltage scl0 note : serial clock av ss : analog ground sda0 note : serial data buz: buzzer clock si0 to si2: serial input intp0 to intp6: interrupt from peripherals so0 to so2: serial output nmi: non-maskable interrupt test: test p00 to p06: port0 ti00, ti01, p10 to p17: port1 ti1, ti2, ti5 to ti8: timer input p20 to p27: port2 to0 to to2, to5 to to8: timer output p30 to p37: port3 txd1, txd2: transmit data p40 to p47: port4 v dd : power supply p50 to p57: port5 v ss : ground p60 to p67: port6 wait: wait p70 to p72: port7 wr: write strobe p80 to p87: port8 x1, x2: crystal (main system clock) p90 to p95: port9 xt1, xt2: crystal (subsystem clock) p100 to p103: port10 p120 to p127: port12 note the scl0 and sda0 pins are available in m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 13 data sheet u11725ej2v0ds00 4. block diagram note the scl0 and sda0 pins are available in m pd784216y subseries only. this function supports the i 2 c bus interface. remark the internal rom and ram capacities differ depending on the product. intp2/nmi intp0, intp1, intp3 to intp6 programmable interrupt controller real-time output port timer/event counter7 (8 bits) timer/event counter6 (8 bits) timer/event counter5 (8 bits) timer/event counter2 (8 bits) timer/event counter1 (8 bits) timer/event counter (16 bits) watch timer timer/event counter8 (8 bits) watchdog timer ti00 ti01 to0 ti1 to1 ti2 to2 ti5/to5 ti6/to6 ti7/to7 ti8/to8 rtp0 to rtp7 clock output control a/d converter av dd av ss pcl buz av ref0 ani0 to ani7 d/a converter ano0 av ss av ref1 ano1 78k/iv cpu core rom ram baud-rate generator rxd1/si1 txd1/so1 asck1/sck1 rxd2/si2 txd2/so2 asck2/sck2 si0/sda0 note so0 sck0/scl0 note bus i/f uart/ioe1 rd astb wr wait a0 to a7 ad0 to ad7 a8 to a15 a16 to a19 port1 p10 to p17 port0 p00 to p06 port2 p20 to p27 port3 p30 to p37 port4 p40 to p47 port5 p50 to p57 port6 p60 to p67 port7 p70 to p72 port8 p80 to p87 port9 p90 to p95 port10 p100 to p103 port12 p120 to p127 port13 p130,p131 buzzer output system control reset xt2 x1 xt1 x2 v ss v dd test clocked serial interface baud-rate generator uart/ioe2 nmi/intp2 p03
m pd784214,784215,784216,784214y,784215y,784216y 14 data sheet u11725ej2v0ds00 5. pin function 5.1 port pins (1/2) pin name i/o alternate function function p00 i/o intp0 p01 intp1 p02 intp2/nmi p03 intp3 p04 intp4 p05 intp5 p06 intp6 p10 to p17 input ani0 to ani7 p20 i/o rxd1/si1 p21 txd1/so1 p22 asck1/sck1 p23 pcl p24 buz p25 si0/sda0 note p26 so0 p27 sck0/scl0 note p30 i/o to0 p31 to1 p32 to2 p33 ti1 p34 ti2 p35 ti00 p36 ti01 p37 p40 to p47 i/o ad0 to ad7 port 4 (p4): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? all pins set in input mode can be connected to on-chip pull-up resistors by means of software. ? can drive leds. p50 to p57 i/o a8 to a15 port 5 (p5): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? all pins set in input mode can be connected to on-chip pull-up resistors by means of software. ? can drive leds. note the scl0 and sda0 pins are available in m pd784216y subseries only. port 1 (p1): ? 8-bit input port port 0 (p0): ? 7-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software. port 2 (p2): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software. port 3 (p3): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software.
m pd784214,784215,784216,784214y,784215y,784216y 15 data sheet u11725ej2v0ds00 5.1 port pins (2/2) pin name i/o alternate function function p60 i/o a16 p61 a17 p62 a18 p63 a19 p64 rd p65 wr p66 wait p67 astb p70 i/o rxd2/si2 p71 txd2/so2 p72 asck2/sck2 p80 to p87 i/o a0 to a7 port 8 (p8): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software. ? interrupt control flag (krif) is set to 1 when falling edge is detected at a pin of this port. p90 to p95 i/o port 9 (p9): ? n-ch open-drain middle-voltage i/o port ? 6-bit i/o port ? input/output can be specified in 1-bit units. ? can directly drive leds. p100 i/o ti5/to5 p101 ti6/to6 p102 ti7/to7 p103 ti8/to8 p120 to p127 i/o rtp0 to rtp7 port 12 (p12): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software. p130, p131 i/o ano0, ano1 port 13 (p13): ? 2-bit i/o port ? input/output can be specified in 1-bit units. port 6 (p6): ? 8-bit i/o port ? input/output can be specified in 1-bit units. ? all pins set in input mode can be connected to on-chip pull-up resistors by means of software. port 7 (p7): ? 3-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software. port 10 (p10): ? 4-bit i/o port ? input/output can be specified in 1-bit units. ? whether specifying input mode or output mode, an on-chip pull-up resistor can be specified in 1-bit units by means of software.
m pd784214,784215,784216,784214y,784215y,784216y 16 data sheet u11725ej2v0ds00 5.2 non-port pins (1/2) pin name i/o alternate function function ti00 input p35 external count clock input to 16-bit timer counter ti01 p36 capture trigger signal input to capture/compare register 00 ti1 p33 external count clock input to 8-bit timer counter 1 ti2 p34 external count clock input to 8-bit timer counter 2 ti5 p100/to5 external count clock input to 8-bit timer counter 5 ti6 p101/to6 external count clock input to 8-bit timer counter 6 ti7 p102/to7 external count clock input to 8-bit timer counter 7 ti8 p103/to8 external count clock input to 8-bit timer counter 8 to0 output p30 16-bit timer output (shared by 14-bit pwm output) to1 p31 8-bit timer output (shared by 8-bit pwm output) to2 p32 to5 p100/ti5 to6 p101/ti6 to7 p102/ti7 to8 p103/ti8 rxd1 input p20/si1 serial data input (uart1) rxd2 p70/si2 serial data input (uart2) txd1 output p21/so1 serial data output (uart1) txd2 p71/so2 serial data output (uart2) asck1 input p22/sck1 baud rate clock input (uart1) asck2 p72/sck2 baud rate clock input (uart2) si0 input p25/sda0 serial data input (3-wire serial clock i/o0) si1 p20/rxd1 serial data input (3-wire serial clock i/o1) si2 p70/rxd2 serial data input (3-wire serial clock i/o2) so0 output p26 serial data output (3-wire serial i/o0) so1 p21/txd1 serial data output (3-wire serial i/o1) so2 p71/txd2 serial data output (3-wire serial i/o2) sda0 note i/o p25/si0 serial data input/output (i 2 c bus) sck0 p27 serial clock input/output (3-wire serial i/o0) sck1 p22/asck1 serial clock input/output (3-wire serial i/o1) sck2 p72/asck2 serial clock input/output (3-wire serial i/o2) scl0 note p27/sck0 serial data input/output (i 2 c bus) nmi input p02/intp2 non-maskable interrupt request input intp0 p00 external interrupt request input intp1 p01 intp2 p02/nmi intp3 p03 intp4 p04 intp5 p05 intp6 p06 note m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 17 data sheet u11725ej2v0ds00 5.2 non-port pins (2/2) pin name i/o alternate function function pcl output p23 clock output (for trimming main system clock and subsystem clock) buz output p24 buzzer output rtp0 to rtp7 output p120 to p127 real-time output port that outputs data in synchronization with trigger ad0 to ad7 i/o p40 to p47 lower address/data bus for expanding memory externally a0 to a7 output p80 to p87 lower address bus for expanding memory externally a8 to a15 p50 to p57 middle address bus for expanding memory externally a16 to a19 p60 to p63 higher address bus for expanding memory externally rd output p64 strobe signal output for read operation of external memory wr p65 strobe signal output for write operation of external memory wait input p66 to insert wait state(s) when external memory is accessed astb output p67 strobe output to externally latch address information output to ports 4 through 6 and port 8 to access external memory reset input system reset input x1 input crystal connection for main system clock oscillation x2 xt1 input crystal connection for subsystem clock oscillation xt2 ani0 to ani7 input p10 to p17 analog voltage input for a/d converter ano0, ano1 output p130, p131 analog voltage output for d/a converter av ref0 to apply reference voltage for a/d converter av ref1 to apply reference voltage for d/a converter av dd positive power supply for a/d converter. connect to v dd . av ss gnd for a/d converter and d/a converter. connect to v ss . v dd positive power supply v ss gnd test connect the test pin to v ss directly or via a pull-down resistor (this pin is for ic test). for the pull-down connection, use a resistor with a resistance ranging from 470 w to 10 k w .
m pd784214,784215,784216,784214y,784215y,784216y 18 data sheet u11725ej2v0ds00 5.3 pin i/o circuits and recommended connections of unused pins the input/output circuit type of each pin and recommended connections of unused pins are shown in table 5-1. for each type of input/output circuit, refer to figure 5-1. table 5-1. type of pin input/output circuits and recommended connections of unused pins (1/2) pin name i/o circuit type i/o recommended connections of unused pins p00/intp0 8-n i/o input: independently connect to v ss via a resistor p01/intp1 output: leave open p02/intp2/nmi p03/intp3 to p06/intp6 p10/ani0 to p17/ani7 9 input connect to v ss or v dd p20/rxd1/si1 10-k i/o input: independently connect to v ss via a resistor p21/txd1/so1 10-l output: leave open p22/asck1/sck1 10-k p23/pcl 10-l p24/buz p25/sda0 note /si0 10-k p26/so0 10-l p27/scl0 note /sck0 10-k p30/to0 to p32/to2 12-e p33/ti1, p34/ti2 8-n p35/ti00, p36/ti01 10-m p37 12-e p40/ad0 to p47/ad7 5-a p50/a8 to p57/a15 p60/a16 to p63/a19 p64/rd p65/wr p66/wait p67/astb p70/rxd2/si2 8-n p71/txd2/so2 10-m p72/asck2/sck2 8-n p80/a0 to p87/a7 12-e p90 to p95 13-d p100/ti5/to5 8-n p101/ti6/to6 p102/ti7/to7 p103/ti8/to8 p120/rtp0 to p127/rtp7 12-e p130/ano0, p131/ano1 12-f note the scl0 and sda0 pins are available in m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 19 data sheet u11725ej2v0ds00 table 5-1. types of pin input/output circuits and recommended connections of unused pins (2/2) pin name i/o circuit type i/o recommended connections of unused pins reset 2-g input xt1 16 connect to v ss xt2 leave open av ref0 connect to v ss av ref1 connect to v dd av dd av ss connect to v ss test connect the test pin to v ss directly or via a pull-down resistor. for the pull-down connection, use a resistor with a resistance ranging from 470 w to 10 k w . remark because the circuit type numbers are standardized among the 78k series products, they are not sequential in some models (i.e., some circuits are not provided).
m pd784214,784215,784216,784214y,784215y,784216y 20 data sheet u11725ej2v0ds00 figure 5-1. types of pin i/o circuits (1/2) type 2-g in schmitt trigger input with hysteresis characteristics type 5-a pullup enable data output disable input enable v dd p-ch v dd p-ch in/out n-ch type 8-n pullup enable data output disable v dd p-ch v dd p-ch in/out n-ch type 9 pullup enable data open drain output disable v dd p-ch v dd p-ch in/out n-ch type 10-k pullup enable data open drain output disable output disable v dd p-ch v dd v ss p-ch in/out n-ch type 10-l pullup enable data v dd p-ch v dd v ss p-ch in/out n-ch type 10-m type 12-e pullup enable data output disable input enable analog output voltage v dd p-ch v dd p-ch in/out n-ch p-ch n-ch in comparator + v ref (threshold voltage) p-ch n-ch input enable
m pd784214,784215,784216,784214y,784215y,784216y 21 data sheet u11725ej2v0ds00 figure 5-1. types of pin i/o circuits (2/2) type 12-f type 13-d type 16 data output disable in/out n-ch middle-voltage output buffer p-ch v dd rd data output disable p-ch in/out v dd v ss v ss n-ch input enable p-ch n-ch analog output voltage p-ch feedback cut-off xt1 xt2
m pd784214,784215,784216,784214y,784215y,784216y 22 data sheet u11725ej2v0ds00 6. cpu architecture 6.1 memory space a memory space of 1 mbyte can be accessed. mapping of the internal data area (special function registers and internal ram) can be specified by the location instruction. the location instruction must be always executed after reset cancellation, and must not be used more than once. (1) when location 0h instruction is executed ? internal memory the internal data area and internal rom area are mapped as follows: part number internal data area internal rom area m pd784214, 0f100h to 0ffffh 00000h to 0f0ffh m pd784214y 10000h to 17fffh m pd784215, 0eb00h to 0ffffh 00000h to 0eaffh m pd784215y 10000h to 1ffffh m pd784216, 0df00h to 0ffffh 00000h to 0deffh m pd784216y 10000h to 1ffffh caution the following areas that overlap the internal data area of the internal rom cannot be used when the location 0 instruction is executed. part number unusable area m pd784214, 0f100h to 0ffffh (3840 bytes) m pd784214y m pd784215, 0eb00h to 0ffffh (5376 bytes) m pd784215y m pd784216, 0df00h to 0ffffh (8448 bytes) m pd784216y ? external memory the external memory is accessed in external memory expansion mode. (2) when location 0fh instruction is executed ? internal memory the internal data area and internal rom area are mapped as follows: part number internal data area internal rom area m pd784214, ff100h to fffffh 00000h to 17fffh m pd784214y m pd784215, feb00h to fffffh 00000h to 1ffffh m pd784215y m pd784216, fdf00h to fffffh 00000h to 1ffffh m pd784216y ? external memory the external memory is accessed in external memory expansion mode.
m pd784214,784215,784216,784214y,784215y,784216y 23 data sheet u11725ej2v0ds00 figure 6-1. memory map of m pd784214, 784214y notes 1. accessed in external memory expansion mode. 2. this 3840-byte area can be used as an internal rom only when the location 0fh instruction is executed. 3. on execution of location 0h instruction: 94464 bytes, on execution of location 0fh instruction: 98304 bytes 4. base area and entry area for reset or interrupt. however, the internal ram area is not used as a reset entry area. internal rom (61696 bytes) (256 bytes) special function registers (sfr) internal ram (3584 bytes) external memory note 1 (928 kbytes) note 1 general-purpose registers (128 bytes) macro service control word area (54 bytes) data area (512 bytes) program/data area (3072 bytes) callf entry area (2 kbytes) program/data area note 3 callt table area (64 bytes) vector table area (64 bytes) internal ram (3584 bytes) external memory note 1 (980736 bytes) (256 bytes) internal rom (96 kbytes) on execution of location 0h instruction special function registers (sfr) note 1 on execution of location 0fh instruction h f f f f f h 0 0 0 0 1 h f f f f 0 h f d f f 0 h 0 d f f 0 h 0 0 f f 0 h f f e f 0 h 0 0 1 f 0 h f f 0 f 0 h 0 0 0 0 0 h f f e f 0 h 0 8 e f 0 h f 7 e f 0 h b 3 e f 0 h 0 0 d f 0 h f f c f 0 h 6 0 e f 0 h 0 0 1 f 0 h f f f 7 1 h 0 0 0 1 0 h f f f 0 0 h 0 0 8 0 0 h f f 7 0 0 h 0 8 0 0 0 h f 7 0 0 0 h 0 4 0 0 0 h f 3 0 0 0 h 0 0 0 0 0 h f f e f f h 0 8 e f f h f 7 e f f h b 3 e f f h 6 0 e f f h 0 0 d f f h f f c f f h 0 0 1 f f h 0 0 0 0 0 h f f f 7 1 h 0 0 0 8 1 h f f 0 f f h 0 0 1 f f h f f f f f h f d f f f h 0 d f f f h 0 0 f f f h f f e f f note 4 note 4 note 2 h f f f 7 1 h 0 0 0 8 1 h f f f 7 1 internal rom (32768 bytes) h f f 0 f 0 h 0 0 0 0 1
m pd784214,784215,784216,784214y,784215y,784216y 24 data sheet u11725ej2v0ds00 figure 6-2. memory map of m pd784215, 784215y notes 1. accessed in external memory expansion mode. 2. this 5376-byte area can be used as an internal rom only when the location 0fh instruction is executed. 3. on execution of location 0h instruction: 125696 bytes, on execution of location 0fh instruction: 131072 bytes 4. base area and entry area for reset or interrupt. however, the internal ram area is not used as a reset entry area. internal rom (60160 bytes) (256 bytes) special function registers (sfr) internal ram (5120 bytes) external memory note 1 (896 kbytes) note 1 general-purpose registers (128 bytes) macro service control word area (54 bytes) data area (512 bytes) program/data area (4608 bytes) callf entry area (2 kbytes) program/data area note 3 callt table area (64 bytes) vector table area (64 bytes) internal ram (5120 bytes) external memory note 1 (912128 bytes) (256 bytes) internal rom (128 kbytes) on execution of location 0h instruction special function registers (sfr) note 1 on execution of location 0fh instruction h f f f f f h 0 0 0 0 1 h f f f f 0 h f d f f 0 h 0 d f f 0 h 0 0 f f 0 h f f e f 0 h 0 0 b e 0 h f f a e 0 h 0 0 0 0 0 h f f e f 0 h 0 8 e f 0 h f 7 e f 0 h b 3 e f 0 h 0 0 d f 0 h f f c f 0 h 6 0 e f 0 h 0 0 b e 0 h 0 0 0 1 0 h f f f 0 0 h 0 0 8 0 0 h f f 7 0 0 h 0 8 0 0 0 h f 7 0 0 0 h 0 4 0 0 0 h f 3 0 0 0 h 0 0 0 0 0 h f f e f f h 0 8 e f f h f 7 e f f h b 3 e f f h 6 0 e f f h 0 0 d f f h f f c f f h 0 0 b e f h 0 0 0 0 0 h f f f f 1 h 0 0 0 0 2 h f f a e f h 0 0 b e f h f f f f f h f d f f f h 0 d f f f h 0 0 f f f h f f e f f note 4 note 4 h f f f f 1 internal rom (65536 bytes) h 0 0 0 0 2 h f f f f 1 h f f f f 1 note 2 h f f a e 0 h 0 0 0 0 1
m pd784214,784215,784216,784214y,784215y,784216y 25 data sheet u11725ej2v0ds00 figure 6-3. memory map of m pd784216, 784216y notes 1. accessed in external memory expansion mode. 2. this 8448-byte area can be used as an internal rom only when the location 0fh instruction is executed. 3. on execution of location 0h instruction: 122624 bytes, on execution of location 0fh instruction: 131072 bytes 4. base area and entry area for reset or interrupt. however, the internal ram area is not used as a reset entry area. internal rom (57088 bytes) (256 bytes) special function registers (sfr) internal ram (8192 bytes) external memory note 1 (896 kbytes) note 1 general-purpose registers (128 bytes) macro service control word area (54 bytes) data area (512 bytes) program/data area (7680 bytes) callf entry area (2 kbytes) program/data area note 3 callt table area (64 bytes) vector table area (64 bytes) internal ram (8192 bytes) external memory note 1 (909056 bytes) (256 bytes) internal rom (128 kbytes) on execution of location 0h instruction special function registers (sfr) note 1 on execution of location 0fh instruction h f f f f f h 0 0 0 0 1 h f f f f 0 h f d f f 0 h 0 d f f 0 h 0 0 f f 0 h f f e f 0 h 0 0 f d 0 h f f e d 0 h 0 0 0 0 0 h f f e f 0 h 0 8 e f 0 h f 7 e f 0 h b 3 e f 0 h 0 0 d f 0 h f f c f 0 h 6 0 e f 0 h 0 0 f d 0 h 0 0 0 1 0 h f f f 0 0 h 0 0 8 0 0 h f f 7 0 0 h 0 8 0 0 0 h f 7 0 0 0 h 0 4 0 0 0 h f 3 0 0 0 h 0 0 0 0 0 h f f e f f h 0 8 e f f h f 7 e f f h b 3 e f f h 6 0 e f f h 0 0 d f f h f f c f f h 0 0 f d f h 0 0 0 0 0 h f f f f 1 h 0 0 0 0 2 h f f e d f h 0 0 f d f h f f f f f h f d f f f h 0 d f f f h 0 0 f f f h f f e f f note 4 note 4 h 0 0 0 0 2 h f f f f 1 h f f f f 1 internal rom (65536 bytes) h f f f f 1 note 2 h f f e d 0 h 0 0 0 0 1
m pd784214,784215,784216,784214y,784215y,784216y 26 data sheet u11725ej2v0ds00 6.2 cpu registers 6.2.1 general-purpose registers sixteen 8-bit general-purpose registers are available. two 8-bit registers can be also used in pairs as a 16-bit register. of the 16-bit registers, four can be used in combination with an 8-bit register for address expansion as 24-bit address specification registers. eight banks of these register sets are available which can be selected by using software or the context switching function. the general-purpose registers except v, u, t, and w registers for address expansion are mapped to the internal ram. figure 6-4. general-purpose register format caution registers r4, r5, r6, r7, rp2, and rp3 can be used as x, a, c, b, ax, and bc registers, respectively, by setting the rss bit of the psw to 1. however, use this function only for recycling the program of the 78k/iii series. a (r1) b (r3) r5 r7 r9 r11 d (r13) h (r15) v u t w vvp (rg4) uup (rg5) tde (rg6) whl (rg7) x (r0) c (r2) r4 r6 r8 r10 e (r12) l (r14) ax (rp0) bc (rp1) rp2 rp3 vp (rp4) up (rp5) de (rp6) hl (rp7) parentheses ( ) indicate an absolute name. 8 banks
m pd784214,784215,784216,784214y,784215y,784216y 27 data sheet u11725ej2v0ds00 6.2.2 control registers (1) program counter (pc) the program counter is a 20-bit register whose contents are automatically updated when the program is executed. figure 6-5. program counter (pc) format (2) program status word (psw) this register holds the statuses of the cpu. its contents are automatically updated when the program is executed. figure 6-6. program status word (psw) format note this flag is provided to maintain compatibility with the 78k/iii series. be sure to clear this flag to 0, except when the software for the 78k/iii series is used. (3) stack pointer (sp) this is a 24-bit pointer that holds the first address of the stack. be sure to write 0 to the higher 4 bits of this pointer. figure 6-7. stack pointer (sp) format 19 0 pc 15 14 13 12 11 10 9 8 uf rbs2 rbs1 rbs0 pswh 76543210 s z rss note ac ie p/v 0 cy pswl psw 23 0 sp 20 0 0 0 0
m pd784214,784215,784216,784214y,784215y,784216y 28 data sheet u11725ej2v0ds00 6.2.3 special function registers (sfrs) the special function registers, such as the mode registers and control registers of the internal peripheral hardware, are registers to which special functions are allocated. these registers are mapped to a 256-byte space of addresses 0ff00h through 0ffffh note . note on execution of the location 0h instruction. fff00h through fffffh on execution of the location 0fh instruction. caution do not access an address in this area to which no sfr is allocated. if such an address is accessed by mistake, the m pd784216 may be in the deadlock status. this deadlock status can be cleared only by inputting the reset signal. table 6-1 lists the special function registers (sfrs). the meanings of the symbols in this table are as follows: ? symbol ............................... symbol indicating an sfr. this symbol is reserved for necs assembler (ra78k4). it can be used as sfr variable by the #pragma sfr command with the c compiler (cc78k4). ? r/w .................................... indicates whether the sfr is read-only, write-only, or read/write. r/w: read/write r: read-only w: write-only ? bit units for manipulation .. bit units in which the value of the sfr can be manipulated. sfrs that can be manipulated in 16-bit units can be described as the operand sfrp of an instruction. to specify the address of this sfr, describe an even address. sfrs that can be manipulated in 1-bit units can be described as the operand of a bit manipulation instruction. ? after reset .......................... indicates the status of the register when the reset signal has been input.
m pd784214,784215,784216,784214y,784215y,784216y 29 data sheet u11725ej2v0ds00 table 6-1. special function register (sfr) list (1/4) address note 1 special function register (sfr) name symbol r/w bit units for manipulation after reset 1 bit 8 bits 16 bits 0ff00h port 0 p0 r/w ?? 00h note 2 0ff01h port 1 p1 r ?? 0ff02h port 2 p2 r/w ?? 0ff03h port 3 p3 ?? 0ff04h port 4 p4 ?? 0ff05h port 5 p5 ?? 0ff06h port 6 p6 ?? 0ff07h port 7 p7 ?? 0ff08h port 8 p8 ?? 0ff09h port 9 p9 ?? 0ff0ah port 10 p10 ?? 0ff0ch port 12 p12 ?? 0ff0dh port 13 p13 ?? 0ff10h 16-bit timer counter tm0 r ? 0000h 0ff11h 0ff12h capture/compare register 00 cr00 r/w ? 0ff13h (16-bit timer/event counter) 0ff14h capture/compare register 01 cr01 ? 0ff15h (16-bit timer/event counter) 0ff16h capture/compare control register 0 crc0 ?? 00h 0ff18h 16-bit timer mode control register tmc0 ?? 0ff1ah 16-bit timer output control register toc0 ?? 0ff1ch prescaler mode register 0 prm0 ?? 0ff20h port mode 0 register pm0 ?? ffh 0ff22h port mode 2 register pm2 ?? 0ff23h port mode 3 register pm3 ?? 0ff24h port mode 4 register pm4 ?? 0ff25h port mode 5 register pm5 ?? 0ff26h port mode 6 register pm6 ?? 0ff27h port mode 7 register pm7 ?? 0ff28h port mode 8 register pm8 ?? 0ff29h port mode 9 register pm9 ?? 0ff2ah port mode 10 register pm10 ?? 0ff2ch port mode 12 register pm12 ?? 0ff2dh port mode 13 register pm13 ?? notes 1. when the location 0h instruction is executed. add f0000h to this value when the location 0fh instruction is executed. 2. because each port is initialized to input mode after reset, 00h is not actually read. the output latch is initialized to 0.
m pd784214,784215,784216,784214y,784215y,784216y 30 data sheet u11725ej2v0ds00 table 6-1. special function register (sfr) list (2/4) address note special function register (sfr) name symbol r/w bit units for manipulation after reset 1 bit 8 bits 16 bits 0ff30h pull-up resistor option register 0 pu0 r/w ?? 00h 0ff32h pull-up resistor option register 2 pu2 ?? 0ff33h pull-up resistor option register 3 pu3 ?? 0ff37h pull-up resistor option register 7 pu7 ?? 0ff38h pull-up resistor option register 8 pu8 ?? 0ff3ah pull-up resistor option register 10 pu10 ?? 0ff3ch pull-up resistor option register 12 pu12 ?? 0ff40h clock output control register cks ?? 0ff42h port function control register pf2 ?? 0ff4eh pull-up resistor option register puo ?? 0ff50h 8-bit timer counter 1 tm1 tm1w r ?? 0000h 0ff51h 8-bit timer counter 2 tm2 ? 0ff52h compare register 10 (8-bit timer/event counter 1) cr10 cr1w r/w ?? 0ff53h compare register 20 (8-bit timer/event counter 2) cr20 ? 0ff54h 8-bit timer mode control register 1 tmc1 tmc1w ??? 0ff55h 8-bit timer mode control register 2 tmc2 ?? 0ff56h prescaler mode register 1 prm1 prm1w ??? 0ff57h prescaler mode register 2 prm2 ?? 0ff60h 8-bit timer counter 5 tm5 tm5w r ?? 0ff61h 8-bit timer counter 6 tm6 ? 0ff62h 8-bit timer counter 7 tm7 tm7w ?? 0ff63h 8-bit timer counter 8 tm8 ? 0ff64h compare register 50 (8-bit timer/event counter 5) cr50 cr5w r/w ?? 0ff65h compare register 60 (8-bit timer/event counter 6) cr60 ? 0ff66h compare register 70 (8-bit timer/event counter 7) cr70 cr7w ?? 0ff67h compare register 80 (8-bit timer/event counter 8) cr80 ? 0ff68h 8-bit timer mode control register 5 tmc5 tmc5w ??? 0ff69h 8-bit timer mode control register 6 tmc6 ?? 0ff6ah 8-bit timer mode control register 7 tmc7 tmc7w ??? 0ff6bh 8-bit timer mode control register 8 tmc8 ?? 0ff6ch prescaler mode register 5 prm5 prm5w ??? 0ff6dh prescaler mode register 6 prm6 ?? 0ff6eh prescaler mode register 7 prm7 prm7w ??? 0ff6fh prescaler mode register 8 prm8 ?? 0ff70h asynchronous serial interface mode register 1 asim1 ?? 00h 0ff71h asynchronous serial interface mode register 2 asim2 ?? 0ff72h asynchronous serial interface status register 1 asis1 r ?? 0ff73h asynchronous serial interface status register 2 asis2 ?? note when the location 0h instruction is executed. add f0000h to this value when the location 0fh instruction is executed.
m pd784214,784215,784216,784214y,784215y,784216y 31 data sheet u11725ej2v0ds00 table 6-1. special function register (sfr) list (3/4) address note 1 special function register (sfr) name symbol r/w bit units for manipulation after reset 1 bit 8 bits 16 bits 0ff74h transmit shift register 1 txs1 w ? ffh receive buffer register 1 rxb1 r ? 0ff75h transmit shift register 2 txs2 w ? receive buffer register 2 rxb2 r ? 0ff76h baud rate generator control register 1 brgc1 r/w ?? 00h 0ff77h baud rate generator control register 2 brgc2 ?? 0ff7ah oscillation mode select register cc ?? 0ff80h a/d converter mode register adm ?? 0ff81h a/d converter input select register adis ?? 0ff83h a/d conversion result register adcr r ? undefined 0ff84h d/a conversion value setting register 0 dacs0 r/w ?? 00h 0ff85h d/a conversion value setting register 1 dacs1 ?? 0ff86h d/a converter mode register 0 dam0 ?? 0ff87h d/a converter mode register 1 dam1 ?? 0ff8ch external bus type select register ebts ?? 0ff90h serial operation mode register 0 csim0 ?? 0ff91h serial operation mode register 1 csim1 ?? 0ff92h serial operation mode register 2 csim2 ?? 0ff94h serial i/o shift register 0 sio0 ? 0ff95h serial i/o shift register 1 sio1 ? 0ff96h serial i/o shift register 2 sio2 ? 0ff98h real-time output buffer register l rtbl ? 0ff99h real-time output buffer register h rtbh ? 0ff9ah real-time output port mode register rtpm ?? 0ff9bh real-time output port control register rtpc ?? 0ff9ch watch timer mode control register wtm ?? 0ffa0h external interrupt rising edge enable register egp0 ?? 0ffa2h external interrupt falling edge enable register egn0 ?? 0ffa8h in-service priority register ispr r ?? 0ffa9h interrupt select control register snmi r/w ?? 0ffaah interrupt mode control register imc ?? 80h 0ffach interrupt mask flag register 0l mk0l mk0 ??? ffffh 0ffadh interrupt mask flag register 0h mk0h ?? 0ffaeh interrupt mask flag register 1l mk1l mk1 ??? 0ffafh interrupt mask flag register 1h mk1h ?? 0ffb0h i 2 c bus control register note 2 iicc0 ?? 00h 0ffb2h prescaler mode register for serial clock srpm0 ?? 0ffb4h slave address register sva0 ?? notes 1. when the location 0h instruction is executed. add f0000h to this value when the location 0fh instruction is executed. 2. m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 32 data sheet u11725ej2v0ds00 table 6-1. special function register (sfr) list (4/4) address note 1 special function register (sfr) name symbol r/w bit units for manipulation after reset 1 bit 8 bits 16 bits 0ffb6h i 2 c bus status register note 2 iics0 r ?? 00h 0ffb8h serial shift regiter iic0 r/w ?? 0ffc0h standby control register stbc ? 30h 0ffc2h watchdog timer mode register wdm ? 00h 0ffc4h memory expansion mode register mm ?? 20h 0ffc7h programmable wait control register 1 pwc1 ?? aah 0ffceh clock status register pcs r ?? 32h 0ffcfh oscillation stabilization time specification register osts r/w ?? 00h 0ffd0h to external sfr area ?? 0ffdfh 0ffe0h interrupt control register (intwdtm) wdtic ?? 43h 0ffe1h interrupt control register (intp0) pic0 ?? 0ffe2h interrupt control register (intp1) pic1 ?? 0ffe3h interrupt control register (intp2) pic2 ?? 0ffe4h interrupt control register (intp3) pic3 ?? 0ffe5h interrupt control register (intp4) pic4 ?? 0ffe6h interrupt control register (intp5) pic5 ?? 0ffe7h interrupt control register (intp6) pic6 ?? 0ffe8h interrupt control register (intcsi0) csiic0 ?? 0ffe9h interrupt control register (intiic0/intser1) seric1 ?? 0ffeah interrupt control register (intsr1/intcsi1) sric1 ?? 0ffebh interrupt control register (intst1) stic1 ?? 0ffech interrupt control register (intser2) seric2 ?? 0ffedh interrupt control register (intsr2/intcsi2) sric2 ?? 0ffeeh interrupt control register (intst2) stic2 ?? 0ffefh interrupt control register (inttm3) tmic3 ?? 0fff0h interrupt control register (inttm00) tmic00 ?? 0fff1h interrupt control register (inttm01) tmic01 ?? 0fff2h interrupt control register (inttm1) tmic1 ?? 0fff3h interrupt control register (inttm2) tmic2 ?? 0fff4h interrupt control register (intad) adic ?? 0fff5h interrupt control register (inttm5) tmic5 ?? 0fff6h interrupt control register (inttm6) tmic6 ?? 0fff7h interrupt control register (inttm7) tmic7 ?? 0fff8h interrupt control register (inttm8) tmic8 ?? 0fff9h interrupt control register (intwt) wtic ?? 0fffah interrupt control register (intkr) kric ?? notes 1. when the location 0h instruction is executed. add f0000h to this value when the location 0fh instruction is executed. 2. m pd784216y subseries only.
m pd784214,784215,784216,784214y,784215y,784216y 33 data sheet u11725ej2v0ds00 7. peripheral hardware functions 7.1 ports the ports shown in figure 7-1 are provided to make various control operations possible. table 7-1 shows the function of each port. ports 0, 2 through 8, 10 and 12 can be connected to internal pull-up resistors by software when inputting. figure 7-1. port configuration ? port 7 ? ? ? ? ? port 0 ? ? ? ? ? port 2 ? ? ? ? ? port 3 ? ? ? ? ? port 4 ? ? ? ? ? port 5 ? ? ? ? ? port 6 port 1 p70 p72 ? ? ? ? ? port 8 p80 p87 ? ? ? ? ? port 12 p120 p127 ? ? ? ? ? port 9 p90 p95 ? port 10 p100 p103 ? port 13 p130 p131 p00 p06 p10 to p17 p20 p27 p30 p37 p40 p47 p50 p57 p60 p67 8
m pd784214,784215,784216,784214y,784215y,784216y 34 data sheet u11725ej2v0ds00 table 7-1. port functions port name pin name function specification of pull-up resistor connection by software port 0 p00 to p06 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 1 p10 to p17 ? input port port 2 p20 to p27 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 3 p30 to p37 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 4 p40 to p47 ? can be set in input or output mode in 1-bit units can be specified in 1-port units ? can directly drive leds port 5 p50 to p57 ? can be set in input or output mode in 1-bit units can be specified in 1-port units ? can directly drive leds port 6 p60 to p67 ? can be set in input or output mode in 1-bit units can be specified in 1-port units port 7 p70 to p72 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 8 p80 to p87 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 9 p90 to p95 ? n-ch open-drain i/o port ? can be set in input or output mode in 1-bit units ? can directly drive leds port 10 p100 to p103 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 12 p120 to p127 ? can be set in input or output mode in 1-bit units can be specified in 1-bit units port 13 p130, p131 ? can be set in input or output mode in 1-bit units 7.2 clock generation circuit an on-chip clock generation circuit necessary for operation is provided. this clock generation circuit has a frequency divider. if high-speed operation is not necessary, the internal operating frequency can be lowered by the frequency divider to reduce the current consumption. figure 7-2. block diagram of clock generation circuit xt2 xt1 x1 x2 bit 2 of standby control register (stbc) (mck) = 1 when the subclock is selected for stop and cpu main system clock oscillator subsystem clock oscillator f xt watch timer, clock output function clock to peripheral hardware cpu clock (f cpu ) frequency divider prescaler prescaler stop, idle control circuit halt control circuit f x f x 2 f xx 2 f xx 2 2 f xx 2 3 f xx selector selector internal system clock (f clk ) idle control circuit
m pd784214,784215,784216,784214y,784215y,784216y 35 data sheet u11725ej2v0ds00 figure 7-3. example of using main system clock oscillator figure 7-4. example of using subsystem clock oscillator caution when using the main system clock and subsystem clock oscillator, wire the broken-lines portions in figures 7-3 and 7-4 as follows to avoid adverse influence from wiring capacitance. ? keep the wiring length as short as possible. ? do not cross the wiring with other signal lines. ? do not route the wiring near a signal line through which a high fluctuating current flows. ? always keep the ground point of the oscillator capacitor to the same potential as v ss . do not ground the capacitor to a ground pattern in which a high current flows. ? do not fetch signals from the oscillator. note that the subsystem clock oscillator has a low amplification factor to reduce the current consumption. external clock x2 x1 pd74hcu04 m v ss x2 x1 crystal resonator or ceramic resonator (1) crystal/ceramic oscillation (2) external clock 32.768 khz v ss xt2 xt1 xt2 xt1 external clock pd74hcu04 m (1) crystal oscillation (2) external clock
m pd784214,784215,784216,784214y,784215y,784216y 36 data sheet u11725ej2v0ds00 7.3 real-time output port the real-time output function is to transfer data set in advance to the real-time output buffer register to the output latch as soon as the timer interrupt or external interrupt has occurred in order to output the data to an external device. the pins that output the data to the external device constitute a port called a real-time output port. because the real-time output port can output signals without jitter, it is ideal for controlling a stepping motor. figure 7-5. block diagram of real-time output port internal bus rtpoe byte extr output trigger control circuit real-time output port control register (rtpc) real-time output port mode register (rtpm) real-time output port output latch rtp7 rtp0 high-order 4 bits of real-time output buffer register (rtbh) low-order 4 bits of real-time output buffer register (rtbl) intp2trg inttm1 inttm2 port 12 output latch p127 p120 p12n/rtpn pin output (n = 0 to 7) p127/ p120/ rtp7 rtp0 rtpoe bit
m pd784214,784215,784216,784214y,784215y,784216y 37 data sheet u11725ej2v0ds00 7.4 timer/event counter one unit of 16-bit timers/event counters and six units of 8-bit timers/event counters are provided. because a total of eight interrupt requests are supported, these timers/counters can be used as eight units of timers/event counters. table 7-2. operations of timers/counters name 16-bit 8-bit 8-bit 8-bit 8-bit 8-bit 8-bit timer/event timer/event timer/event timer/event timer/event timer/event timer/event item counter counter 1 counter 2 counter 5 counter 6 counter 7 counter 8 count width 8 bits ?????? 16 bits ???? operation interval timer 1ch 1ch 1ch 1ch 1ch 1ch 1ch mode external event counter ??????? function timer output 1ch 1ch 1ch 1ch 1ch 1ch 1ch ppg output ? pwm output ?????? square wave output ??????? one-shot pulse output ? pulse width measurement 2 inputs number of interrupt requests 2111111
m pd784214,784215,784216,784214y,784215y,784216y 38 data sheet u11725ej2v0ds00 figure 7-6. block diagram of timers/event counters 16-bit timer/event counter 8-bit timer/event counter 1, 5, 7 remarks 1. n = 1, 5, 7 2. ovf: overflow flag 8-bit timer/event counter 2, 6, 8 remarks 1. n = 2, 6, 8 2. ovf: overflow flag f xx /4 f xx /16 inttm3 ti01 ti00 edge detection circuit edge detection circuit 16-bit timer counter (tm0) 16-bit capture/compare register 00 (cr00) 16-bit capture/compare register 01 (cr01) 16 16 clear inttm00 inttm01 to0 selector selector output control circuit f xx /2 9 f xx /2 7 f xx /2 5 f xx /2 4 f xx /2 3 f xx /2 2 tin 8-bit timer counter n (tmn) 8-bit compare register n0 (crn0) 8 clear ovf inttmn + 1 inttmn ton edge detection circuit output control circuit selector selector f xx /2 9 f xx /2 7 f xx /2 5 f xx /2 4 f xx /2 3 f xx /2 2 tin tmn? 8-bit timer counter n (tmn) 8-bit compare register n0 (crn0) 8 clear ovf inttmn ton edge detection circuit output control circuit selector
m pd784214,784215,784216,784214y,784215y,784216y 39 data sheet u11725ej2v0ds00 7.5 a/d converter an a/d converter converts an analog input variable into a digital signal. this microcontroller is provided with an a/d converter with a resolution of 8 bits and 8 channels (ani0 through ani7). this a/d converter is of successive approximation type and the result of conversion is stored to an 8-bit a/d conversion result register (adcr). the a/d converter can be started in the following two ways: ? hardware start conversion is started by trigger input (p03). ? software start conversion is started by setting the a/d converter mode register (adm). one analog input channel is selected from ani0 through ani7 for a/d conversion. when a/d conversion is started by means of hardware start, conversion is stopped after it has been completed. when conversion is started by means of software start, a/d conversion is repeatedly executed, and each time conversion has been completed, an interrupt request (intad) is generated. figure 7-7. block diagram of a/d converter ani0 ani1 ani2 ani3 ani4 ani5 ani6 ani7 sample & hold circuit series resistor string voltage comparator successive approximation register (sar) a/d conversion result register (adcr) control circuit edge detection circuit intp3/p03 intad intp3 av ss av ref0 av dd internal bus selector tap selector edge detection circuit
m pd784214,784215,784216,784214y,784215y,784216y 40 data sheet u11725ej2v0ds00 7.6 d/a converter a d/a converter converts an input digital signal into an analog voltage. this microcontroller is provided with a voltage output type d/a converter with a resolution of 8 bits and two channels. the conversion method is of r-2r resistor ladder type. d/a conversion is started by setting dace0 of the d/a converter mode register 0 (dam0) and dace1 of the d/ a converter mode register 1 (dam1). the d/a converter operates in the following two modes: ? normal mode the converter outputs an analog voltage immediately after it has completed d/a conversion. ? real-time output mode the converter outputs an analog voltage in synchronization with an output trigger after it has completed d/a conversion. figure 7-8. block diagram of d/a converter av ref1 av ss dacs0 8 2r 2r r r 2r 2r selector ano0 dacs1 8 2r 2r r r 2r 2r selector ano1
m pd784214,784215,784216,784214y,784215y,784216y 41 data sheet u11725ej2v0ds00 7.7 serial interface three independent serial interface channels are provided. ? asynchronous serial interface (uart)/3-wire serial i/o (ioe) 2 ? clocked serial interface (csi) 1 ? 3-wire serial i/o (ioe) ?i 2 c bus interface ( m pd784216y subseries only) therefore, communication with an external system and local communication within the system can be simultaneously executed (refer to figure 7-9). figure 7-9. example of serial interface (a) uart + i 2 c (b) uart + 3-wire serial i/o note handshake line [uart] ? ? [uart] rs-232-c driver/receiver rxd1 txd1 rs-232-c driver/receiver port rxd2 txd2 port sda0 scl0 [i 2 c] v dd v dd sda scl sda scl lcd pd4711a m pd4711a m pd784216y (master) m pd780078y (slave) m pd780308y (slave) m pd784216 (master) m rs-232-c driver/receiver [uart] ? port rxd2 txd2 pd753106 (slave) m si so sck port int [3-wire serial i/o] note so1 si1 sck1 intpm port pd4711a m
m pd784214,784215,784216,784214y,784215y,784216y 42 data sheet u11725ej2v0ds00 7.7.1 asynchronous serial interface/3-wire serial i/o (uart/ioe) two channels of serial interfaces that can select an asynchronous serial interface mode and 3-wire serial i/o mode are provided. (1) asynchronous serial interface mode in this mode, data of 1 byte following the start bit is transmitted or received. because an on-chip baud rate generator is provided, a wide range of baud rates can be set. moreover, the clock input to the asck pin can be divided to define a baud rate. when the baud rate generator is used, a baud rate conforming to the midi standard (31.25 kbps) can be also obtained. figure 7-10. block diagram in asynchronous serial interface mode internal bus 8 8 8 receive buffer register 1, 2 (rxb1, rxb2) receive shift register 1, 2 (rx1, rx2) transmit shift register 1, 2 (txs1, txs2) receive control parity check transmit control parity append rxd1, rxd2 txd1, txd2 asck1, asck2 baud rate generator intsr1, intsr2 intst1, intst2 selector f xx -f xx /2 5 5-bit counter 2 transmit/receive clock generation
m pd784214,784215,784216,784214y,784215y,784216y 43 data sheet u11725ej2v0ds00 (2) 3-wire serial i/o mode in this mode, the master device starts transfer by making the serial clock active and transfers 1-byte data in synchronization with this clock. this mode is used to communicate with a device having the conventional clocked serial interface. basically, communication is established by using three lines: serial clocks (sck1 and sck2), serial data inputs (si1 and si2), and serial data outputs (so1 and so2). to connect two or more devices, a handshake line is necessary. figure 7-11. block diagram in 3-wire serial i/o mode internal bus 8 interrupt generation circuit selector serial clock counter serial clock control circuit serial i/o shift register 1, 2 (sio1, sio2) si1, si2 so1, so2 sck1, sck2 intcsi1, intcsi2 to2 f xx /8 f xx /16
m pd784214,784215,784216,784214y,784215y,784216y 44 data sheet u11725ej2v0ds00 7.7.2 clocked serial interface (csi) in this mode, the master device starts transfer by making the serial clock active and communicates 1-byte data in synchronization with this clock. (1) 3-wire serial i/o mode this mode is to communicate with devices having the conventional clocked serial interface. basically, communication is established in this mode with three lines: one serial clock (sck0) and two serial data (si0 and so0) lines. generally, a handshake line is necessary to check the reception status. figure 7-12. block diagram in 3-wire serial i/o mode (2) i 2 c bus (inter ic) bus mode (supporting multi-master) ( m pd784216y subseries only) this mode is for communication with devices conforming to the i 2 c bus format. this mode is for transferring 8-bit data between two or more devices by using two lines: a seiral clock (scl0) and a serial data bus (sda0). during transfer, a "start condition", "data", and "stop condition" can be output onto the serial data bus. during reception, these data are automatically detected by hardware. si0 so0 sck0 intcsi0 to2 f xx /8 f xx /16 internal bus interrupt generation circuit selector serial clock counter serial clock control circuit serial i/o shift register 0 (sio0) 8
m pd784214,784215,784216,784214y,784215y,784216y 45 data sheet u11725ej2v0ds00 figure 7-13. block diagram of i 2 c bus mode 7.8 clock output function clocks of the following frequencies can be output as clock output. ? 97.7 khz/195 khz/391 khz/781 khz/1.56 mhz/3.13 mhz/6.25 mhz/12.5 mhz (@ 12.5-mhz operation with main system clock) ? 32.768 khz (@ 32.768-khz operation with subsystem clock) figure 7-14. block diagram of clock output function f xx f xx /2 f xx /2 2 f xx /2 3 f xx /2 4 f xx /2 5 f xx /2 6 f xx /2 7 f xt synchronization circuit output control circuit pcl selector internal bus direction control circuit slave address register (sva0) 8 8 8 sda0 scl0 serial i/o shift register 0 (sio0) output latch wake-up control circuit start condition/acknowledge detection circuit stop condition detection circuit serial clock counter serial clock control circuit acknowledge generation circuit interrupt generation circuit selector intiic0 to2/18 to to2/68 fxx/24 to fxx/178
m pd784214,784215,784216,784214y,784215y,784216y 46 data sheet u11725ej2v0ds00 7.9 buzzer output function clocks of the following frequencies can be output as buzzer output. ? 1.5 khz/3.1 khz/6.1 khz/12.2 khz (@ 12.5-mhz operation with main system clock) figure 7-15. block diagram of buzzer output function 7.10 edge detection function the interrupt input pins (intp0, intp1, nmi/intp2, intp3 through intp6) are used not only to input interrupt requests but also to input trigger signals to the internal hardware units. because these pins operate at an edge of the input signal, they have a function to detect an edge. moreover, a noise reduction function is also provided to prevent erroneous detection due to noise. pin name detectable edge noise reduction nmi either or both of rising and falling edges by analog delay intp0 through intp6 7.11 watch timer the watch timer has the following functions: ? watch timer ? interval timer the watch timer and interval timer functions can be used at the same time. (1) watch timer the watch timer sets the wtif flag of the interrupt control register (wtic) at time intervals of 0.5 seconds by using the 32.768-khz subsystem clock. (2) interval timer the interval timer generates an interrupt request (inttm3) at predetermined time intervals. f xx /2 10 f xx /2 11 f xx /2 12 f xx /2 13 output control circuit buz selector
m pd784214,784215,784216,784214y,784215y,784216y 47 data sheet u11725ej2v0ds00 figure 7-16. block diagram of watch timer 7.12 watchdog timer a watchdog timer is provided to detect a cpu runaway. this watchdog timer generates a non-maskable or maskable interrupt unless it is cleared by software within a specified interval time. once enabled to operate, the watchdog timer cannot be stopped by software. whether the interrupt by the watchdog timer or the interrupt input from the nmi pin takes precedence can be specified. figure 7-17. block diagram of watchdog timer remark f clk : internal system clock (f xx to f xx /8) f xx /2 7 prescaler f xt f w 2 4 f w 2 5 f w 2 6 f w 2 7 f w 2 8 f w f w 2 9 5-bit counter f w 2 5 f w 2 14 intwt inttm3 to 16-bit timer/counter selector selector selector selector f clk /2 21 f clk /2 20 f clk /2 19 f clk /2 17 f clk clear signal timer intwdt selector
m pd784214,784215,784216,784214y,784215y,784216y 48 data sheet u11725ej2v0ds00 8. interrupt function as the servicing in response to an interrupt request, the three types shown in table 8-1 can be selected by program. table 8-1. servicing of interrupt request servicing mode entity of servicing servicing contents of pc and psw vectored interrupt software branches and executes servicing routine saves to and restores (servicing is arbitrary) from stack context switching automatically switches register bank, saves to or restores from branches and executes servicing routine fixed area in register bank (servicing is arbitrary) macro service firmware executes data transfer between memory retained and i/o (servicing is fixed) 8.1 interrupt sources table 8-2 shows the interrupt sources available. as shown, interrupts are generated by 29 types of sources, execution of the brk instruction, brkcs instruction, or an operand error. the priority of interrupt servicing can be set to four levels, so that nesting can be controlled during interrupt servicing and that which of the two or more interrupts that simultaneously occur should be serviced first. when the macro service function is used, however, nesting always proceeds. the default priority is the priority (fixed) of the service that is performed if two or more interrupt requests, having the same priority, simultaneously generate (refer to table 8-2 ). table 8-2. interrupt sources (1/2) type default source internal/ macro priority name trigger external service software brk instruction instruction execution brkcs instruction instruction execution operand error if result of exclusive or between operands byte and byte is not ffh when mov stbc, #byte instruction, mov wdm, #byte instruction, or location instruction is executed non-maskable nmi pin input edge detection external intwdt overflow of watchdog timer internal maskable 0 ( highest ) intwdtm overflow of watchdog timer internal ? 1 intp0 pin input edge detection external 2 intp1 3 intp2 4 intp3 5 intp4 6 intp5 7 intp6 8 intiic0 end of i 2 c bus transfer by csi0 internal intcsi0 end of 3-wire transfer by csi0 9 intser1 occurrence of uart reception error in asi1
m pd784214,784215,784216,784214y,784215y,784216y 49 data sheet u11725ej2v0ds00 table 8-2. interrupt sources (2/2) type default source internal/ macro priority name trigger external service maskable 10 intsr1 end of uart reception by asi1 internal ? intcsi1 end of 3-wire transfer by csi1 11 intst1 end of uart transmission by asi1 12 intser2 occurrence of uart reception error in asi2 13 intsr2 end of uart reception by asi2 intcsi2 end of 3-wire transfer by csi2 14 intst2 end of uart transmission by asi2 15 inttm3 reference time interval signal from watch timer 16 inttm00 signal indicating coincidence between 16-bit timer register and capture/compare register (cr00) 17 inttm01 signal indicating coincidence between 16-bit timer register and capture/compare register (cr01) 18 inttm1 occurrence of coincidence signal of 8-bit timer/counter 1 19 inttm2 occurrence of coincidence signal of 8-bit timer/counter 2 20 intad end of conversion by a/d converter 21 inttm5 occurrence of coincidence signal of 8-bit timer/counter 5 22 inttm6 occurrence of coincidence signal of 8-bit timer/counter 6 23 inttm7 occurrence of coincidence signal of 8-bit timer/counter 7 24 inttm8 occurrence of coincidence signal of 8-bit timer/counter 8 25 intwt overflow of watch timer 26 (lowest) intkr detection of falling edge of port 8 external remarks 1. asi: asynchronous serial interface csi: clocked serial interface 2. there are two interrupt sources for the watchdog timer: non-maskable interrupts (intwdt) and maskable interrupts (intwdtm). either one should be selected for actual use.
m pd784214,784215,784216,784214y,784215y,784216y 50 data sheet u11725ej2v0ds00 8.2 vectored interrupt execution branches to a servicing routine by using the memory contents of a vector table address corresponding to the interrupt source as the address of the branch destination. so that the cpu performs interrupt servicing, the following operations are performed: ? on branching: saves the status of the cpu (contents of pc and psw) to stack ? on returning: restores the status of the cpu (contents of pc and psw) from stack to return to the main routine from an interrupt service routine, the reti instruction is used. the branch destination address is in a range of 0 to ffffh. table 8-3. vector table address interrupt source vector table address interrupt source vector table address brk instruction 003eh intst1 001ch trap0 (operand error) 003ch intser2 001eh nmi 0002h insr2 0020h intwdt (non-maskable) 0004h intcsi2 intwdtm (maskable) 0006h intst2 0022h intp0 0008h inttm3 0024h intp1 000ah inttm00 0026h intp2 000ch inttm01 0028h intp3 000eh inttm1 002ah intp4 0010h inttm2 002ch intp5 0012h intad 002eh intp6 0014h inttm5 0030h intiic0 0016h inttm6 0032h intcsi0 inttm7 0034h intser0 0018h inttm8 0036h intsr1 001ah intwt 0038h intcsi1 intkr 003ah
m pd784214,784215,784216,784214y,784215y,784216y 51 data sheet u11725ej2v0ds00 8.3 context switching when an interrupt request is generated or when the brkcs instruction is executed, a predetermined register bank is selected by hardware. context switching is a function that branches execution to a vector address stored in advance in the register bank, and to stack the current contents of the program counter (pc) and program status word (psw) to the register bank. the branch address is in a range of 0 to ffffh. figure 8-1. context switching operation when interrupt request is generated 8.4 macro service this function is to transfer data between memory and a special function register (sfr) without intervention by the cpu. a macro service controller accesses the memory and sfr in the same transfer cycle and directly transfers data without loading it. because this function does not save or restore the status of the cpu, or load data, data can be transferred at high speeds. figure 8-2. macro service register bank n (n = 0 to 7) 0000b <7> transfer pc19-16 pc15-0 <6> exchange <5> save <2> save temporary register <1> save psw v u t w a b r5 r7 d h x c r4 r6 e l vp up <3> switching of register bank (rbs0 to rbs2 ? n) register bank (0 to 7) (bits 8 through 11 of temporary register) <4> rss ? 0 ie ? 0 cpu memory sfr macro service controller read write write read internal bus
m pd784214,784215,784216,784214y,784215y,784216y 52 data sheet u11725ej2v0ds00 8.5 application example of macro service (1) transmission of serial interface each time macro service requests intst1 and intst2 are generated, the next transmit data is transferred from memory to txs1 and txs2. when data n (last byte) has been transferred to txs1 and txs2 (when the transmit data storage buffer has become empty), vectored interrupt requests intst1 and intst2 are generated. (2) reception of serial interface each time macro service requests intsr1 and intsr2 are generated, the receive data is transferred from rxb1 and rxb2 to memory. when data n (last byte) has been transferred to memory (when the receive data storage buffer has become full), vectored interrupt requests intsr1 and intsr2 are generated. transmit data storage buffer (memory) data n data n? data 1 data 2 internal bus transmit shift register txs1, txs2(sfr) transmit control txd1, txd2 intst1, intst2 receive data storage buffer (memory) data n data n? data 1 data 2 internal bus receive shift register rxb1, rxb2(sfr) reception control intsr1, intsr2 rxd1, rxd2 receive buffer register
m pd784214,784215,784216,784214y,784215y,784216y 53 data sheet u11725ej2v0ds00 9. local bus interface the local bus interface can connect an external memory or i/o (memory mapped i/o) and support a memory space of 1 mbyte (refer to figure 9-1 ). figure 9-1. example of local bus interface (a) multiplexed bus mode (b) separate bus mode m pd784216 rd wr a8 to a19 astb ad0 to ad7 v dd address latch le q0 to q7 d0 to d7 oe sram cs oe we i/o1 to i/o8 a0 to a19 data bus address bus v dd address bus sram data bus oe we a0 to a19 cs i/o1 to i/o8 m pd784216 rd wr a0 to a19 ad0 to ad7
m pd784214,784215,784216,784214y,784215y,784216y 54 data sheet u11725ej2v0ds00 9.1 memory expansion external program memory and data memory can be connected in two stages: 256 kbytes and 1 mbytes. to connect the external memory, ports 4 through 6 and port 8 are used. the external memory can be connected in the following two modes: ? multiplexed bus mode: the external memory is connected by using a time-division address/data bus. the number of ports used when the external memory is connected can be reduced in this mode. ? separate bus mode: the external memory is connected by using an address bus and data bus independent of each other. because an external latch circuit is not necessary, this mode is useful for reducing the number of components and mounting area on the printed wiring board. 9.2 programmable wait wait state(s) can be inserted to the memory space (00000h through fffffh) while the rd and wr signals are active. in addition, there is an address wait function that extends the active period of the astb signal to gain the address decode time.
m pd784214,784215,784216,784214y,784215y,784216y 55 data sheet u11725ej2v0ds00 10. standby function this function is to reduce the power consumption of the chip, and can be used in the following modes: ? halt mode: stops supply of the operating clock to the cpu. this mode is used in combination with the normal operation mode for intermittent operation to reduce the average power consumption. ? idle mode: stops the entire system with the oscillator continuing operation. the power consumption in this mode is close to that in the stop mode. however, the time required to restore the normal program operation from this mode is almost the same as that from the halt mode. ? stop mode: stops the main system clock and thereby to stop all the internal operations of the chip. consequently, the power consumption is minimized with only leakage current flowing. ? low-power consumption mode: the main system clock is stopped with the subsystem clock used as the system clock. the cpu can operate on the subsystem clock to reduce the current consumption. ? low-power consumption halt mode: this is a standby function in the low-power consumption mode and stops the operation clock of the cpu, to reduce the power consumption of the entire system. ? low-power consumption idle mode: this is a standby function in the low-power consumption mode and stops the entire system except the oscillator, to reduce the power consumption of the entire system. these modes are programmable. the macro service can be started from the halt mode or low-power consumption halt mode. after macro service processing is executed, the system returnes to the halt mode again. the transition of the standby status is shown in figure 10-1.
m pd784214,784215,784216,784214y,784215y,784216y 56 data sheet u11725ej2v0ds00 figure 10-1. standby function state transitions notes 1 . only unmasked interrupt requests 2. only unmasked intp0 to intp6, intwt, key return interrupt (p80 to p87) remark nmi is valid only for an external input. the watchdog timer cannot be used for the release of standby (halt mode/stop mode/idle mode). wait for stable oscillation normal operation (main system clock operation) macro service halt (standby) idle (standby) low-power consumption mode (subsystem clock operation) low- power consumption halt mode (standby) low-power consumption idle mode (standby) stop (standby) stable oscillation time ends macro service request one time processing ends macro service ends macro service request one time processing ends interrupt request reset input halt set idle set reset input stop set reset input low-power consumption idle mode set reset input low-power consumption mode set return to normal operation low-power consumption halt mode set reset input interrupt request note 1 interrupt request for masked interrupt interrupt request for masked interrupt interrupt request for masked interrupt interrupt request for masked interrupt interrupt request for masked interrupt macro service macro service request macro service request one time processing ends macro service ends one time processing ends nmi, intp0 to intp6 input, intwt, key return interrupt note 2 nmi, intp0 to intp6 input, intwt, key return interrupt note 2 nmi, intp0 to intp6 input, intwt, key return interrupt note 2 reset input
m pd784214,784215,784216,784214y,784215y,784216y 57 data sheet u11725ej2v0ds00 11. reset function when a low-level signal is input to the reset pin, the system is reset, and each hardware unit is initialized (reset). during the reset period, oscillation of the main system clock is unconditionally stopped. consequently, the current consumption of the entire system can be reduced. when the reset signal goes high, the reset status is cleared, oscillation stabilization time (84.0 ms at 12.5-mhz operation) elapses, the contents of the reset vector table are set to the program counter (pc), execution branches to an address set to the pc, and program execution is started from that branch address. therefore, the program can be reset and started from any address. figure 11-1. oscillation of main system clock during reset period the reset input pin has an analog delay noise elimination circuit to prevent malfunctioning due to noise. figure 11-2. acknowledgement of reset signal analog delay analog delay analog delay oscillation stabilization time reset input internal reset signal internal clock oscillation is unconditionally stopped during reset period oscillation stabilization time main system clock oscillator f clk reset input
m pd784214,784215,784216,784214y,784215y,784216y 58 data sheet u11725ej2v0ds00 12. instruction set (1) 8-bit instructions (the instructions in parentheses are combinations realized by describing a as r) mov, xch, add, addc, sub, subc, and, or, xor, cmp, mulu, divuw, inc, dec, ror, rol, rorc, rolc, shr, shl, ror4, rol4, dbnz, push, pop, movm, xchm, cmpme, cmpmne, cmpmnc, cmpmc, movbk, xchbk, cmpbke, cmpbkne, cmpbknc, cmpbkc table 12-1. instruction list by 8-bit addressing second operand #byte a r saddr sfr !addr16 mem r3 [whl+] n none note 2 r' saddr' !!addr24 [saddrp] pswl [whlC] first operand [%saddrg] pswh a (mov) (mov) mov (mov) note 6 mov (mov) mov mov (mov) add note 1 (xch) xch (xch) note 6 (xch) (xch) xch (xch) (add) note 1 (add) note 1 (add) notes 1,6 (add) note 1 add note 1 add note 1 (add) note 1 r mov (mov) mov mov mov mov ror note 3 mulu add note 1 (xch) xch xch xch xch divuw (add) note 1 add note 1 add note 1 add note 1 inc dec saddr mov (mov) note 6 mov mov inc add note 1 (add) note 1 add note 1 xch dec add note 1 dbnz sfr mov mov mov push add note 1 (add) note 1 add note 1 pop !addr16 mov (mov) mov !!addr24 add note 1 mem mov [saddrp] add note 1 [%saddrg] mem3 ror4 rol4 r3 mov mov pswl pswh b, c dbnz stbc, wdm mov [tde+] (mov) movbk note 5 [tdeC] (add) note 1 movm note 4 notes 1. the operands of addc, sub, subc, and, or, xor, and cmp are the same as that of add. 2. either the second operand is not used, or the second operand is not an operand address. 3. the operands of rol, rorc, rolc, shr, and shl are the same as that of ror. 4. the operands of xchm, cmpme, cmpmne, cmpmnc, and cmpmc are the same as that of movm. 5. the operands of xchbk, cmpbke, cmpbkne, cmpbknc, and cmpbkc are the same as that of movbk. 6. the code length of some instructions having saddr2 as saddr in this combination is short.
m pd784214,784215,784216,784214y,784215y,784216y 59 data sheet u11725ej2v0ds00 (2) 16-bit instructions (the instructions in parentheses are combinations realized by describing ax as rp) movw, xchw, addw, subw, cmpw, muluw, mulw, divux, incw, decw, shrw, shlw, push, pop, addwg, subwg, pushu, popu, movtblw, macw, macsw, sacw table 12-2. instruction list by 16-bit addressing second operand #word ax rp saddrp sfrp !addr16 mem [whl+] byte n none note 2 rp' saddrp' !!addr24 [saddrp] first operand [%saddrg] ax (movw) (movw) (movw) (movw) note 3 movw (movw) movw (movw) addw note 1 (xchw) (xchw) (xchw) note 3 (xchw) xchw xchw (xchw) (add) note 1 (addw) note 1 (addw) note 1,3 (addw) note 1 rp movw (movw) movw movw movw movw shrw mulw note 4 addw note 1 (xchw) xchw xchw xchw shlw incw (addw) note 1 addw note 1 addw note 1 addw note 1 decw saddrp movw (movw) note 3 movw movw incw addw note 1 (addw) note 1 addw note 1 xchw decw addw note 1 sfrp movw movw movw push addw note 1 (addw) note 1 addw note 1 pop !addr16 movw (movw) movw movtblw !!addr24 mem movw [saddrp] [%saddrg] psw push pop sp addwg subwg post push pop pushu popu [tde+] (movw) sacw byte macw macsw notes 1. the operands of subw and cmpw are the same as that of addw. 2. either the second operand is not used, or the second operand is not an operand address. 3. the code length of some instructions having saddrp2 as saddrp in this combination is short. 4. the operands of muluw and divux are the same as that of mulw.
m pd784214,784215,784216,784214y,784215y,784216y 60 data sheet u11725ej2v0ds00 (3) 24-bit instructions (the instructions in parentheses are combinations realized by describing whl as rg) movg, addg, subg, incg, decg, push, pop table 12-3. instruction list by 24-bit addressing second operand #imm24 whl rg saddrg !!addr24 mem1 [%saddrg] sp none note rg' first operand whl (movg) (movg) (movg) (movg) (movg) movg movg movg (addg) (addg) (addg) addg (subg) (subg) (subg) subg rg movg (movg) movg movg movg incg addg (addg) addg decg subg (subg) subg push pop saddrg (movg) movg !!addr24 (movg) movg mem1 movg [%saddrg] movg sp movg movg incg decg note either the second operand is not used, or the second operand is not an operand address.
m pd784214,784215,784216,784214y,784215y,784216y 61 data sheet u11725ej2v0ds00 (4) bit manipulation instructions mov1, and1, or1, xor1, set1, clr1, not1, bt, bf, btclr, bfset table 12-4. instruction list by bit manipulation instruction addressing second operand cy saddr.bit sfr.bit /saddr.bit /sfr. bit none note a.bit x.bit /a.bit /x.bit pswl.bit pswh.bit /pswl.bit /pswh.bit mem2.bit /mem2.bit first operand !addr16.bit !!addr24.bit /!addr16.bit /!!addr24.bit cy mov1 and1 not1 and1 or1 set1 or1 clr1 xor1 saddr.bit mov1 not1 sfr.bit set1 a.bit clr1 x.bit bf pswl.bit bt pswh.bit btclr mem2.bit bfset !addr16.bit !!addr24.bit note either the second operand is not used, or the second operand is not an operand address.
m pd784214,784215,784216,784214y,784215y,784216y 62 data sheet u11725ej2v0ds00 (5) call and return/branch instructions call, callf, callt, brk, ret, reti, retb, retcs, retcsb, brkcs, br, bnz, bne, bz, be, bnc, bnl, bc, bl, bnv, bpo, bv, bpe, bp, bn, blt, bge, ble, bgt, bnh, bh, bf, bt, btclr, bfset, dbnz table 12-5. instruction list by call and return/branch instruction addressing operand of instruction $addr20 $!addr20 !addr16 !!addr20 rp rg [rp] [rg] !addr11 [addr5] rbn none address basic instruction bc note call call call call call call call callf callf brkcs brk br br br br br br br br ret retcs reti retcsb retb compound instruction bf bt btclr bfset dbnz note the operands of bnz, bne, bz, be, bnc, bnl, bl, bnv, bpo, bv, bpe, bp, bn, blt, bge, ble, bgt, bnh, and bh are the same as that of bc. (6) other instructions adjba, adjbs, cvtbw, location, sel, not, ei, di, swrs
m pd784214,784215,784216,784214y,784215y,784216y 63 data sheet u11725ej2v0ds00 13. electrical specifications absolute maximum ratings (t a = 25 c) parameter symbol conditions ratings unit supply voltage v dd C0.3 to +6.5 v av dd C0.3 to v dd + 0.3 v av ss C0.3 to v ss + 0.3 v av ref0 a/d converter reference voltage input C0.3 to v dd + 0.3 v av ref1 d/a converter reference voltage input C0.3 to v dd + 0.3 v input voltage v i1 other than p90 to p95 C0.3 to v dd + 0.3 v v i2 p90 to p95 n-ch open drain C0.3 to +12 v analog input voltage v an analog input pin av ss C 0.3 to av ref0 + 0.3 v output voltage v o C0.3 to v dd + 0.3 v output current, low i ol per pin 15 ma total of p2, p4 to p8 75 ma total of p0, p3, p9, p10, p12, p13 75 ma output current, high i oh per pin C10 ma total of p2, p4 to p8 C50 ma total of p0, p3, p9, p10, p12, p13 C50 ma operating ambient t a C40 to +85 c temperature storage temperature t stg C65 to +150 c caution product quality may suffer if the absolute maximum rating is exceeded even momentarily for any parameter. that is, the absolute maximum ratings are rated values at which the product is on the verge of suffering physical damage, and therefore the product must be used under conditions that ensure that the absolute maximum ratings are not exceeded.
m pd784214,784215,784216,784214y,784215y,784216y 64 data sheet u11725ej2v0ds00 operating conditions ? operating ambient temperature (t a ): C40 to +85 c ? power supply voltage and clock cycle time: see figure 13-1 figure 13-1. power supply voltage and clock cycle time capacitance (t a = 25 c, v dd = v ss = 0 v) parameter symbol conditions min. typ. max. unit input capacitance c i f = 1 mhz other than port 9 15 pf unmeasured pins port 9 20 pf output capacitance c o returned to 0 v. other than port 9 15 pf port 9 20 pf i/o capacitance c io other than port 9 15 pf port 9 20 pf 600 500 400 300 200 100 0 01 2 3 supply voltage [v] 4 5 6 clock cycle time t cyk [ns] guaranteed operating range 5.5 2.7 2.2 80 160 320 4.5
m pd784214,784215,784216,784214y,784215y,784216y 65 data sheet u11725ej2v0ds00 main system clock oscillator characteristics (t a = C40 to +85 c) resonator recommended circuit parameter test conditions min. typ. max. unit ceramic oscillation 4.5 v v dd 5.5 v 2 12.5 mhz resonator frequency (f x ) or crystal resonator 2.7 v v dd < 4.5 v 2 6.25 2.2 v v dd < 2.7 v 2 3 external x1 input frequency 4.5 v v dd 5.5 v 2 25 mhz clock (f x ) 2.7 v v dd < 4.5 v 2 12.5 2.2 v v dd < 2.7 v 2 6.25 x1 input high/low- 15 250 ns level width (t wxh , t wxl ) x1 input rising/ 4.5 v v dd 5.5 v 0 5 ns falling time (t xr , t xf ) 2.7 v v dd < 4.5 v 0 10 2.2 v v dd < 2.7 v 0 20 cautions 1. when using the main system clock oscillator, wire as follows in the area enclosed by the broken lines in the above figures to avoid an adverse effect from wiring capacitance. ? keep the wiring length as short as possible. ? do not cross the wiring with the other signal lines. ? do not route the wiring near a signal line through which a high fluctuating current flows. ? always keep the ground point of the oscillator capacitor the same potential as v ss . ? do not ground the capacitor to a ground pattern in which a high current flows. ? do not fetch signals from the oscillator. 2. when the main system clock is stopped and the system is operated by the subsystem clock, the subsystem clock should be switched back to the main system clock after the oscillation stabilization time is secured by the program. remark for the resonator selection and oscillator constant, customers are requested to either evaluate the oscillation themselves or apply to the resonator manufacturer for evaluation. x2 x1 v ss x2 x1 pd74hcu04 m
m pd784214,784215,784216,784214y,784215y,784216y 66 data sheet u11725ej2v0ds00 subsystem clock oscillator characteristics (t a = C40 to +85 c) resonator recommended circuit parameter test conditions min. typ. max. unit crystal oscillation 32 32.768 35 khz resonator frequency (f xt ) oscillation 4.5 v v dd 5.5 v 1.2 2 s stabilization time note 2.2 v v dd < 4.5 v 10 external xt1 input 32 35 khz clock frequency (f xt ) xt1 input high/low- 5 15 m s level width (t xth , t xtl ) note time required to stabilize oscillation after v dd reaches oscillator voltage min. cautions 1. when using the subsystem clock oscillator, wire as follows in the area enclosed by the broken lines in the above figures to avoid an adverse effect from wiring capacitance. ? keep the wiring length as short as possible. ? do not cross the wiring with the other signal lines. ? do not route the wiring near a signal line through which a high fluctuating current flows. ? always keep the ground point of the oscillator capacitor the same potential as v ss . ? do not ground the capacitor to a ground pattern in which a high current flows. ? do not fetch signals from the oscillator. 2. when the main system clock is stopped and the system is operated by the subsystem clock, the subsystem clock should be switched back to the main system clock after the oscillation stabilization time is secured by the program. remark for the resonator selection and oscillator constant, customers are requested to either evaluate the oscillation themselves or apply to the resonator manufacturer for evaluation. v ss xt2 xt1 xt2 xt1 pd74hcu04 m
m pd784214,784215,784216,784214y,784215y,784216y 67 data sheet u11725ej2v0ds00 dc characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) (1/2) parameter symbol condition min. typ. max. unit input voltage, low v il1 note 1 0 0.3v dd v v il2 total of p00 to p06, p20, p22, p33, p34, p70, 0 0.2v dd v p72, p100 to p103, reset v il3 p90 to p95 (n-ch open drain) 0 0.3v dd v v il4 total of p10 to p17, p130, p131 0 0.3v dd v v il5 total of x1, x2, xt1, xt2 0 0.2v dd v v il6 p25, p27 0 0.3v dd v input voltage, high v ih1 note 1 0.7v dd v dd v v ih2 total of p00 to p06, p20, p22, p33, p34, p70, 0.8v dd v dd v p72, p100 to p103, reset v ih3 p90 to p95 (n-ch open drain) 0.7v dd 12 v v ih4 total of p10 to p17, p130, p131 0.7v dd v dd v v ih5 total of x1, x2, xt1, xt2 0.8v dd v dd v v ih6 p25, p27 0.7v dd v dd v output voltage, low v ol1 for pins other than p40 to v dd = 4.5 to 5.5 v 0.4 v p47, p50 to p57, p90 to p95 i ol = 1.6 ma note 2 total of p40 to p47, v dd = 4.5 to 5.5 v 1.0 v p50 to p57 i ol = 8 ma note 2 p90 to p95 i ol = 15 ma note 2 v dd = 4.5 to 5.5 v 0.8 2.0 v v ol2 i ol = 400 m a note 2 0.5 v output voltage, high v oh1 i oh = C1 ma note 2 v dd = 4.5 to 5.5 v v dd C1.0 v i ol = C100 m a note 2 v dd C0.5 v input leakage current, low i lil1 v in = 0 v except x1, x2, C3 m a xt1, xt2 i lil2 x1, x2, xt1, xt2 C20 m a input leakage current, high i lih1 v in = v dd except x1, x2, 3 m a xt1, xt2 i lih2 x1, x2, xt1, xt2 20 m a output leakage current, low i lol1 v out = 0 v C3 m a output leakage current, high i loh1 v out = v dd 3 m a notes 1. p21, p23, p24, p26, p30 to p32, p35 to p37, p40 to p47, p50 to p57, p60 to p67, p71, p80 to p87, p120 to p127 2. per pin
m pd784214,784215,784216,784214y,784215y,784216y 68 data sheet u11725ej2v0ds00 dc characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) (2/2) parameter symbol condition min. typ. max. unit supply current i dd1 operation f xx = 12.5 mhz 20 40 ma mode f xx = 6 mhz, 2.7 v v dd 3.3 v 8 17 ma f xx = 3 mhz, 2.2 v v dd < 2.7 v 4 8 ma i dd2 halt mode f xx = 12.5 mhz 8 20 ma f xx = 6 mhz, 2.7 v v dd 3.3 v 3 8 ma f xx = 3 mhz, 2.2 v v dd < 2.7 v 1.3 3.5 ma i dd3 idle mode f xx = 12.5 mhz 1 2.5 ma f xx = 6 mhz, 2.7 v v dd 3.3 v 0.5 1.3 ma f xx = 3 mhz, 2.2 v v dd < 2.7 v 0.3 0.9 ma i dd4 operation f xx = 32 khz 100 200 m a mode note f xx = 32 khz, 2.7 v v dd 3.3 v 55 110 m a f xx = 32 khz, 2.2 v v dd < 2.7 v 50 100 m a i dd5 halt f xx = 32 khz 80 160 m a mode note f xx = 32 khz, 2.7 v v dd 3.3 v 40 80 m a f xx = 32 khz, 2.2 v v dd < 2.7 v 35 70 m a i dd6 idle f xx = 32 khz 75 150 m a mode note f xx = 32 khz, 2.7 v v dd 3.3 v 35 70 m a f xx = 32 khz, 2.2 v v dd < 2.7 v 30 60 m a data retention voltage v dddr halt, idle modes 2.2 5.5 v data retention current i dddr stop mode v dd = 2.2 v 2 10 m a v dd = 4.5 to 5.5 v 10 50 m a pull-up resistor r l v in = 0 v 10 30 100 k w note when main system clock is stopped remark unless otherwise specified, the characteristics of alternate-function pins are the same as those of port pins.
m pd784214,784215,784216,784214y,784215y,784216y 69 data sheet u11725ej2v0ds00 ac characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) (1) read/write operation (1/2) parameter symbol conditions min. typ. max. unit cycle time t cyk 4.5 v v dd 5.5 v 80 ns 2.7 v v dd < 4.5 v 160 ns 2.2 v v dd < 2.7 v 320 ns address setup time (to astb )t sast v dd = 5.0 v (0.5 + a) t C 11 29 ns v dd = 3.0 v (0.5 + a) t C 15 65 ns address hold time (from astb )t hstla v dd = 5.0 v 0.5t C 19 21 ns v dd = 3.0 v 0.5t C 24 56 ns astb high-level width t wsth v dd = 5.0 v (0.5 + a) t C 17 23 ns v dd = 3.0 v (0.5 + a) t C 40 40 ns address hold time (from rd - )t hra v dd = 5.0 v 0.5t C 14 26 ns v dd = 3.0 v 0.5t C 14 66 ns rd delay time from address t dar v dd = 5.0 v (1 + a) t C 24 56 ns v dd = 3.0 v (1 + a) t C 24 136 ns address float time (from rd )t fra 0ns data input time from address t daid v dd = 5.0 v (2.5 + a + n) t C 37 403 ns v dd = 3.0 v (2.5 + a + n) t C 52 828 ns data input time from astb t dstid v dd = 5.0 v (2 + n) t C 35 285 ns v dd = 3.0 v (2 + n) t C 50 590 ns data input time from rd t drid v dd = 5.0 v (1.5 + n) t C 40 240 ns v dd = 3.0 v (1.5 + n) t C 50 510 ns rd delay time from astb t dstr v dd = 5.0 v 0.5t C 9 31 ns v dd = 3.0 v 0.5t C 9 71 ns data hold time (from rd - )t hrid 0ns address active time from rd - t dra v dd = 5.0 v 0.5t C 2 38 ns v dd = 3.0 v 0.5t C 12 68 ns astb - delay time from rd - t drst v dd = 5.0 v 0.5t C 9 31 ns v dd = 3.0 v 0.5t C 9 71 ns rd low-level width t wrl v dd = 5.0 v (1.5 + n) t C 25 95 ns v dd = 3.0 v (1.5 + n) t C 30 210 ns remark t: t cyk = 1/f xx (f xx : main system clock frequency) a: 1 (during address wait), otherwise, 0 n: number of wait states (n 3 0)
m pd784214,784215,784216,784214y,784215y,784216y 70 data sheet u11725ej2v0ds00 ac characteristics (1) read/write operation (2/2) parameter symbol conditions min. typ. max. unit wr delay time from address t daw v dd = 5.0 v (1 + a) t C 24 ns v dd = 3.0 v (1 + a) t C 24 ns address hold time (from wr - )t hwa v dd = 5.0 v 0.5t C 14 ns v dd = 3.0 v 0.5t C 14 ns data output delay time from t dstod v dd = 5.0 v 0.5t + 15 ns astb v dd = 3.0 v 0.5t + 20 ns data output delay time wr t dwod 10 62 ns wr delay time from astb t dstw v dd = 5.0 v 0.5t C 9 ns v dd = 3.0 v 0.5t C 9 ns data setup time (to wr - )t sodwr v dd = 5.0 v (1.5 + n) t C 20 ns v dd = 3.0 v (1.5 + n) t C 25 ns data hold time (from wr - )t hwod v dd = 5.0 v 0.5t C 14 ns v dd = 3.0 v 0.5t C 14 ns astb - delay time (from wr - )t dwst v dd = 5.0 v 0.5t C 9 ns v dd = 3.0 v 0.5t C 9 ns wd low-level width t wwl v dd = 5.0 v (1.5 + n) t C 25 ns v dd = 3.0 v (1.5 + n) t C 30 ns remark t: t cyk = 1/f xx (f xx : main system clock frequency) a: 1 (during address wait), otherwise, 0 n: number of wait states (n 3 0)
m pd784214,784215,784216,784214y,784215y,784216y 71 data sheet u11725ej2v0ds00 ac characteristics (2) external wait timing parameter symbol conditions min. typ. max. unit wait input time from address t dawt v dd = 5.0 v (2 + a) t C 40 ns v dd = 3.0 v (2 + a) t C 60 ns wait input time from astb t dstwt v dd = 5.0 v 1.5t C 40 ns v dd = 3.0 v 1.5t C 60 ns wait hold time from astb t hstwt v dd = 5.0 v (0.5 + n) t + 5 ns v dd = 3.0 v (0.5 + n) t + 10 ns wait - delay time from astb t dstwth v dd = 5.0 v (1.5 + n) t C 40 ns v dd = 3.0 v (1.5 + n) t C 60 ns wait input time from rd t drwtl v dd = 5.0 v t C 40 ns v dd = 3.0 v t C 60 ns wait hold time from rd t hrwt v dd = 5.0 v nt + 5 ns v dd = 3.0 v nt + 10 ns wait - delay time from rd t drwth v dd = 5.0 v (1 + n) t C 40 ns v dd = 3.0 v (1 + n) t C 60 ns data input time from wait - t dwtid v dd = 5.0 v 0.5t C 5 ns v dd = 3.0 v 0.5t C 10 ns rd - delay time from wait - t dwtr v dd = 5.0 v 0.5t ns v dd = 3.0 v 0.5t ns wr - delay time from wait - t dwtw v dd = 5.0 v 0.5t ns v dd = 3.0 v 0.5t ns wait input time from wr t dwwtl v dd = 5.0 v t C 40 ns v dd = 3.0 v t C 60 ns wait hold time from wr t hwwt v dd = 5.0 v nt + 5 ns v dd = 3.0 v nt + 10 ns wait - delay time from wr t dwwth v dd = 5.0 v (1 + n) t C 40 ns v dd = 3.0 v (1 + n) t C 60 ns remark t: t cyk = 1/f xx (f xx : main system clock frequency) a: 1 (during address wait), otherwise, 0 n: number of wait states (n 3 0)
m pd784214,784215,784216,784214y,784215y,784216y 72 data sheet u11725ej2v0ds00 serial operation (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) (a) 3-wire serial i/o mode (sck: internal clock output) parameter symbol conditions min. typ. max. unit serial clock cycle time (sck) t kcy1 2.7 v v dd 5.5 v 800 ns 3200 ns serial clock high/low-level width t kh1 , 2.7 v v dd 5.5 v 350 ns (sck) t kl1 1500 ns si setup time (to sck - )t sik1 2.7 v v dd 5.5 v 10 ns 30 ns si hold time (from sck - )t ksi1 40 ns so output delay time t kso1 30 ns (from sck ) (b) 3-wire serial i/o mode (sck: external clock input) parameter symbol conditions min. typ. max. unit serial clock cycle time (sck) t kcy2 2.7 v v dd 5.5 v 800 ns 3200 ns serial clock high/low-level width t kh2 , 2.7 v v dd 5.5 v 400 ns (sck) t kl2 1600 ns si setup time (to sck - )t sik2 2.7 v v dd 5.5 v 10 ns 30 ns si hold time (from sck - )t ksi2 40 ns so output delay time t kso2 30 ns (from sck ) (c) uart mode parameter symbol conditions min. typ. max. unit asck cycle time t kcy3 4.5 v v dd 5.5 v 417 ns 2.7 v v dd < 4.5 v 833 ns 1667 ns asck high/low-level width t kh3 , 4.5 v v dd 5.5 v 208 ns t kl3 2.7 v v dd < 4.5 v 416 ns 833 ns
m pd784214,784215,784216,784214y,784215y,784216y 73 data sheet u11725ej2v0ds00 (d) i 2 c bus mode ( m pd784216y subseries only) parameter symbol standard mode high-speed mode unit min. max. min. max. scl0 clock frequency f clk 0 100 0 400 khz bus free time (between stop t buf 4.7 CC 1.3 CC m s and start conditions) hold time note 1 t hd : sta 4.0 CC 0.6 CC m s low-level width of scl0 clock t low 4.7 CC 1.3 CC m s high-level width of scl0 clock t high 4.0 CC 0.6 CC m s setup time of start/restart t su : sta 4.7 CC 0.6 CC m s conditions data when using cbus- t hd : dat 5.0 CC CC CC m s hold compatible master time when using i 2 c bus 0 note 2 CC 0 note 2 0.9 note 3 m s data setup time t su : dat 250 CC 100 note 4 CC ns rising time of sda0 and scl0 t r CC 1000 20 + 0.1cb note 5 300 ns signals falling time of sda0 and scl0 t f CC 300 20 + 0.1cb note 5 300 ns signals setup time of stop condition t su : sto 4.0 CC 0.6 CC m s pulse width of spike restricted t sp CC CC 0 50 ns by input filter load capacitance of each bus cb CC 400 CC 400 pf line notes 1. for the start condition, the first clock pulse is generated after the hold time. 2. to fill the undefined area of the scl0 falling edge, it is necessary for the device to provide an internal sda0 signal (on v ihmin. ) with at least 300 ns of hold time. 3. if the device does not extend the scl0 signal low hold time (t low ), only maximum data hold time t hd : dat needs to be satisfied. 4. the high- speed mode i 2 c bus can be used in a standard mode i 2 c bus system. in this case, the conditions described below must be satisfied. ? if the device does not extend the scl0 signal low state hold time t su : dat 3 250 ns ? if the device extends the scl0 signal low state hold time be sure to transmit the data bit to the sda0 line before the scl0 line is released (t rmax. + tsu : dat = 1250 ns by standard mode i 2 c bus specification) 5. cb : total capacitance per one bus line (unit : pf)
m pd784214,784215,784216,784214y,784215y,784216y 74 data sheet u11725ej2v0ds00 other operations (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) parameter symbol conditions min. typ. max. unit nmi high/low-level width t wnil 10 m s t wnih intp input high/low-level width t witl intp0 to intp6 10 m s t with reset high/low-level width t wrsl 10 m s t wrsh clock output operation (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) parameter symbol conditions min. typ. max. unit pcl cycle time t cycl v dd = 4.5 to 5.5 v, nt 80 31250 ns pcl high/low-level width t cll v dd = 4.5 to 5.5 v, 0.5t C 10 30 15615 ns t clh pcl rising/falling time t clr 4.5 v v dd 5.5 v 5 ns t clf 2.7 v v dd < 4.5 v 10 ns 2.2 v v dd < 2.7 v 20 ns remark t: t cyk = 1/f xx (f xx : main system clock frequency) n: divided frequency ratio set by software in the cpu ? when using the main system clock: n = 1, 2, 4, 8, 16, 32, 64, 128 ? when using the subsystem clock: n = 1
m pd784214,784215,784216,784214y,784215y,784216y 75 data sheet u11725ej2v0ds00 a/d converter characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) parameter symbol conditions min. typ. max. unit resolution 888bit total error note 2.7 v av ref0 av dd 1.2 % 2.2 v av ref0 < 2.7 v (only when av ref0 = av dd ) 1.6 % conversion time t conv 14 144 m s sampling time t samp 24/f xx m s analog input voltage v ian av ss av ref0 v reference voltage av ref0 2.2 av dd v resistance between av ref0 and av ss r avref0 29.4 k w note quantization error ( 1/2 lsb) is not included. remark f xx : main system clock frequency d/a converter characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) parameter symbol conditions min. typ. max. unit resolution 888bit total error r = 2 m w , 2.2 v < av ref1 5.5 v 1.2 % r = 4 m w , 2.2 v < av ref1 5.5 v 0.8 % r = 10 m w , 2.2 v < av ref1 5.5 v 0.6 % settling time load conditions: 4.5 v av ref1 5.5 v 10 m s c = 30 pf 2.7 v av ref1 < 4.5 v 15 m s 2.2 v av ref1 < 2.7 v 20 m s output resistance r o dacs0, 1 = 55h 5.3 k w reference voltage av ref1 2.2 v dd v av ref1 current ai ref1 for only 1 channel 2.5 ma
m pd784214,784215,784216,784214y,784215y,784216y 76 data sheet u11725ej2v0ds00 data retention characteristics (t a = C40 to +85 c, v dd = av dd = 2.2 to 5.5 v, v ss = av ss = 0 v) parameter symbol conditions min. typ. max. unit data retention voltage v dddr stop mode 2.2 5.5 v data retention current i dddr v dddr = +4.5 to 5.5 v 10 50 m a v dddr = +2.5 v 2 10 m a v dd rising time t rvd 200 m s v dd falling time t fvd 200 m s v dd hold time t hvd 0ms (from stop mode setting) stop release signal input time t drel 0ms oscillation stabilization wait time t wait crystal resonator 30 ms ceramic resonator 5 ms low-level input voltage v il reset, p00/intp0 to p06/intp6 0 0.1v dddr v high-level input voltage v ih 0.9v dddr v dddr v ac timing test points 0.8v dd or 2.2 v 0.8 v 0.8v dd or 2.2 v 0.8 v test points v dd ?1 v 0.45 v
m pd784214,784215,784216,784214y,784215y,784216y 77 data sheet u11725ej2v0ds00 timing wave form (1) read operation remark the signal is output from pins a0 to a7, when p80 to p87 are unused. (clk) a8-a19 (output) astb (output) rd (output) wait (input) ad0-ad7 (input/output) t cyk higher address hi-z hi-z hi-z higher address a0-a7 (output) lower address lower address data (input) lower address (output) lower address (output) t daid t hra t sast t wsth t dstr t drst t dar t drid t wrl t drwth t dstwt t dstwth t hstwt t hrwt t dawt t dwtr t hstla t fra t dwtid t drwtl t hrid t dra t dstid
m pd784214,784215,784216,784214y,784215y,784216y 78 data sheet u11725ej2v0ds00 (2) write operation remark the signal is output from pins a0 to a7, when p80 to p87 are unused. (clk) a8-a19 (output) astb (output) wait (input) ad0-ad7 (output) t cyk higher address higher address a0-a7 (output) lower address lower address data (output) lower address (output) lower address (output) t daid t hwa t sast t wsth t dstw t dwst t daw t dwod t wwl t dwwth t dstwt t dstwth t hstwt t hwwt t dawt t dwtw t hstla t fra t dwtid t dwwtl t hwod t daw t dstod t sodwr hi-z hi-z hi-z wr (output)
m pd784214,784215,784216,784214y,784215y,784216y 79 data sheet u11725ej2v0ds00 serial operation (1) 3-wire serial i/o mode (2) uart mode sck si/so t kcy1, 2 t kl1, 2 t kh1, 2 t kso1, 2 t sik1, 2 t ksi1, 2 asck t kcy3 t kh3 t kl3 (3) i 2 c bus mode ( m pd784216y subseries only) scl0 sda0 t r t hd : dat t hd : sta t buf t high t su : dat t f t su : sta t hd : sta t sp t su : sto stop condition start condition restart condition stop condition
m pd784214,784215,784216,784214y,784215y,784216y 80 data sheet u11725ej2v0ds00 clock output timing interrupt input timing reset input timing clkout t clh t cll t cycl t clf t clr reset t wrsh t wrsl nmi intp0 to intp6 t wnih t wnil t with t witl
m pd784214,784215,784216,784214y,784215y,784216y 81 data sheet u11725ej2v0ds00 clock timing data retention characteristics x1 t wxh t wxl 1/f x t xf t xr xt1 t xth t xtl 1/f xt v dd reset nmi (clearing by falling edge) nmi (clearing by rising edge) t hvd t fvd t rvd t drel v dddr stop mode setting t wait
m pd784214,784215,784216,784214y,784215y,784216y 82 data sheet u11725ej2v0ds00 14. package drawings remark the external dimensions and material of the es version are the same as those of the mass-produced version. 100-pin plastic lqfp (fine pitch) (14x14) note each lead centerline is located within 0.08 mm of its true position (t.p.) at maximum material condition. item millimeters a b d g 16.00 0.20 14.00 0.20 0.50 (t.p.) 1.00 j 16.00 0.20 k c 14.00 0.20 i 0.08 1.00 0.20 l 0.50 0.20 f 1.00 n p q 0.08 1.40 0.05 0.10 0.05 s100gc-50-8eu-1 s 1.60 max. h 0.22 + 0.05 - 0.04 m 0.17 + 0.03 - 0.07 r3 + 7 - 3 1 25 26 50 100 76 75 51 s s n j detail of lead end c d a b r k m l p i s q g f m h
m pd784214,784215,784216,784214y,784215y,784216y 83 data sheet u11725ej2v0ds00 remark the external dimensions and material of the es version are the same as those of the mass-produced version. 80 81 50 100 1 31 30 51 100-pin plastic qfp (14x20) hi j detail of lead end m q r k m l p s s n g f note each lead centerline is located within 0.15 mm of its true position (t.p.) at maximum material condition. item millimeters a b d g 23.6 0.4 20.0 0.2 0.30 0.10 0.6 h 17.6 0.4 i c 14.0 0.2 0.15 j 0.65 (t.p.) k 1.8 0.2 l 0.8 0.2 f 0.8 p100gf-65-3ba1-4 n p q 0.10 2.7 0.1 0.1 0.1 r5 5 s 3.0 max. m 0.15 + 0.10 - 0.05 c d a b s
m pd784214,784215,784216,784214y,784215y,784216y 84 data sheet u11725ej2v0ds00 15. recommended soldering conditions the m pd784216 should be soldered and mounted under the following recommended conditions. for the details of the recommended soldering conditions, refer to the document semiconductor device mounting technology manual (c10535e) . for soldering methods and conditions other than those recommended below, contact your nec sales representative. table 15-1. soldering conditions for surface mount type (1) m pd784214gc- -8eu : 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784215gc- -8eu : 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784216gc- -8eu : 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784214ygc- -8eu: 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784215ygc- -8eu: 100-pin plastic lqfp (fine pitch) (14 14 mm) m pd784216ygc- -8eu: 100-pin plastic lqfp (fine pitch) (14 14 mm) soldering method soldering conditions recommended condition symbol infrared reflow package peak temperature: 235 c, time: 30 sec. max. (at 210 c or higher), ir35-00-2 count: two times or less vps package peak temperature: 215 c, time: 40 sec. max. (at 200 c or higher), vp15-00-2 count: two times or less partial heating pin temperature: 300 c max., time: 3 sec. max. (per pin row) caution do not use different soldering methods together (except for partial heating). (2) m pd784214gf- -3ba : 100-pin plastic qfp (14 20 mm) m pd784215gf- -3ba : 100-pin plastic qfp (14 20 mm) m pd784216gf- -3ba : 100-pin plastic qfp (14 20 mm) m pd784214ygf- -3ba : 100-pin plastic qfp (14 20 mm) m pd784215ygf- -3ba : 100-pin plastic qfp (14 20 mm) m pd784216ygf- -3ba : 100-pin plastic qfp (14 20 mm) soldering method soldering conditions recommended condition symbol infrared reflow package peak temperature: 235 c, time: 30 sec. max. (at 210 c or higher), ir35-00-2 count: two times or less vps package peak temperature: 215 c, time: 40 sec. max. (at 200 c or higher), vp15-00-2 count: two times or less wave soldering solder bath temperature: 260 c max., time: 10 sec. max., count: once, ws60-00-1 preheating temperature: 120 c max. (package surface temperature) partial heating pin temperature: 300 c max., time: 3 sec. max. (per pin row) caution do not use different soldering methods together (except for partial heating).
m pd784214,784215,784216,784214y,784215y,784216y 85 data sheet u11725ej2v0ds00 appendix a development tools the following development tools are available for system development using the m pd784216. also refer to (5) cautions on using development tools . (1) language processing software ra78k4 assembler package common to 78k/iv series cc78k4 c compiler package common to 78k/iv series df784218 device file common to m pd784216, 784216y subseries cc78k4-l c compiler library source file common to 78k/iv series (2) flash memory writing tools flashpro ii dedicated flash programmer for microcontroller incorporating flash memory (model number: fl-pr2), flashpro iii (model number: fl-pr3, pg-fp3) fa-100gf adapter for writing 100-pin plastic qfp (gf-3ba type) flash memory. connection must be performed depending on the target product. fa-100gc adapter for writing 100-pin plastic lqfp (gc-8eu type) flash memory. connection must be performed depending on the target product. flashpro ii controller, control program that runs on a personal computer and is attached to flashpro ii, flashpro iii controller flashpro iii. operates on windows tm 95, etc. (3) debugging tools ? when ie-78k4-ns in-circuit emulator is used ie-78k4-ns in-circuit emulator common to 78k/iv series ie-70000-mc-ps-b power supply unit for ie-78k4-ns ie-70000-98-if-c interface adapter used when pc-9800 series pc (except notebook type) is used as host machine (c bus supported) ie-70000-cd-if-a note pc card and cable when pc-9800 series notebook pc is used as host machine (pcmcia socket supported) ie-70000-pc-if-c interface adapter when using ibm pc/at tm compatibles as host machine (isa bus supported) ie-70000-pci-if note interface adapter when using pc that incorporates pci bus as host machine ie-784225-ns-em1 emulation board to emulate m pd784216, 784216y subseries np-100gf emulation probe for 100-pin plastic qfp (gf-3ba type) np-100gc emulation probe for 100-pin plastic lqfp (gc-8eu type) ev-9200gf-100 socket to be mounted on a target system board made for 100-pin plastic qfp (gf-3ba type) tgc-100sdw conversion adapter to connect the np-100gc and a target system board on which a 100- pin plastic lqfp (gc-8eu type) can be mounted id78k4-ns integrated debugger for ie-78k4-ns sm78k4 system simulator common to 78k/iv series df784218 device file common to m pd784216, 784216y subseries note under development
m pd784214,784215,784216,784214y,784215y,784216y 86 data sheet u11725ej2v0ds00 ? when ie-784000-r in-circuit emulator is used ie-784000-r in-circuit emulator common to 78k/iv series ie-70000-98-if-c interface adapter used when pc-9800 series pc (except notebook type) is used as host machine (c bus supported) ie-70000-pc-if-c interface adapter when using ibm pc/at and compatibles as host machine (isa bus supported) ie-70000-pci-if note interface adapter when using pc that incorporates pci bus as host machine ie-78000-r-sv3 interface adapter and cable used when ews is used as host machine ie-784225-ns-em1 emulation board to emulate m pd784216, 784216y subseries ie-784216-r-em1 ie-784000-r-em emulation board common to 78k/iv series ie-78k4-r-ex3 emulation probe conversion board necessary when using ie-784225-ns-em1 on ie- 784000-r. not necessary when ie-784216-r-em1 is used. ep-78064gf-r emulation probe for 100-pin plastic qfp (gf-3ba type) ep-78064gc-r emulation probe for 100-pin plastic lqfp (gc-8eu type) ev-9200gf-100 socket to be mounted on a target system board made for 100-pin plastic qfp (gf-3ba type) tgc-100sdw conversion adapter to connect the np-100gc and a target system board on which a 100- pin plastic lqfp (gc-8eu type) can be mounted id78k4 integrated debugger for ie-784000-r sm78k4 system simulator common to 78k/iv series df784218 device file common to m pd784216, 784216y subseries note under development (4) real-time os rx78k/iv real-time os for 78k/iv series mx78k4 os for 78k/iv series
m pd784214,784215,784216,784214y,784215y,784216y 87 data sheet u11725ej2v0ds00 (5) cautions on using development tools ? the id78k4-ns, id78k4, and sm78k4 are used in combination with the df784218. ? the cc78k4 and rx78k/iv are used in combination with the ra78k4 and df784218. ? the fl-pr2, fl-pr3, fa-100gf, fa-100gc, np-100gf, and np-100gc are products made by naito densei machida mfg. co., ltd. (tel: +81-44-822-3813). ? the tgc-100sdw is a product made by tokyo eletech corporation. ? for further information, contact daimaru kogyo, ltd. tokyo electronic division (tel: +81-3-3820-7112) osaka electronic division (tel: +81-6-6244-6672) ? for third party development tools, see the 78k/iv series selection guide (u13355e) . ? the host machine and os suitable for each software are as follows: host machine pc ews [os] pc-9800 series [windows] hp9000 series 700 tm [hp-ux tm ] ibm pc/at and compatibles sparcstation tm [sunos tm , solaris tm ] software [japanese/english windows] news tm (risc) [news-os tm ] ra78k4 ? note ? cc78k4 ? note ? id78k4-ns ? C id78k4 ?? sm78k4 ? C rx78k/iv ? note ? mx78k4 ? note ? note dos-based software
m pd784214,784215,784216,784214y,784215y,784216y 88 data sheet u11725ej2v0ds00 appendix b. related documents documents related to device document name document no. japanese english m pd784214, 784215, 784216, 784214y, 784215y, 784216y data sheet u11725j this document m pd78f4216, 78f4216y data sheet u11824j u11824e m pd784216, 784216y subseries users manual hardware u12015j u12015e m pd784216y subseries special function register table u12046j C 78k/iv series users manual instructions u10905j u10905e 78k/iv series instruction table u10594j C 78k/iv series instruction set u10595j C 78k/iv series application note software basics u10095j u10095e documents related to development tool (users manual) document name document no. japanese english ra78k4 assembler package language u11162j u11162e operation u11334j u11334e ra78k structured assembler preprocessor u11743j u11743e cc78k4 c compiler language u11571j u11571e operation u11572j u11572e ie-78k4-ns u13356j u13356e ie-784000-r u12903j u12903e ie-784218-r-em1 u12155j u12155e ie-784225-ns-em1 u13742j to be prepared ep-78064 eeu-934 eeu-1469 sm78k4 system simulator windows based reference u10093j u10093e sm78k series system simulator external part user open u10092j u10092e interface specifications id78k4-ns integrated debugger pc based reference u12796j u12796e id78k4 integrated debugger windows based reference u10440j u10440e id78k4 integrated debugger hp-ux, sunos, news-os based reference u11960j u11960e caution the contents of the above related documents are subject to change without notice. be sure to use the latest edition of a document for designing.
m pd784214,784215,784216,784214y,784215y,784216y 89 data sheet u11725ej2v0ds00 documents related to embedded software (users manual) document name document no. japanese english 78k/iv series real-time os fundamental u10603j u10603e installation u10604j u10604e debugger u10364j C 78k/iv series os mx78k4 fundamental u11779j C other documents document name document no. japanese english semiconductors selection guide products & packages (cd-rom) x13769x semiconductor device mounting technology manual c10535j c10535e quality grades on nec semiconductor devices c11531j c11531e nec semiconductor device reliability/quality control system c10983j c10983e guide to prevent damage for semiconductor devices by electrostatic discharge (esd) c11892j c11892e guide to microcontroller-related products by third parties u11416j C caution the related documents listed above are subject to change without notice. be sure to use the latest version of each document for designing.
m pd784214,784215,784216,784214y,784215y,784216y 90 data sheet u11725ej2v0ds00 notes for cmos devices 1 precaution against esd for semiconductors note: strong electric field, when exposed to a mos device, can cause destruction of the gate oxide and ultimately degrade the device operation. steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate it once, when it has occurred. environmental control must be adequate. when it is dry, humidifier should be used. it is recommended to avoid using insulators that easily build static electricity. semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. all test and measurement tools including work bench and floor should be grounded. the operator should be grounded using wrist strap. semiconductor devices must not be touched with bare hands. similar precautions need to be taken for pw boards with semiconductor devices on it. 2 handling of unused input pins for cmos note: no connection for cmos device inputs can be cause of malfunction. if no connection is provided to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence causing malfunction. cmos devices behave differently than bipolar or nmos devices. input levels of cmos devices must be fixed high or low by using a pull-up or pull-down circuitry. each unused pin should be connected to v dd or gnd with a resistor, if it is considered to have a possibility of being an output pin. all handling related to the unused pins must be judged device by device and related specifications governing the devices. 3 status before initialization of mos devices note: power-on does not necessarily define initial status of mos device. production process of mos does not define the initial operation status of the device. immediately after the power source is turned on, the devices with reset function have not yet been initialized. hence, power-on does not guarantee out-pin levels, i/o settings or contents of registers. device is not initialized until the reset signal is received. reset operation must be executed immediately after power-on for devices having reset function. iebus is a trademark of nec corporation. windows is a registered trademark or a trademark of microsoft corporation in the united states and/or other countries. pc/at is a trademark of international business machines corporation. hp9000 series 700 and hp-ux are trademarks of hewlett-packard company. sparcstation is a trademark of sparc international, inc. solaris and sunos are trademarks of sun microsystems, inc. news and news-os are trademarks of sony corporation. purchase of nec i 2 c components conveys a license under the philips i 2 c patent rights to use these components in an i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips.
m pd784214,784215,784216,784214y,784215y,784216y 91 data sheet u11725ej2v0ds00 nec electronics inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 800-729-9288 nec electronics (germany) gmbh duesseldorf, germany tel: 0211-65 03 02 fax: 0211-65 03 490 nec electronics (uk) ltd. milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 nec electronics italiana s.r.l. milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99 nec electronics hong kong ltd. hong kong tel: 2886-9318 fax: 2886-9022/9044 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-528-0303 fax: 02-528-4411 nec electronics singapore pte. ltd. united square, singapore 1130 tel: 65-253-8311 fax: 65-250-3583 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec do brasil s.a. electron devices division rodovia presidente dutra, km 214 07210-902-guarulhos-sp brasil tel: 55-11-6465-6810 fax: 55-11-6465-6829 nec electronics (germany) gmbh benelux office eindhoven, the netherlands tel: 040-2445845 fax: 040-2444580 nec electronics (france) s.a. velizy-villacoublay, france tel: 01-30-67 58 00 fax: 01-30-67 58 99 nec electronics (france) s.a. spain office madrid, spain tel: 91-504-2787 fax: 91-504-2860 nec electronics (germany) gmbh scandinavia office taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388 regional information some information contained in this document may vary from country to country. before using any nec product in your application, please contact the nec office in your country to obtain a list of authorized representatives and distributors. they will verify: ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. j99.1
m pd784214,784215,784216,784214y,784215y,784216y the export of this product from japan is regulated by the japanese government. to export this product may be prohibited without governmental license, the need for which must be judged by the customer. the export or re-export of this product from a country other than japan may also be prohibited without a license from that country. please call an nec sales representative. the related documents indicated in this publication may include preliminary versions. however, preliminary versions are not marked as such. the information in this document is subject to change without notice. before using this document, please confirm that this is the latest version. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or others. descriptions of circuits, software, and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software, and information in the design of the customer's equipment shall be done under the full responsibility of the customer. nec corporation assumes no responsibility for any losses incurred by the customer or third parties arising from the use of these circuits, software, and information. while nec corporation has been making continuous effort to enhance the reliability of its semiconductor devices, the possibility of defects cannot be eliminated entirely. to minimize risks of damage or injury to persons or property arising from a defect in an nec semiconductor device, customers must incorporate sufficient safety measures in its design, such as redundancy, fire-containment, and anti-failure features. nec devices are classified into the following three quality grades: "standard", "special", and "specific". the specific quality grade applies only to devices developed based on a customer designated quality assurance program for a specific application. the recommended applications of a device depend on its quality grade, as indicated below. customers must check the quality grade of each device before using it in a particular application. standard: computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots special: transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) specific: aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems or medical equipment for life support, etc. the quality grade of nec devices is "standard" unless otherwise specified in nec's data sheets or data books. if customers intend to use nec devices for applications other than those specified for standard quality grade, they should contact an nec sales representative in advance. m7 98.8


▲Up To Search▲   

 
Price & Availability of UPD784214GF-XXX-3BA

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X