| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
µPD784031Y 16-/8-BIT SINGLE-CHIP MICROCONTROLLERS µPD784031Y
Top Searches for this datasheetINTEGRATED CIRCUIT µPD784031Y 16-/8-BIT SINGLE-CHIP MICROCONTROLLERS µPD784031Y based µPD784031 with control function appended, ideal applications audio-visual systems. µPD784031Y ROM-less version µPD784035Y 784036Y. functions explained detail following User's Manual. sure read this manual when designing your system. µPD784038, 784038Y Subseries User's Manual Hardware U11316E 78K/IV Series User's Manual Instruction U10905E FEATURES 78K/IV Series Pin-compatible with µPD78234 Subseries, Timer/counter 16-bit Timer/counter units 16-bit Timer unit Standby function HALT/STOP/IDLE mode Clock division function Watchdog timer: channel converter: 8-bit resolution channels converter: 8-bit resolution channels bus): Supply voltage: µPD784026 Subseries, µPD784038 Subseries Minimum instruction execution time: 32-MHz operation) ports: Serial interface: channels UART/IOE (3-wire serial I/O): channels (3-wire serial I/O, 2-wire serial I/O, channel output: outputs APPLICATION FIELDS Cellular phones, cordless phones, audio-visual systems, etc. ORDERING INFORMATION Part Number Package Internal (Bytes) Internal (Bytes) µPD784031YGC-3B9 µPD784031YGC-8BT µPD784031YGK-BE9 80-pin plastic thickness 80-pin plastic thickness 80-pin plastic TQFP (fine pitch) None None None 2048 2048 2048 information this document subject change without notice. Document U11504EJ1V0DS00 (1st edition) Date Published July 1997 Printed Japan mark shows major revised points. 1996 µPD784031Y 78K/IV SERIES PRODUCT DEVELOPMENT Under mass production Under development supported µPD784038Y Standard models µPD784026 Enhanced A/D, 16-bit timer, power management µPD784038 Enhanced internal memory capacity, compatible with µPD784026 Multimaster supported µPD784216Y µPD784216 pins, enhanced internal memory capacity µPD784054 Multimaster supported µPD784225Y µPD784225 pins, added correction Multimaster supported µPD784218Y µPD784218 Enhanced internal memory capacity, added correction µPD784046 ASSP models µPD784908 Equipped with IEBuscontroller µPD78F4943 CD-ROM, 56-Kbyte flash memory µPD784915 Equipped with analog circuit software servo control VCR, enhanced timer Multimaster supported µPD784928Y µPD784928 Enhanced function µPD784915 Equipped with 10-bit µPD784031Y FUNCTIONS Item Number basic instructions (mnemonics) General-purpose register Minimum instruction execution time Internal memory Memory space port Total Input Output Pins with ancillary functionNote Pins with pullup resistor LEDs direct drive output Transistor direct drive Real-time output port Timer/counter bits registers banks, bits registers banks (memory mapping) ns/250 ns/500 ns/1000 MHz) None 2048 bytes Mbytes with program data spaces combined bits bits Timer/counter Timer register Capture register Compare register bits) Timer/counter Timer register Capture register (8/16 bits) Capture/compare register Compare register Timer/counter Timer register Capture register (8/16 bits) Capture/compare register Compare register Timer (8/16 bits) output Serial interface converter converter Watchdog timer Standby Interrupt Hardware source Software source Non-maskable Maskable Timer register Compare register Pulse output Toggle output PWM/PPG output One-shot pulse output Pulse output Real-time output bits Function Pulse output Toggle output PWM/PPG output 12-bit resolution channels UART/IOE (3-wire serial I/O) channels (on-chip baud rate generator) (3-wire serial I/O, 2-wire serial I/O, bus) channel 8-bit resolution channels 8-bit resolution channels channel HALT/STOP/IDLE mode (internal: external: (variable sampling clock input: instruction, BRKCS instruction, operand error Internal: external: Internal: external: programmable priority levels processing styles: vectored interrupt/macro service/context switching Supply voltage Package 80-pin plastic thickness 80-pin plastic thickness 80-pin plastic TQFP (fine pitch) Note pins with ancillary function included pins. µPD784031Y CONTENTS DIFFERENCES AMONG MODELS µPD784038Y SUBSERIES MAJOR DIFFERENCES FROM µPD784026 SUBSERIES µPD78234 SUBSERIES CONFIGURATION (Top View) BLOCK DIAGRAM FUNCTION Port Pins Non-port Pins Types Circuits Connections Unused Pins ARCHITECTURE Memory Space Registers 6.2.1 6.2.2 6.2.3 General-purpose registers Control registers Special function registers (SFRs) PERIPHERAL HARDWARE FUNCTIONS Ports Clock Generation Circuit Real-time Output Port Timer/Counter Output (PWM0, PWM1) Converter Converter Serial Interface 7.8.1 7.8.2 Asynchronous serial interface/3-wire serial (UART/IOE) Clocked serial interface (CSI) Edge Detection Function 7.10 Watchdog Timer INTERRUPT FUNCTION Interrupt Sources Vectored Interrupt Context Switching Macro Service Application Example Macro Service µPD784031Y LOCAL INTERFACE Memory Expansion Memory Space Programmable Wait Pseudo Static Refresh Function Hold Function STANDBY FUNCTION RESET FUNCTION INSTRUCTION ELECTRICAL SPECIFICATIONS PACKAGE DRAWINGS RECOMMENDED SOLDERING CONDITIONS APPENDIX DEVELOPMENT TOOLS APPENDIX RELATED DOCUMENTS µPD784031Y DIFFERENCES AMONG MODELS µPD784038Y SUBSERIES only difference among µPD784031Y, 784035Y, 784036Y, 784037Y, 784038Y lies internal memory capacity. µPD78P4038Y provided with 128-Kbyte one-time PROM EPROM instead mask µPD784035Y, 784036Y, 784037Y, 784038Y. These differences summarized Table 1-1. Table 1-1. Differences among Models µPD784038Y Subseries Part Number Item Internal None Kbytes (mask ROM) Kbytes (mask ROM) Kbytes (mask ROM) Kbytes (mask ROM) Kbytes (one-time PROM EPROM) Internal Package 2048 bytes 80-pin plastic thickness 80-pin plastic thickness 80-pin plastic TQFP (fine pitch) 80-pin ceramic WQFN 3584 bytes 4352 bytes µPD784031Y µPD784035Y µPD784036Y µPD784037Y µPD784038Y µPD78P4038Y µPD784031Y MAJOR DIFFERENCES FROM µPD784026 SUBSERIES µPD78234 SUBSERIES Series Name Item Number basic instructions (mnemonics) Minimum instruction execution time 32-MHz operation) Memory space (program/data) Timer/counter Mbytes combined 16-bit timer/counter 8-/16-bit timer/counter 8-/16-bit timer Clock output function Watchdog timer Serial interface Provided Provided UART/IOE (3-wire serial I/O) channels (3-wire serial I/O, 2-wire serial I/O, busNote) channel Interrupt Context switching Priority Standby function Operating clock function MODE levels HALT/STOP/IDLE mode Selectable from fXX/2, fXX/4, fXX/8, fXX/16 None levels HALT/STOP mode Fixed fXX/2 Specifies ROM-less mode (always high level with Provided None UART/IOE (3-wire serial I/O) channels (3-wire serial I/O, SBI) channel 25-MHz operation) 12-MHz operation) Kbytes/1 Mbytes 16-bit timer/counter 8-bit timer/counter 8-bit timer None None UART channel (3-wire serial I/O, SBI) channel µPD784038Y Subseries µPD784038 Subseries µPD784026 Subseries µPD78234 Subseries µPD78233 78237) TEST Device test Usually, level Package 80-pin plastic thickness 80-pin plastic thickness 80-pin plastic TQFP (fine pitch) 80-pin ceramic WQFN mm): 80-pin plastic thickness 80-pin plastic TQFP (fine pitch) mm): 80-pin plastic thickness 94-pin plastic 84-pin plastic (1150 1150 mil) 94-pin ceramic WQFN mm): None µPD784021 only 80-pin ceramic WQFN mm): µPD78P4026 only µPD78P4038Y 78P4038 only µPD78P238 only Note µPD784038Y Subseries only µPD784031Y CONFIGURATION (Top View) 80-pin plastic thickness µPD784031YGC-3B9 80-pin plastic thickness µPD784031YGC-8BT 80-pin plastic TQFP (fine pitch) µPD784031YGK-BE9 P31/TxD/SO1 P30/RxD/SI1 P27/SI0 P26/INTP5 P25/INTP4/ASCK/SCK1 P24/INTP3 P23/INTP2/CI P22/INTP1 P21/INTP0 P20/NMI AVREF3 AVREF2 ANO1 ANO0 AVSS AVREF1 AVDD P77/ANI7 P76/ANI6 P75/ANI5 P32/SCK0/SCL P33/SO0/SDA P34/TO0 P35/TO1 P36/TO2 P37/TO3 RESET VDD1 VSS1 P67/REFRQ/HLDAK 2021 4041 P74/ANI4 P73/ANI3 P72/ANI2 P71/ANI1 P70/ANI0 VDD0 P14/TxD2/SO2 P13/TxD2/SI2 P12/ASCK2/SCK2 P11/PWM1 P10/PWM0 TESTNote VSS0 ASTB Note Directly connect TEST VSS0. P66/WAIT/HLDRQ P63/A19 P62/A18 P61/A17 P60/A16 µPD784031Y ANI0 ANI7 ANO0, ANO1 ASCK, ASCK2 ASTB AVDD AVSS HLDAK HLDRQ INTP0 INTP5 Address Address/Data Analog Input Analog Output Asynchronous Serial Clock Address Strobe Analog Power Supply Analog Ground Clock Input Hold Acknowledge Hold Request Interrupt from Peripherals Non-maskable Interrupt Port0 Port1 Port2 Port3 PWM0, PWM1 REFRQ RESET RxD, RxD2 SCK0 SCK2 TEST TxD, TxD2 VDD0, VDD1 VSS0, VSS1 WAIT Port7 Pulse Width Modulation Output Read Strobe Refresh Request Reset Receive Data Serial Clock Serial Clock Serial Data Serial Input Serial Output Test Timer Output Transmit Data Power Supply Ground Wait Write Strobe Crystal AVREF1 AVREF3 Reference Voltage P63, P66, Port6 µPD784031Y BLOCK DIAGRAM UART/IOE2 BAUD-RATE GENERATOR UART/IOE1 BAUD-RATE GENERATOR RxD/SI1 TxD/SO1 ASCK/SCK1 RxD2/SI2 TxD2/SO2 ASCK2/SCK2 INTP0 INTP5 PROGRAMMABLE INTERRUPT CONTROLLER INTP3 TIMER/COUNTER0 BITS) INTP0 TIMER/COUNTER1 BITS) CLOCKED SERIAL INTERFACE SCK0/SCL SO0/SDA ASTB WAIT/HLDRQ REFRQ/HLDAK INTP1 INTP2/CI TIMER/COUNTER2 BITS) 78K/IV CORE TIMER3 BITS) REAL-TIME OUTPUT PORT PORT0 PORT1 PWM0 PWM1 ANO0 ANO1 AVREF2 AVREF3 ANI0 ANI7 AVDD AVREF1 AVSS INTP5 PORT2 PORT3 CONVERTER PORT6 CONVERTER WATCHDOG TIMER PORT7 SYSTEM CONTROL RESET TEST VDD0, VDD1 VSS0, VSS1 µPD784031Y FUNCTION Port Pins Name Alternate Function Port (P0): 8-bit port used real-time output port bits input output mode bitwise. Pins input mode connected internal pull-up resistors software. drive transistor. Input INTP0 INTP1 INTP2/CI INTP3 INTP4/ASCK/SCK1 INTP5 RxD/S1 TxD/SO1 SCK0/SCL SO0/SDA WAIT/HLDRQ REFRQ/HLDAK Port (P6): through dedicated ports output. input output mode bitwise. Pins input mode connected internal pull-up resistors software. AN10 AN17 Port (P7): 8-bit port input output mode bitwise. Port (P3): 8-bit port input output mode bitwise. Pins input mode connected internal pull-up resistors software. PWM0 PWM1 ASCK2/SCK2 RxD2/SI2 TxD2/SO2 Port (P2): 8-bit input port cannot used general-purpose port (non-maskable interrupt). However, input level checked interrupt routine. through connected internal pull-up resistors software 6-bit units. P25/INTP4/ASCK/SCK1 operate SCK1 output specified CSIM1. Port (P1): 8-bit port input output mode bitwise. Pins input mode connected internal pull-up resistors software. drive LEDs. Function µPD784031Y Non-port Pins Name RxD2 TxD2 ASCK ASCK2 SCK0 SCK1 SCK2 INTP0 INTP1 INTP2 INTP3 INTP4 INTP5 WAIT REFRQ HLDRQ HLDAK ASTB Output Output Output Output Input Output Input Output Output Input Output Input Input Output Output Input Input Alternate Function P23/INTP2 P30/SI1 P13/SI2 P31/SO1 P14/SO2 P25/INTP4/SCK1 P12/SCK2 P33/SO0 P30/RxD P13/RxD2 P33/SDA P31/TxD P14/TxD2 P32/SCL P25/INTP4/ASCK P12/ASCK2 P32/SCK0 P23/CI P25/ASCK/SCK1 P66/HLDRQ P67/HLDAK P66/WAIT P67/REFRQ Timer output Count clock input timer/counter Serial data input (UART0) Serial data input (UART2) Serial data output (UART0) Serial data output (UART2) Baud rate clock input (UART0) Baud rate clock input (UART2) Serial data input/output (2-wire serial I/O, bus) Serial data input (3-wire serial I/O0) Serial data input (3-wire serial I/O1) Serial data input (3-wire serial I/O2) Serial data output (3-wire serial I/O0) Serial data output (3-wire serial I/O1) Serial data output (3-wire serial I/O2) Serial clock input/output (3-wire serial I/O0) Serial clock input/output (3-wire serial I/O1) Serial clock input/output (3-wire serial I/O2) Serial clock input/output (2-wire serial I/O, bus) External interrupt requests Count clock input timer/counter Capture trigger signal CR11 CR12 Count clock input timer/counter Capture trigger signal CR22 Count clock input timer/counter Capture trigger signal CR21 Count clock input timer/counter Capture trigger signal CR02 Conversion start trigger input converter Time-division address/data (for external memory connection) Higher address (for external memory connection) Higher address when address extended (for external memory connection) Read strobe external memory Write strobe external memory Wait insertion Refresh pulse output external pseudo static memory hold request input hold acknowledge output Latch timing output time-division address through (when accessing external memory) Function µPD784031Y Name RESET ANI0 ANI7 ANO0, ANO1 AVREF1 AVREF2, AVREF3 AVDD AVSS VDD0Note VDD1Note VSS0Note VSS1Note TEST Input Input Input Output Alternate Function Chip reset Function Crystal connection system clock oscillation (Clock also input X1.) Analog voltage input converter Analog voltage output from converter Reference voltage converter Reference voltage converter converter power supply converter Power supply port Power supply except port port except port Directly connect VSS0 test pin). Notes Provide same potential VDD0 VDD1. Provide same potential VSS0 VSS1. µPD784031Y Types Circuits Connections Unused Pins Table shows types circuits connections unused pins. input/output circuit each type, refer Figure 5-1. Table 5-1. Types Circuits Connections Unused Pins (1/2) Name P10/PWM0 P11/PWM1 P12/ASCK2/SCK2 P13/RxD2/SI2 P14/TxD2/SO2 P20/NMI P21/INTP0 P22/INTP1 P23/INTP2/CI P24/INTP3 P25/INTP4/ASCK/SCK1 Input: Connect VDD0. Output: Open P26/INTP5 P27/SI0 P30/RxD/SI1 P31/TxD/SO1 P32/SCK0/SCL P33/SO0/SDA P34/TO0 P37/TO3 P60/A16 P63/A19 P66/WAIT/HLDRQ P67/REFRQ/HLDAK P70/ANI0 P77/ANI7 20-A Input: Connect VDD0. Output: Open Input: Connect VDD0 VSS0. Output: Open ANO0, ANO1 ASTB Output Open OutputNote Open 10-B Input: Connect VDD0. Output: Open Input Connect VDD0. Connect VDD0. Input Connect VDD0 VSS0. Circuit Type Recommended Connection Unused Pins Input: Connect VDD0. Output: Open Note circuit type these pins 5-H. However these pins perform only output internal circuit. µPD784031Y Table 5-1. Types Circuits Connections Unused Pins (2/2) Name RESET TEST AVREF1 AVREF3 AVSS AVDD Connect VDD0. Circuit Type Input Directly connect VSS0. Connect VSS0. Recommended Connection Unused Pins Caution Connect whose input/output mode unstable VDD0 resistor several (especially voltage reset input rises higher than low-level input level power application when mode switched between input output software). Remark Because circuit type numbers shown above table commonly used with models Series, these numbers some models serial (because some circuits provided some models). µPD784031Y Figure 5-1. Types Circuits Type VDD0 VSS0 Type pullup enable Type VDD0 Schmitt trigger input with hysteresis characteristics Schmitt trigger input with hysteresis characteristics Type VDD0 Type VDD0 data pullup enable data VDD0 IN/OUT output disable VSS0 output disable input enable Type VSS0 Push-pull output that into high-impedance state (with both P-ch N-ch off) Type VDD0 pullup enable data VDD0 IN/OUT Analog output voltage output disable VSS0 Type 10-B VDD0 Type 20-A data VDD0 IN/OUT pullup enable VDD0 data output disable IN/OUT Comparator VSS0 input enable VSS0 open drain output disable AVSS AVREF (threshold voltage) µPD784031Y ARCHITECTURE Memory Space memory space Mbytes accessed. Mapping internal data area (special function registers internal RAM) specified LOCATION instruction. LOCATION instruction must always executed after reset cancellation, must used more than once. When LOCATION instruction executed internal data area mapped 0F700H 0FFFFH. When LOCATION instruction executed internal data area mapped FF700H FFFFFH. execution LOCATION instruction Figure 6-1. Memory µPD784031Y execution LOCATION instruction FDFH FD0H Special function registers (SFR) (256 bytes) External memory (960 Kbytes) General-purpose registers (128 bytes) FFE8 Internal Kbytes) FDFH FD0H Special function registers (SFR) (256 bytes) Macro service control word area bytes) Data area (512 bytes) FFE0 Internal Kbytes) Program/data area (1536 bytes) External memory (1046272 bytes) Note External memory (63232 bytes) CALLF entry area Kbytes) Note CALLT table area bytes) Vector table area bytes) µPD784031Y Note Base area entry area reset interrupt. However, internal area used reset entry area. µPD784031Y Registers 6.2.1 General-purpose registers Sixteen 8-bit general-purpose registers available. 8-bit registers also used pairs 16-bit register. 16-bit registers, four used combination with 8-bit register address expansion 24-bit address specification registers. Eight banks these registers available which selected using software context switching function. general-purpose registers except registers address expansion mapped internal RAM. Figure 6-2. General-purpose Register Format (R1) (RP0) (R3) (RP1) (RG4) (RP4) (R0) (R2) (RP5) (RG5) (R13) (R12) (RP6) (RG6) (R15) (R14) banks (RG7) (RP7) indicate absolute name. Parentheses Caution Registers RP2, used registers, respectively, setting However, this function only recycling program 78K/III Series. µPD784031Y 6.2.2 Control registers Program counter (PC) program counter 20-bit register whose contents automatically updated when program executed. Figure 6-3. Program Counter (PC) Format Program status word (PSW) This register holds statuses CPU. contents automatically updated when program executed. Figure 6-4. Program Status Word (PSW) Format PSWH PSWL Note RBS2 RBS1 RBS0 Note This flag provided maintain compatibility with 78K/III Series. sure clear this flag except when software 78K/III Series used. Stack pointer (SP) This 24-bit pointer that holds first address stack. sure write higher bits this pointer. Figure 6-5. Stack Pointer (SP) Format µPD784031Y 6.2.3 Special function registers (SFRs) special function registers, such mode registers control registers internal peripheral hardware, registers which special functions allocated. These registers mapped 256-byte space addresses 0FF00H through 0FFFFHNote. Note execution LOCATION instruction. FFF00H through FFFFFH execution LOCATION instruction. Caution access address this area which allocated. such address accessed mistake, µPD784031Y deadlock status. This deadlock status cleared only inputting reset signal. Table lists special function registers (SFRs). meanings symbols this table follows: Symbol Symbol indicating SFR. This symbol reserved NEC's assembler (RA78K4). used variable #pragma command with compiler (CC78K4). Indicates whether read-only, write-only, read/write. Read/write units manipulation Read-only Write-only units which value manipulated. SFRs that manipulated 16-bit units described operand sfrp instruction. specify address this SFR, describe even address. SFRs that manipulated 1-bit units described operand manipulation instruction. After reset Indicates status register when RESET signal been input. µPD784031Y Table 6-1. Special Function Registers (SFRs) (1/4) AddressNote Special Function Register (SFR) Name Symbol Units Manipulation 0FF00H 0FF01H 0FF02H 0FF03H 0FF06H 0FF07H 0FF0EH 0FF0FH 0FF10H 0FF12H 0FF14H 0FF15H 0FF16H 0FF17H 0FF18H 0FF19H 0FF1AH 0FF1BH 0FF1CH 0FF1DH 0FF20H 0FF21H 0FF23H 0FF26H 0FF27H 0FF2EH 0FF30H 0FF31H 0FF32H 0FF33H Port buffer register Compare register (timer/counter Capture/compare register (timer/counter Compare register (timer/counter Compare register (timer/counter Capture/compare register (timer/counter Capture/compare register (timer/counter Compare register (timer/counter Compare register (timer/counter Capture/compare register (timer/counter Capture/compare register (timer/counter Compare register (timer Compare register (timer Port mode register Port mode register Port mode register Port mode register Port mode register Real-time output port control register Capture/compare control register Timer output control register Capture/compare control register Capture/compare control register Port Port Port Port Port Port Port buffer register CR00 CR01 CR10 CR10W CR11 CR11W CR20 CR20W CR21 CR21W CR30 CR30W RTPC CRC0 CRC1 CRC2 bits bits Undefined Undefined After Reset Note When LOCATION instruction executed. When LOCATION instruction executed, "F0000H" added this value. µPD784031Y Table 6-1. Special Function Registers (SFRs) (2/4) AddressNote Special Function Register (SFR) Name Symbol Units Manipulation 0FF36H 0FF38H 0FF39H 0FF3AH 0FF3BH 0FF41H 0FF43H 0FF4EH 0FF50H 0FF51H 0FF52H 0FF53H 0FF54H 0FF55H 0FF56H 0FF57H 0FF5CH 0FF5DH 0FF5EH 0FF5FH 0FF60H 0FF61H 0FF62H 0FF68H 0FF6AH 0FF70H 0FF71H 0FF72H 0FF74H 0FF7DH 0FF80H 0FF81H 0FF82H 0FF83H Prescaler mode register Timer control register Prescaler mode register Timer control register conversion value setting register conversion value setting register converter mode register converter mode register conversion result register control register prescaler register modulo register modulo register One-shot pulse output control register control register Timer register Timer register Timer register PRM0 TMC0 PRM1 TMC1 DACS0 DACS1 ADCR PWMC PWPR PWM0 PWM1 OSPC IICC SPRM CSIM R/WNote TM3W TM2W TM1W Capture register (timer/counter Capture register (timer/counter Capture register (timer/counter Capture register (timer/counter Capture register (timer/counter Port mode control register Port mode control register Pull-up resistor option register Timer register CR02 CR12 CR12W CR22 CR22W PMC1 PMC3 Note bits Undefined Undefined 0000H bits 0000H After Reset Prescaler mode register serial clock Clocked serial interface mode register Slave address register Notes When LOCATION instruction executed. When LOCATION instruction executed, "F0000H" added this value. read-only. Only manipulated units. µPD784031Y Table 6-1. Special Function Registers (SFRs) (3/4) AddressNote Special Function Register (SFR) Name Symbol Units Manipulation 0FF84H 0FF85H 0FF86H 0FF88H 0FF89H 0FF8AH 0FF8BH 0FF8CH Clocked serial interface mode register Clocked serial interface mode register Serial shift register Asynchronous serial interface mode register Asynchronous serial interface mode register Asynchronous serial interface status register Asynchronous serial interface status register Serial receive buffer: UART0 Serial transmit shift register: UART0 Serial shift register: IOE1 0FF8DH Serial receive buffer: UART2 Serial transmit shift register: UART2 Serial shift register: IOE2 0FF90H 0FF91H 0FFA0H 0FFA1H 0FFA4H 0FFA8H 0FFAAH 0FFACH 0FFADH 0FFAEH 0FFC0H 0FFC2H 0FFC4H 0FFC5H 0FFC6H 0FFC7H 0FFC8H Baud rate generator control register Baud rate generator control register External interrupt mode register External interrupt mode register Sampling clock select register In-service priority register Interrupt mode control register Interrupt mask register Interrupt mask register Interrupt mask register Standby control register Watchdog timer mode register Memory expansion mode register Hold mode register Clock output mode register Programmable wait control register Programmable wait control register CSIM1 CSIM2 ASIM ASIM2 ASIS ASIS2 SIO1 RXB2 TXS2 SIO2 BRGC BRGC2 INTM0 INTM1 SCS0 ISPR MK0L MK0H MK1L STBC HLDM CLOM PWC1 PWC2 bits Note Note AAAAH bits FFFFH Undefined After Reset Notes When LOCATION instruction executed. When LOCATION instruction executed, "F0000H" added this value. Data written using only dedicated instructions such STBC, #byte WDM, #byte, cannot written with other instructions. µPD784031Y Table 6-1. Special Function Registers (SFRs) (4/4) AddressNote Special Function Register (SFR) Name Symbol Units Manipulation 0FFCCH 0FFCDH 0FFCFH Refresh mode register Refresh area specification register Oscillation stabilization time specification register 0FFD0H 0FFDFH 0FFE0H 0FFE1H 0FFE2H 0FFE3H 0FFE4H 0FFE5H 0FFE6H 0FFE7H 0FFE8H 0FFE9H 0FFEAH 0FFEBH 0FFECH 0FFEDH 0FFEEH 0FFEFH Interrupt control register (INTP0) Interrupt control register (INTP1) Interrupt control register (INTP2) Interrupt control register (INTP3) Interrupt control register (INTC00) Interrupt control register (INTC01) Interrupt control register (INTC10) Interrupt control register (INTC11) Interrupt control register (INTC20) Interrupt control register (INTC21) Interrupt control register (INTC30) Interrupt control register (INTP4) Interrupt control register (INTP5) Interrupt control register (INTAD) Interrupt control register (INTSER) Interrupt control register (INTSR) Interrupt control register (INTCSI1) 0FFF0H 0FFF1H 0FFF2H 0FFF3H Interrupt control register (INTST) Interrupt control register (INTCSI) Interrupt control register (INTSER2) Interrupt control register (INTSR2) Interrupt control register (INTCSI2) 0FFF4H 0FFF5H Interrupt control register (INTST2) Interrupt control register (INTSPC) PIC0 PIC1 PIC2 PIC3 CIC00 CIC01 CIC10 CIC11 CIC20 CIC21 CIC30 PIC4 PIC5 ADIC SERIC SRIC CSIIC1 STIC CSIIC SERIC2 SRIC2 CSIIC2 STIC2 SPCIC External area OSTS bits bits After Reset Note When LOCATION instruction executed. When LOCATION instruction executed, "F0000H" added this value. µPD784031Y PERIPHERAL HARDWARE FUNCTIONS Ports ports shown Figure provided make various control operations possible. Table shows function each port. Ports through connected internal pull-up resistors software when inputting. Figure 7-1. Port Configuration Port Port Port Port Port Port µPD784031Y Table 7-1. Port Functions Port Name Name Function Specification Pull-up Resistor Connection Software Port input output mode 1-bit units. operate 4-bit real-time output port (P00 through through P07). drive transistor. Port input output mode 1-bit units. drive LEDs. Port Port Port P66, Port Input port input output mode 1-bit units. Output only input output mode 1-bit units. input output mode 1-bit units. 6-bit units (P22 through P27) port pins input mode port pins input mode port pins input mode port pins input mode Clock Generation Circuit on-chip clock generation circuit necessary operation provided. This clock generation circuit divider circuit. high-speed operation necessary, internal operating frequency lowered divider circuit reduce current consumption. Figure 7-2. Block Diagram Clock Generation Circuit Oscillation circuit Selector fCLK Peripheral circuit fXX/2 UART/IOE INTP0 noise reduction circuit Oscillation stabilization timer Remark oscillation frequency external clock input fCLK internal operating frequency µPD784031Y Figure 7-3. Example Using Oscillation Circuit Crystal/ceramic oscillation PD784031Y VSS1 External clock EXTC OSTS EXTC OSTS PD784031Y PD784031Y PD74HC04, etc. Open Caution When using clock oscillation circuit, wire dotted portion above figure follows avoid adverse influences wiring capacitance. Keep wiring length short possible. cross wiring with other signal lines. route wiring vicinity lines through which high alternating current flows. Always keep potential ground point capacitor oscillation circuit same VSS1. ground ground pattern through which high current flows. extract signals from oscillation circuit. µPD784031Y Real-time Output Port real-time output port outputs data stored buffer synchronization with coincidence interrupt generated timer/counter with external interrupt. result, pulses without jitter output. real-time output port therefore ideal applications where arbitrary patterns must output specific intervals (such open loop control stepping motor). real-time output port mainly consists port port buffer registers (P0H P0L) shown Figure 7-4. Figure 7-4. Block Diagram Real-time Output Port Internal Real-time output port control register (RTPC) Buffer register INTP0 (from external source) INTC10 (from timer/counter INTC11 (from timer/counter Output trigger control circuit Output latch (P0) µPD784031Y Timer/Counter Three units timers/counters unit timer provided. Because total seven interrupt requests supported, these timers/counters timer used seven units timers/counters. Table 7-2. Operations Timers/Counters Name Item Count width bits bits Operation mode Interval timer External event counter One-shot timer Function Timer output Toggle output PWM/PPG output One-shot pulse outputNote Real-time output Pulse width measurement Number interrupt requests input input inputs Timer/Counter Timer/Counter Timer/Counter Timer Note one-shot pulse output function makes pulse output level active software inactive hardware (interrupt request signal). This function different nature from one-shot timer function timer/counter µPD784031Y Figure 7-5. Block Diagram Timers/Counters Timer/counter Clear control Selector Software trigger fXX/8 Prescaler Timer register (TM0) Compare register (CR01) Match Pulse output control Compare register (CR00) Match INTP3 Edge detection INTP3 Capture register (CR02) INTC00 INTC01 Timer/counter Clear control Selector fXX/8 Prescaler Timer register (TM1/TM1W) Event input Compare register (CR10/CR10W) Match INTC10 real-time output port INTP0 Edge detection INTP0 Capture/Compare register (CR11/CR11W) Match INTC11 Capture register (CR12/CR12W) Timer/counter Clear control Selector fXX/8 Prescaler Timer register (TM2/TM2W) INTP2/CI Edge detection INTP2 Capture/Compare register (CR21/CR21W) Match Pulse output control Compare register (CR20/CR20W) Match INTP1 Edge detection INTP1 Capture register (CR22/CR22W) INTC20 INTC21 Timer fXX/8 Prescaler Timer register (TM3/TM3W) Clear Compare register (CR30/CR30W) Match INTC30 Remark OVF: overflow flag µPD784031Y Output (PWM0, PWM1) channels (pulse width modulation) output circuits with resolution bits repeat frequency 62.5 (fCLK MHz) provided. Both these output channels select high level active level. These outputs ideal controlling speed motor. Figure 7-6. Block Diagram Output Unit Internal modulo register PWMn control register (PWMC) Reload control fCLK Prescaler 8-bit down counter Pulse control circuit 4-bit counter Output control PWMn (output pin) 1/256 Remark µPD784031Y Converter analog-to-digital (A/D) converter with eight multiplexed inputs (ANI0 through ANI7) provided. This converter successive approximation type. result conversion retained 8-bit conversion result register (ADCR). Therefore, high-speed, high-accuracy conversion performed (conversion time: approx. fCLK MHz). conversion started either following modes: Hardware start: Conversion started trigger input (INTP5). Software start: Conversion started setting converter mode register (ADM). After started, converter operates following modes: Scan mode: more analog inputs sequentially selected, data converted obtained from input pins. Select mode: Only analog input used continuously obtain converted values. These operation modes whether starting stopping converter specified ADM. When result conversion transferred ADCR, interrupt request INTAD generated. using this request macro service, converted values successively transferred memory. Figure 7-7. Block Diagram Converter Successive approximation register (SAR) Edge detection circuit Conversion trigger INTAD INTP5 Control Circuit selector ANI0 ANI1 ANI2 ANI3 ANI4 ANI5 ANI6 ANI7 Input selector Sample hold circuit Series resistor string AVREF1 Voltage comparator AVSS Trigger enable converter mode register (ADM) conversion result register (ADCR) Internal µPD784031Y Converter circuits digital-to-analog (D/A) converters provided. These converters voltage output type have resolution bits. conversion method R-2R resistor ladder type. writing value output 8-bit conversion value setting register (DACSn: analog value output ANOn pin. output voltage range determined voltage applied across AVREF2 AVREF3 pins. Because output impedance high, current extracted from output. impedance load low, insert buffer amplifier between load output pin. ANOn goes into high-impedance state while RESET signal low. After releasing reset, DACSn cleared Figure 7-8. Block Diagram Converter ANOn AVREF2 Selector AVREF3 DACSn DACEn Internal Remark µPD784031Y Serial Interface Three independent serial interface channels provided. Asynchronous serial interface (UART)/3-wire serial (IOE) Clocked serial interface (CSI) 3-wire serial (IOE) 2-wire serial (IOE) interface (I2C) Therefore, communication with external system local communication within system simultaneously executed (refer Figure 7-9). Figure 7-9. Example Serial Interface UART PD784031Y (master) PD4711A [UART] RS-232-C driver/receiver Port [I2C] PD6272 (EEPROMTM) PD78062Y (slave) PD4711A [UART] RxD2 RS-232-C driver/receiver TxD2 Port UART 3-wire serial 2-wire serial PD784031Y (master) PD4711A [UART] RS-232-C driver/receiver Port SCK1 INTPm Port Note [3-wire serial I/O] PD75108 (slave) Port PD78014 (slave) INTPn Port [2-wire serial I/O] Note SCK0 Port Note Handshake line µPD784031Y 7.8.1 Asynchronous serial interface/3-wire serial (UART/IOE) channels serial interfaces that select asynchronous serial interface mode 3-wire serial mode provided. Asynchronous serial interface mode this mode, data byte following start transferred received. Because on-chip baud rate generator provided, wide range baud rates set. Moreover, clock input ASCK divided define baud rate. When baud rate generator used, baud rate conforming MIDI standard (31.25 kbps) also obtained. Figure 7-10. Block Diagram Asynchronous Serial Interface Mode Internal Receive buffer RXB, RXB2 RXD, RXD2 Receive shift register Transmit shift register TXS, TXS2 TXD, TXD2 Receive control parity check INTSR, INTSR2 INTSER, INTSER2 Transmit control parity append INTST, INTST2 Baud rate generator 1/2m fXX/2 ASCK, ASCK2 Selector 1/2n 1/2m Remark fXX: oscillation frequency external clock input through through µPD784031Y 3-wire serial mode this mode, master device starts transfer making serial clock active transfers 1-byte data synchronization with this clock. This mode used communicate with device having conventional clocked serial interface. Basically, communication established using three lines: serial clock (SCK) serial data lines. Generally, check communication status, handshake line necessary. Figure 7-11. Block Diagram 3-wire Serial Mode Internal Direction control circuit SIO1, SIO2 SI1, Shift register Output latch SO1, SCK1, SCK2 Serial clock counter Interrupt signal generation circuit INTCSI1, INTCSI2 Selector 1/2n fXX/2 Serial clock control circuit Remark fXX: oscillation frequency external clock input through through µPD784031Y 7.8.2 Clocked serial interface (CSI) this mode, master device starts transfer making serial clock active communicates 1-byte data synchronization with this clock. Figure 7-12. Block Diagram Clocked Serial Interface Internal Direction control register Slave address register Match signal Selector SO0/SDA Shift register Output latch Reset N-ch open drain output 2-wire mode) Start condition detection circuit Acknowledge detection circuit Acknowledge detection control Wake-up control circuit Stop condition detection circuit INTSPC SCK0/SCL Serial clock counter Interrupt signal generation circuit INTCSI Serial clock control circuit Selector N-ch open drain output 2-wire mode) CLS0 CLS1 Timer output fXX/16 Selector Prescaler fXX/2 Remark fXX: oscillation frequency external clock input µPD784031Y 3-wire serial mode This mode communicate with devices having conventional clocked serial interface. Basically, communication established this mode with three lines: serial clock (SCK0) serial data (SI0 SO0) lines. Generally, handshake line necessary check communication status. 2-wire serial mode This mode transfer 8-bit data using lines: serial clock (SCL) serial data (SDA). Generally, handshake line necessary check communication status. (Inter mode This mode communicate with devices conforming format. This mode transfer 8-bit data with more devices using lines: serial clock (SCL) serial data (SDA). During transfer, "start condition", "data", "stop condition" output onto serial data bus. During reception, these data automatically detected hardware. Edge Detection Function interrupt input pins (NMI INTP0 through INTP5) used only input interrupt requests also input trigger signals internal hardware units. Because these pins operate edge input signal, they have function detect edge. Moreover, noise reduction circuit also provided prevent erroneous detection noise. Name INTP0 INTP3 INTP4, INTP5 Detectable Edge Either rising falling edge Either both rising falling edges Noise Reduction analog delay clock samplingNote analog delay Note INTP0 select sampling clock. µPD784031Y 7.10 Watchdog Timer watchdog timer provided detect hang CPU. This watchdog timer generates non-maskable interrupt unless cleared software within specified interval time. Once enabled operate, watchdog timer cannot stopped software. Whether interrupt watchdog timer interrupt input from takes precedence specified. Figure 7-13. Block Diagram Watchdog Timer fCLK Timer fCLK/221 fCLK/220 fCLK/219 fCLK/217 Selector INTWDT Clear signal µPD784031Y INTERRUPT FUNCTION servicing response interrupt request, three types shown Table selected program. Table 8-1. Servicing Interrupt Request Servicing Mode Vector interrupt Entity Servicing Software Servicing Branches executes servicing routine (servicing arbitrary). Context switching Automatically switches register bank, branches executes servicing routine (servicing arbitrary). Macro service Firmware Executes data transfer between memory (servicing fixed). Retained Contents Saves restores from stack. Saves restores from fixed area register bank. Interrupt Sources Table shows interrupt sources available. shown, interrupts generated types sources, execution instruction BRKCS instruction, operand error. priority interrupt servicing four levels, that nesting controlled during interrupt servicing that which more interrupts that simultaneously occur should serviced first. When macro service function used, however, nesting always proceeds. default priority priority (fixed) service that performed more interrupt requests, having same request, simultaneously generate (refer Table 8-2). µPD784031Y Table 8-2. Interrupt Sources Type Software Default Priority Name instruction BRKCS instruction Operand error result exclusive between byte operand byte when STBC, #byte, WDM, #byte, LOCATION instruction executed Detection input edge Overflow watchdog timer Detection input edge (TM1/TM1W capture trigger, TM1/TM1W event counter input) Detection input edge (TM2/TM2W capture trigger, TM2/TM2W event counter input) Detection input edge (TM2/TM2W capture trigger, TM2/TM2W event counter input) Detection input edge (TM0 capture trigger, event counter input) Generation TM0-CR00 match signal Generation TM0-CR01 match signal Generation TM1-CR10 match signal 8-bit operation mode) Generation TM1W-CR10W match signal 16-bit operation mode) Generation TM1-CR11 match signal 8-bit operation mode) Generation TM1W-CR11W match signal 16-bit operation mode) Generation TM2-CR20 match signal 8-bit operation mode) Generation TM2W-CR20W match signal 16-bit operation mode) Generation TM2-CR21 match signal 8-bit operation mode) Generation TM2W-CR21W match signal 16-bit operation mode) Generation TM3-CR30 match signal 8-bit operation mode) Generation TM3W-CR30W match signal 16-bit operation mode) Detection input edge Detection input edge conversion (transfer ADCR) Occurrence ASI0 reception error ASI0 reception CSI1 transfer ASI0 transfer CSI1 transfer Occurrence ASI2 reception error ASI2 reception CSI2 transfer ASI2 transfer stop condition interrupt Internal External Internal External Internal External Instruction execution Source Trigger Internal/ External Macro Service Non-maskable Maskable (highest) INTP0 INTP1 INTP2 INTP3 INTC00 INTC01 INTC10 INTC11 INTC20 INTC21 INTC30 (lowest) INTP4 INTP5 INTAD INTSER INTSR INTCSI1 INTST INTCSI INTSER2 INTSR2 INTCSI2 INTST2 INTSPC Remark ASI: asynchronous serial interface CSI: clocked serial interface µPD784031Y Vectored Interrupt Execution branches servicing routing using memory contents vector table address corresponding interrupt source address branch destination. that performs interrupt servicing, following operations performed: branching Saves status (contents PSW) stack returning Restores status (contents PSW) from stack return main routine from interrupt service routine, RETI instruction used. branch destination address range FFFFH. Table 8-3. Vector Table Address Interrupt Source instruction Operand error INTP0 INTP1 INTP2 INTP3 INTC00 INTC01 INTC10 INTC11 INTC20 INTC21 INTC30 INTP4 INTP5 INTAD INTSER INTSR INTCSI1 INTST INTCSI INTSER2 INTSR2 INTCSI2 INTST2 INTSPC 002EH 0030H 0026H 0028H 002AH 002CH Vector Table Address 003EH 003CH 0002H 0004H 0006H 0008H 000AH 000CH 000EH 0010H 0012H 0014H 0016H 0018H 001AH 001CH 001EH 0020H 0022H 0024H µPD784031Y Context Switching When interrupt request generated when BRKCS instruction executed, predetermined register bank selected hardware. Context switching function that branches execution vector address stored advance register bank, stack current contents program counter (PC) program status word (PSW) register bank. branch address range FFFFH. Figure 8-1. Context Switching Operation when Interrupt Request Generated 0000B Transfer Register bank PC19 PC15 Save (bits through temporary register) Exchange Save Temporary register Save Register bank Switching register bank (RBS0 RBS2 Macro Service This function transfer data between memory special function register (SFR) without intervention CPU. macro service controller accesses memory same transfer cycle directly transfers data without loading Because this function does save restore status CPU, load data, data transferred high speeds. Figure 8-2. Macro Service Read Memory Write Macro service controller Write Read Internal µPD784031Y Application Example Macro Service Transfer serial interface Transfer data storage buffer (memory) Data Data Data Data Internal Transfer shift register (SFR) Transfer control INTST Each time macro service request INTST generated, next transfer data transferred from memory TXS. When data (last byte) been transferred (when transfer data storage buffer become empty), vectored interrupt request INTST generated. Reception serial interface Receive data storage buffer (memory) Data Data Data Data Internal Receive buffer (SFR) Receive shift register Reception control INTSR Each time macro service request INTSR generated, receive data transferred from memory. When data (last byte) been transferred memory (when receive data storage buffer become full), vectored interrupt request INTSR generated. µPD784031Y Real-time output port INTC10 INTC11 serve output triggers real-time output port. macro services these following output pattern intervals simultaneously. Therefore, INTC10 INTC11 control stepping motors independently each other. They also used output control motors. Output pattern profile (memory) Output timing profile (memory) Internal Internal Match (SFR) INTC10 Output latch CR10 (SFR) Each time macro service request INTC10 generated, pattern timing transferred buffer register (P0L) compare register (CR10), respectively. When contents timer register (TM1) coincide with those CR10, INTC10 generated again, contents transferred output latch. When (last byte) transferred CR10, vectored interrupt request INTC10 generated. same applies INTC11. µPD784031Y LOCAL INTERFACE local interface connect external memory (memory mapped I/O) support memory space Mbytes (refer Figure 9-1). Figure 9-1. Example Local Interface PD784031Y REFRQ Pseudo SRAM PROM PD27C1001A Decoder Character generator PD24C1000 Data ASTB Latch Address Gate array expansion Centronics I/F, etc. Memory Expansion memory capacity expanded seven steps, from bytes Mbytes, connecting external program memory data memory. µPD784031Y Memory Space 1-Mbyte memory space divided into eight spaces logical addresses. Each space controlled using programmable wait function pseudo static refresh function. Figure 9-2. Memory Space Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes Kbytes µPD784031Y Programmable Wait memory space divided into eight spaces wait states independently inserted each these spaces while signals active. Even when memory with different access time connected, therefore, efficiency entire system does drop. addition, address wait function that extends active period ASTB signal also provided have sufficient address decode time (this function entire space). Pseudo Static Refresh Function following refresh operations performed: Pulse refresh cycle that outputs refresh pulse REFRQ fixed cycle inserted. memory spaces divided into eight spaces, refresh pulse output from REFRQ while specified memory space accessed. Therefore, normal memory access kept wait refresh cycle. Power-down self-refresh level output REFRQ standby mode retain contents pseudo static RAM. Hold Function hold function provided facilitate connection controller. When hold request signal (HLDRQ) received from external master, address bus, address/data bus, ASTB, pins into highimpedance state when current cycle been completed. This makes hold acknowledge (HLDAK) signal active, releases external master. Note that, while hold function used, external wait function pseudo static refresh function cannot used. µPD784031Y STANDBY FUNCTION This function reduce power dissipation chip, used following modes: HALT mode Stops supply operating clock CPU. This mode used combination with normal operation mode intermittent operation reduce average power dissipation. IDLE mode Stops entire system with oscillation circuit continuing operation. power dissipation this mode close that STOP mode. However, time required restore normal program operation from this mode almost same that from HALT mode. STOP mode Stops oscillator thereby stop internal operations chip. Consequently, power dissipation minimized with only leakage current flowing. These modes programmable. macro service started from HALT mode. Figure 10-1. Transition Standby Status ilizatio stab Program cillatio xpires operation Waits time oscillation stabilization Macro service request processing macro service Macro service STOP (standby) IDLE (standby) Interrupt request masked interrupt HALT (standby) Notes When INTP4 INTP5 masked Only interrupt requests that masked Remark Only externally input valid. watchdog timer cannot used release standby mode (STOP/ IDLE mode). µPD784031Y RESET FUNCTION When level input RESET pin, internal hardware initialized (reset status). When RESET goes high, following data program counter (PC). Lower bits contents address 0000H Middle bits contents address 0001H Higher bits Program execution started from branch destination address which contents Therefore, system reset started from address. contents each register program necessary. RESET input circuit noise reduction circuit prevent malfunctioning noise. This noise reduction circuit sampling circuit analog delay. Figure 11-1. Accepting Reset Signal Delay Delay Delay Initialize Executes instruction reset start address RESET (input) Internal reset signal Reset starts Reset ends Assert RESET signal active until oscillation stabilization time (approx. elapses execute power-ON reset operation. Figure 11-2. Power-ON Reset Operation Oscillation stabilization time Delay Initialize Executes instruction reset start address RESET (input) Internal reset signal Reset ends µPD784031Y INSTRUCTION 8-bit instructions (The instructions parentheses combinations realized describing MOV, XCH, ADD, ADDC, SUB, SUBC, AND, XOR, CMP, MULU, DIVUW, INC, DEC, ROR, ROL, RORC, ROLC, SHR, SHL, ROR4, DBNZ, PUSH, POP, MOVM, XCHM, CMPME, CMPMNE, CMPMNC, CMPMC, MOVBK, XCHBK, CMPBKE, CMPBKNE, CMPBKNC, CMPBKC, CHIKL, CHKLA Table 12-1. Instruction List 8-bit Addressing Second Operand #byte First Operand (MOV) ADDNote (MOV) (XCH) (MOV)Note (XCH)Note (XCH) (MOV) (XCH) saddr saddr' !addr16 !!addr24 [saddrp] [%saddrg] ADDNote PSWL PSWH (MOV) (XCH) (ADD)Note RORNote MULU DIVUW saddr ADDNote (MOV)Note ADDNote DBNZ PUSH CHKL CHKLA !addr16 !!addr24 [saddrp] [%saddrg] mem3 ROR4 ROL4 PSWL PSWH STBC, [TDE+] [TDE-] (MOV) (ADD)Note MOVMNote MOVBKNote DBNZ (MOV) ADDNote ADDNote [WHL+] [WHL-] NoneNote (ADD)Note (ADD)Note (ADD)Note (ADD)Note ADDNote ADDNote (MOV) (XCH) (ADD)Note ADDNote ADDNote ADDNote (ADD)Note ADDNote ADDNote (ADD)Note ADDNote Notes operands ADDC, SUB, SUBC, AND, XOR, same that ADD. Either second operand used, second operand operand address. operands ROL, RORC, ROLC, SHR, same that ROR. operands XCHM, CMPME, CMPMNE, CMPMNC, CMPMC same that MOVM. operands XCHBK, CMPBKE, CMPBKNE, CMPBKNC, CMPBKC same that MOVBK. code length some instructions having saddr2 saddr this combination short. µPD784031Y 16-bit instructions (The instructions parentheses combinations realized describing 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 16-bit Addressing Second Operand #word First Operand (MOVW) ADDWNote (MOVW) (XCHW) (ADD)Note MOVW ADDWNote (MOVW) (XCHW) (MOVW) (MOVW)Note MOVW (MOVW) XCHW saddrp saddrp' sfrp !addr16 !!addr24 [saddrp] [%saddrg] MOVW XCHW (MOVW) (XCHW) [WHL+] byte NoneNote (XCHW) (XCHW)Note (XCHW) (ADDW)Note MOVW XCHW (ADDW)Note MOVW XCHW (ADDW)Note MOVW XCHW MOVW SHRW SHLW MULWNote INCW DECW INCW DECW (ADDW)Note ADDWNote ADDWNote ADDWNote saddrp MOVW (MOVW)Note MOVW MOVW XCHW ADDWNote sfrp MOVW ADDWNote !addr16 !!addr24 [saddrp] [%saddrg] MOVW MOVW MOVW (ADDW)Note (MOVW) MOVW ADDWNote MOVW MOVTBLW ADDWNote (ADDW)Note ADDWNote PUSH PUSH ADDWG SUBWG post PUSH PUSHU POPU [TDE+] byte (MOVW) SACW MACW MACSW Notes operands SUBW CMPW same that ADDW. Either second operand used, second operand operand address. code length some instructions having saddrp2 saddrp this combination short. operands MULUW DIVUX same that MULW. µPD784031Y 24-bit instructions (The instructions parentheses combinations realized describing MOVG, ADDG, SUBG, INCG, DECG, PUSH, Table 12-3. Instruction List 24-bit Addressing Second Operand #imm24 First Operand (MOVG) (ADDG) (SUBG) MOVG ADDG SUBG (MOVG) (ADDG) (SUBG) (MOVG) (ADDG) (SUBG) (MOVG) (ADDG) (SUBG) MOVG ADDG SUBG (MOVG) ADDG SUBG MOVG MOVG INCG DECG PUSH saddrg !!addr24 mem1 [%saddrg] MOVG (MOVG) (MOVG) MOVG MOVG MOVG INCG DECG MOVG MOVG (MOVG) MOVG MOVG MOVG saddrg !!addr24 mem1 [%saddrg] NoneNote Note Either second operand used, second operand operand address. µPD784031Y manipulation instructions MOV1, AND1, OR1, XOR1, SET1, CLR1, NOT1, BTCLR, BFSET Table 12-4. Manipulation Instructions Second Operand saddr.bit sfr.bit A.bit X.bit PSWL.bit PSWH.bit mem2.bit First Operand !addr16.bit !!addr24.bit MOV1 AND1 XOR1 saddr.bit sfr.bit A.bit X.bit PSWL.bit PSWH.bit mem2.bit !addr16.bit !!addr24.bit MOV1 NOT1 SET1 CLR1 BTCLR BFSET /saddr.bit /sfr. /A.bit /X.bit /PSWL.bit /PSWH.bit /mem2.bit /!addr16.bit /!!addr24.bit AND1 NOT1 SET1 CLR1 NoneNote Note Either second operand used, second operand operand address. µPD784031Y Call return/branch instructions CALL, CALLF, CALLT, BRK, RET, RETI, RETB, RETCS, RETCSB, BRKCS, BNZ, BNE, BNC, BNL, BNV, BPO, BPE, BLT, BGE, BLE, BGT, BNH, BTCLR, BFSET, DBNZ Table 12-5. Call Return/Branch Instructions Operand Instruction Address Basic instruction BCNote CALL CALL RETCS RETCSB Compound instruction BTCLR BFSET DBNZ CALL CALL CALL CALL CALL CALLF CALLF BRKCS RETI RETB $addr20 $!addr20 !addr16 !!addr20 [rp] [rg] !addr11 [addr5] None Note operands BNZ, BNE, BNC, BNL, BNV, BPO, BPE, BLT, BGE, BLE, BGT, BNH, same Other instructions ADJBA, ADJBS, CVTBW, LOCATION, SEL, NOT, SWRS µPD784031Y ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings 25°C) Parameter Supply voltage Symbol AVDD AVSS Input voltage Output voltage Output current low-level Total output pins Output current high-level Total output pins Reference input voltage converter Reference input voltage converter Operating ambient temperature Storage temperature Tstg +150 AVREF1 Test Conditions Ratings -0.5 +7.0 AVSS -0.5 +0.5 -0.5 -0.5 -100 -0.5 Unit AVREF2 AVREF3 -0.5 -0.5 Caution product quality damaged even value only above parameters exceeds absolute maximum rating value exceeds absolute maximum rating instant. That absolute maximum rating rating value which cause product damaged physically. absolute maximum rating values must therefore observed using product. µPD784031Y Operating Condition Operating ambient temperature (TA) +85°C Rise, fall time (tr, (unspecified pins) Supply voltage clock cycle time refer Figure 13-1 Figure 13-1. Supply Voltage Clock Cycle Time 10000 4000 Clock Cycle Time tCYK [ns] 1000 Guaranteed Operation Range 62.5 Supply Voltage Capacitance 25°C, Parameter Input capacitance Output capacitance capacitance Symbol Test Conditions Unmeasured pins returned MIN. TYP. MAX. Unit µPD784031Y Oscillator Characteristics +85°C, +4.5 Resonator Ceramic resonator crystal resonator VSS1 Recommended Circuit Parameter Oscillation frequency (fXX) MIN. MAX. Unit External clock input frequency (fX) input rise, fall time (tXR, tXF) HCMOS inverter input high-/low-level width (tWXH, tWXL) Caution When using clock oscillator, wiring area enclosed with dotted line should carried follows avoid adverse effect from wiring capacitance. Wiring should short possible. Wiring should cross other signal lines. Wiring should placed close varying high current. potential oscillator capacitor ground should same VSS1. ground ground pattern which high current flows. fetch signal from oscillator. µPD784031Y Oscillator Characteristics +85°C, +2.7 Resonator Ceramic resonator crystal resonator VSS1 Recommended Circuit Parameter Oscillation frequency (fXX) MIN. MAX. Unit External clock input frequency (fX) input rise, fall time (tXR, tXF) HCMOS inverter input high-/low-level width (tWXH, tWXL) Caution When using clock oscillator, wiring area enclosed with dotted line should carried follows avoid adverse effect from wiring capacitance. Wiring should short possible. Wiring should cross other signal lines. Wiring should placed close varying high current. potential oscillator capacitor ground should same VSS1. ground ground pattern which high current flows. fetch signal from oscillator. µPD784031Y Characteristics +85°C, AVDD +2.7 AVSS (1/2) Parameter Input voltage low-level Symbol VIL1 Test Conditions Except pins shown Notes Pins shown Notes +5.0 Pins shown Notes Except pins shown Notes Pins shown Notes +5.0 Pins shown Notes Except pins shown Note Pins shown Note Pins shown Note VOL3 +5.0 Pins shown Notes +5.0 Pins shown Note EXTC VIL2 EXTC VIH2 MIN. -0.3 TYP. MAX. 0.3VDD Unit VIL2 VIL3 -0.3 -0.3 0.2VDD +0.8 Input voltage high-level VIH1 VIH2 VIH3 0.7VDD 0.8VDD Output voltage low-level VOL1 VOL2 Output voltage high-level VOH1 VOH2 input current low-level input current high-level Notes RESET, P12/ASCK2/SCK2, P20/NMI, P21/INTP0, P22/INTP1, P23/INTP2/CI, P24/INTP3, P25/INTP4/ASCK/SCK1, P26/INTP5, P27/SI0, TEST AD7, P60/A16 P63/A19, P66/WAIT/HLDRQ, P67/REFRQ/HLDAK P32/SCK0/SCL, P33/SO0/SDA µPD784031Y Characteristics +85°C, AVDD +2.7 AVSS (2/2) Parameter Input leakage current Symbol Test Conditions Except when EXTC Operating mode +5.0 +2.7 IDD2 HALT mode +5.0 +2.7 IDD3 IDLE mode (EXTC +5.0 +2.7 Pull-up resistor MIN. TYP. MAX. Unit Output leakage current supply current IDD1 µPD784031Y Characteristics +85°C, AVDD +2.7 AVSS Read/write operation (1/2) Parameter Address setup time Symbol tSAST Test Conditions +5.0 MIN. (0.5 (0.5 ASTB high-level width tWSTH +5.0 (0.5 (0.5 Address hold time (from ASTB) tHSTLA +5.0 0.5T 0.5T Address hold time (from Address delay time tHRA tDAR +5.0 0.5T Address float time (from Address data input time tFRA tDAID +5.0 (2.5 (2.5 ASTB data input time tDSTID +5.0 data input time tDRID +5.0 (1.5 (1.5 ASTB delay time Data hold time (from address active time tDSTR tHRID tDRA After program read After data read ASTB delay time low-level width tDRST tWRL +5.0 +5.0 +5.0 0.5T 0.5T 0.5T 1.5T 1.5T 0.5T (1.5 (1.5 Address hold time (from Address delay time tHWA tDAW +5.0 0.5T ASTB data output delay time tDSTOD +5.0 0.5T 0.5T data output delay time ASTB output delay time tDWOD tDSTW 0.5T 0.5T MAX. Unit Remark TCYK (system clock cycle time) address wait, other conditions number wait µPD784031Y Read/write operation (2/2) Parameter Data setup time Symbol tSODW Test Conditions +5.0 MIN. (1.5 (1.5 Data hold time (from WR)Note tHWOD +5.0 0.5T 0.5T ASTB delay time low-level width tDWST tWWL +5.0 0.5T (1.5 (1.5 MAX. Unit Note data hold time includes time hold VOH1 VOL1 load condition Remark TCYK (system clock cycle time) number wait hold timing Parameter HLDRQ float delay time HLDRQ HLDAK delay time Float HLDAK delay time HLDRQ HLDAK delay time HLDAK active delay time tDHAC +5.0 tDCFHA tDHQLHAL +5.0 Symbol tFHQC tDHQHHAH +5.0 Test Conditions MIN. MAX. Unit Remark TCYK (system clock cycle time) address wait, other conditions number wait µPD784031Y External wait timing Parameter Address WAIT input time Symbol tDAWT Test Conditions +5.0 MIN. MAX. ASTB WAIT input time tDSTWT +5.0 1.5T 1.5T ASTB WAIT hold time tHSTWTH +5.0 (0.5 (0.5 ASTB WAIT delay time tDSTWTH +5.0 (1.5 (1.5 WAIT input time tDRWTL +5.0 WAIT hold time tHRWT +5.0 WAIT delay time tDRWTH +5.0 WAIT data input time tDWTID +5.0 0.5T 0.5T WAIT delay time WAIT delay time WAIT input time tDWTW tDWTR tDWWTL +5.0 0.5T 0.5T WAIT hold time tHWWT +5.0 WAIT delay time tDWWTH +5.0 Unit Remark TCYK (system clock cycle time) address wait, other conditions number wait Refresh timing Parameter Random read/write cycle time REFRQ low-level pulse width Symbol tWRFQL +5.0 Test Conditions MIN. 1.5T 1.5T ASTB REFRQ delay time REFRQ delay time REFRQ delay time REFRQ ASTB delay time REFRQ high-level pulse width tDSTRFQ tDRRFQ tDWRFQ tDRFQST tWRFQH +5.0 0.5T 1.5T 1.5T 0.5T 1.5T 1.5T MAX. Unit Remark TCYK (system clock cycle time) µPD784031Y Serial Operation +85°C, +2.7 AVSS Parameter Serial clock cycle time (SCK0) Symbol tCYSK0 Input Test Conditions External clock when SCK0, CMOS input/output MIN. 10/fXX MAX. Unit Output Serial clock low-level width (SCK0) tWSKL0 Input External clock when SCK0, CMOS input/output 5/fXX Output Serial clock high-level width (SCK0) tWSKH0 Input External clock when SCK0, CMOS input/output 0.5T 5/fXX Output setup time SCK0) hold time (from SCK0) output delay time (from SCK0) tSSSK0 tHSSK0 tDSBSK1 CMOS push-pull output (3-wire serial mode) Open drain output (2-wire serial mode), 0.5T 5/fXX 5/fXX tDSBSK2 5/fXX Remarks values shown table above those condition serial clock cycle software. minimum value 16/fXX. oscillation frequency Parameter Symbol Standard Mode MIN. clock frequency status hold time clock High status hold time clock Data hold time Data setup time SDA, signal rise time SDA, signal fall time Load capacitance each line fSCL tLOW MAX. High-speed Mode MIN. MAX. Unit tHIGH 1000 0.1Cb 0.1Cb µPD784031Y IOE1, IOE2 Parameter Serial clock cycle time (SCK1, SCK2) Output Serial clock low-level width (SCK1, SCK2) Output Serial clock high-level width (SCK1, SCK2) Output SI1, setup time SCK1, SCK2) SI1, hold time (from SCK1, SCK2) SO1, output delay time (from SCK1, SCK2) SO1, output hold time (from SCK1, SCK2) tHSOSK When transferring data 0.5tCYSK1 tSSSK1 Internal frequency division tWSKH1 Input Internal frequency division +5.0 tWSKL1 Input Internal frequency division +5.0 Symbol tCYSK1 Input Test Conditions +5.0 MIN. 0.5T 0.5T MAX. Unit tHSSK1 tDSOSK Remarks values shown table above those condition serial clock cycle software. minimum value 16/fXX. UART, UART2 Parameter ASCK clock input cycle time Symbol tCYASK Test Conditions +5.0 MIN. ASCK clock low-level width tWASKL +5.0 52.5 ASCK clock high-level width tWASKH +5.0 52.5 MAX. Unit µPD784031Y Other Operations Parameter low-level width high-level width INTP0 low-level width INTP0 high-level width INTP1 INTP3, low-level width INTP1 INTP3, high-level width INTP4, INTP5 low-level width INTP4, INTP5 high-level width RESET low-level width RESET high-level width Symbol tWNIL tWNIH tWIT0L tWIT0H tWIT1L tWIT1H tWIT2L tWIT2H tWRSL tWRSH Test Conditions MIN. 3tCYSMP 3tCYSMP 3tCYCPU 3tCYCPU MAX. Unit Remark tCYSMP sampling clock software tCYCPU operation clock software Converter Characteristics +85°C, AVDD AVREF1 +2.7 AVSS Parameter Resolution Total errorNote errorNote Symbol Test Conditions MIN. ±1/2 tCONV Sampling time tSAMP Analog input voltage Analog input impedance AVREF1 current AVDD supply current VIAN AIREF1 AIDD1 AIDD2 MHz, STOP mode, -0.3 1000 AVREF1 TYP. MAX. Unit tCYK tCYK tCYK tCYK Linearity Quantization error Conversion time Note Quantization error included. This expressed proportion full-scale value. Remark tCYK: system clock cycle time µPD784031Y Converter Characteristics +85°C, AVDD +2.7 AVSS Parameter Resolution Total error Load condition AVDD AVREF2 +2.7 AVREF3 AVDD +2.7 AVREF2 0.75VDD AVREF3 0.25VDD Load condition AVDD AVREF2 +2.7 AVREF3 AVDD +2.7 AVREF2 0.75VDD AVREF3 0.25VDD Settling time Output resistance Analog reference voltage AVREF2 AVREF3 AVREF2, AVREF3 resistance value Reference supply input current RAIREF AIREF2 AIREF3 DACS0, Load condition DACS0, 0.75VDD 0.25VDD Symbol Test Conditions MIN. TYP. MAX. Unit µPD784031Y Data Retention Characteristics +85°C) Parameter Data retention voltage Data retention current Symbol VDDDR IDDDR Test Conditions STOP mode VDDDR +2.7 VDDDR +2.5 rise time fall time hold time (from setting STOP mode) STOP release signal input time Oscillation stabilization wait time tRVD tFVD tHVD MIN. TYP. MAX. Unit tDREL tWAIT Crystal resonator Ceramic resonator 0.9VDDDR 0.1VDDDR VDDDR Input voltage low-level Input voltage high-level Specified pinsNote Note RESET, P20/NMI, P21/INTP0, P22/INTP1, P23/INTP2/CI, P24/INTP3, P25/INTP4/ASCK/SCK1, P26/INTP5, P27/SI0, P32/SCK0/SCL, P33/SO0/SDA pins Timing Test Point 0.8VDD Test Points 0.45 0.8VDD µPD784031Y Timing Waveform Read operation tWSTH ASTB tSAST tHSTLA tDSTID tDRST tDAID tDSTR tDAR tWRL tFRA tDRID tHRA tHRID tDRA Write operation tWSTH ASTB tSAST tHSTLA tDSTOD tDWST tHWA tDSTW tDAW tWWL tDWOD tSODW tHWOD µPD784031Y Hold Timing ADTB, A19, AD7, tFHQC tDCFHA HLDRQ tDHQHHAH HLDAK tDHQLHAL tDHAC External WAIT Signal Input Timing Read operation ASTB tDSTWTH tHSTWTH tDSTWT tDAWT tDRWTL WAIT tHRWT tDRWTH tDWTR tDWTID Write operation ASTB tDSTWTH tHSTWTH tDSTWT tDAWT tDWWTL WAIT tHWWT tDWWTH tDWTW µPD784031Y Refresh Timing Waveform Random read/write cycle ASTB When refresh memory access simultaneous with read, write ASTB tDSTRFQ tDRFQST tWRFQH REFRQ tWRFQL Refresh after read ASTB tDRFQST tDRRFQ REFRQ tWRFQL Refresh after write ASTB tDRFQST tDWRFQ REFRQ tWRFQL µPD784031Y Serial Operation tWSKL0 tCYSK0 tDSBSK1 tHSBSK1 tSSSK0 tHSSK0 Input Data tWSKH0 Output Data tHIGH tLOW IOE1, IOE2 tWSKL1 tCYSK1 tDSOSK tHSOSK tSSSK1 tHSSK1 tWSKH1 Input Data Output Data UART, UART2 tWASKH tWASKL ASCK, ASCK2 tCYASK µPD784031Y Interrupt Input Timing tWNIH tWNIL tWIT0H tWIT0L INTP0 tWIT1H tWIT1L INTP1 INTP3 tWIT2H tWIT2L INTP4, INTP5 Reset Input Timing tWRSH tWRSL RESET µPD784031Y External Clock Timing tWXH tWXL tCYX Data Retention Characteristics STOP Mode Setting tHVD tFVD VDDDR tRVD tDREL tWAIT RESET (release falling edge) (release rising edge) µPD784031Y PACKAGE DRAWINGS PLASTIC detail lead NOTE Each lead centerline located within 0.13 (0.005 inch) true position (T.P.) maximum material condition. ITEM MILLIMETERS 17.2±0.4 14.0±0.2 14.0±0.2 17.2±0.4 0.825 0.825 0.30±0.10 0.13 0.65 (T.P.) 1.6±0.2 0.8±0.2 0.15 +0.10 -0.05 0.10 0.1±0.1 5°±5° MAX. INCHES 0.677±0.016 0.551 +0.009 -0.008 0.551 +0.009 -0.008 0.677±0.016 0.032 0.032 0.012 +0.004 -0.005 0.005 0.026 (T.P.) 0.063±0.008 0.031 +0.009 -0.008 0.006 +0.004 -0.003 0.004 0.106 0.004±0.004 5°±5° 0.119 MAX. S80GC-65-3B9-4 Remark Dimensions materials products same those mass-produced products. µPD784031Y PLASTIC detail lead NOTE Each lead centerline located within 0.13 (0.005 inch) true position (T.P.) maximum material condition. ITEM MILLIMETERS 17.20±0.20 14.00±0.20 14.00±0.20 17.20±0.20 0.825 0.825 0.32±0.06 0.13 0.65 (T.P.) 1.60±0.20 0.80±0.20 0.17 +0.03 -0.07 0.10 1.40±0.10 0.125±0.075 1.70 MAX. INCHES 0.677±0.008 0.551 +0.009 -0.008 0.551 +0.009 -0.008 0.677±0.008 0.032 0.032 0.013 +0.002 -0.003 0.005 0.026 (T.P.) 0.063±0.008 0.031 +0.009 -0.008 0.007 +0.001 -0.003 0.004 0.055±0.004 0.005±0.003 0.067 MAX. P80GC-65-8BT Remark Dimensions materials products same those mass-produced products. µPD784031Y 80-PIN PLASTIC TQFP (FINE PITCH) detail lead NOTE Each lead centerline located within 0.10 (0.004 inch) true position (T.P.) maximum material condition. ITEM MILLIMETERS 14.0±0.2 12.0±0.2 12.0±0.2 14.0±0.2 1.25 1.25 0.22 +0.05 -0.04 0.10 (T.P.) 1.0±0.2 0.5±0.2 0.145 +0.055 -0.045 0.10 1.05 0.05±0.05 5°±5° 1.27 MAX. INCHES 0.551 +0.009 -0.008 0.472 +0.009 -0.008 0.472 +0.009 -0.008 0.551 +0.009 -0.008 0.049 0.049 0.009±0.002 0.004 0.020 (T.P.) 0.039 +0.009 -0.008 0.020 +0.008 -0.009 0.006±0.002 0.004 0.041 0.002±0.002 5°±5° 0.050 MAX. P80GK-50-BE9-4 Remark Dimensions materials products same those mass-produced products. µPD784031Y RECOMMENDED SOLDERING CONDITIONS This product should soldered mounted under conditions recommended table below. details recommended soldering conditions, refer information document Semiconductor Device Mounting Technology Manual (C10535E). soldering methods conditions other than those recommended below, contact sales representative. Table 15-1. Surface Mounting Type Soldering Conditions (1/2) µPD784031YGC-3B9: 80-pin plastic thickness Soldering Method Infrared reflow Soldering Conditions Package peak temperature: 235°C, Duration: sec. max. 210°C above), Number times: times max. Package peak temperature: 215°C, Duration: sec. max. 200°C above), Number times: times max. Solder bath temperature: 260°C max., Duration: sec. max., Number times: Once, Preliminary heat temperature: 120°C max. (Package surface temperature) temperature: 300°C max. Duration: sec. max. (per device side) VP15-00-3 Symbol IR35-00-3 Wave soldering WS60-00-1 Partial heating Caution more than soldering method should avoided (except case partial heating). µPD784031YGC-8BT: 80-pin plastic thickness Soldering Method Infrared reflow Soldering Conditions Package peak temperature: 235°C, Duration: sec. max. 210°C above), Number times: Twice max. Package peak temperature: 215°C, Duration: sec. max. 200°C above), Number times: Twice max. Solder bath temperature: 260°C max., Duration: sec. max., Number times: Once, Preliminary heat temperature: 120°C max. (Package surface temperature) temperature: 300°C max. Duration: sec. max. (per device side) Symbol IR35-00-2 VP15-00-2 Wave soldering WS60-00-1 Partial heating Caution more than soldering method should avoided (except case partial heating). µPD784031Y Table 15-1. Surface Mounting Type Soldering Conditions (2/2) µPD784031YGK-BE9: 80-pin plastic TQFP (fine pitch) Soldering Method Infrared reflow Soldering Conditions Package peak temperature: 235°C, Duration: sec. max. 210°C above), Number times: Twice max., Time limit: daysNote (thereafter hours prebaking required 125°C) <precaution> bake devices packing them non-heat resistant trays packing materials such magazine cases tapes. heat-resistant trays. Package peak temperature: 215°C, Duration: sec. 200°C above), Number times: Twice max., Time limit: daysNote (thereafter hours prebaking required 125°C) <precaution> bake devices packing them non-heat resistant trays packing materials such magazine cases tapes. heat-resistant trays. Partial heating temperature: 300°C max. Duration: sec. max. (per device side) Symbol IR35-107-2 VP15-107-2 Note storage period after dry-pack decapsulation, storage conditions max. 25°C, Caution more than soldering method should avoided (except case partial heating). µPD784031Y APPENDIX DEVELOPMENT TOOLS following development tools available supporting development system using µPD784031Y. Language Processor Software RA78K4Note CC78K4Note CC78K4-LNote Assembler package common 78K/IV Series compiler package common 78K/IV Series compiler library source file common 78K/IV Series PROM Writing Tool PG-1500 PA-78P4026GC PA-78P4038GK PA-78P4026KK PG-1500 controllerNote Debugging Tool IE-784000-R IE-784000-R-BK IE-784038-R-EM1 IE-784000-R-EM IE-70000-98-IF-B IE-70000-98N-IF IE-70000-PC-IF-B IE-78000-R-SV3 EP-78230GC-R EP-78054GK-R EV-9200GC-80 TGK-080SDW EV-9900 SM78K4Note ID78K4Note DF784038Note Real-time RX78K/IVNote MX78K4Note Real-time 78K/IV Series 78K/IV Series Interface adapter when PC-9800 Series (except notebook type) used host machine Interface adapter cable when notebook type PC-9800 Series used host machine Interface adapter when PC/ATis used host machine Interface adapter cable when used host machine Emulation probe 80-pin plastic (GC-3B9 GC-8BT types) common In-circuit emulator common 78K/IV Subseries Break board common 78K/IV Series Emulation board evaluation µPD784038Y Subseries PG-1500 control program PROM programmer Programmer adapter connected PG-1500 µPD784038Y Subseries Emulation probe 80-pin plastic TQFP (fine pitch) (GK-BE9 type) common µPD784038Y Subseries Socket mounted board target system created 80-pin plastic (GC-3B9 GC-8BT types) Adapter mounted board target system created 80-pin plastic TQFP (fine pitch) (GK-BE9 type) used remove µPD78P4038YKK-T from EV-9200GC-80 System simulator common 78K/IV Series Integrated debugger IE-784000-R Device file µPD784038Y Subseries µPD784031Y Notes PC-9800 Series (MS-DOSTM) based PC/AT compatible machine DOSTM, WindowsTM, MS-DOS, DOSTM) based HP9000 Series 700(HP-UXTM) based SPARCstation(SunOSTM) based NEWS(NEWS-OSTM) based PC-9800 Series (MS-DOS) based PC/AT compatible machine DOS, Windows, MS-DOS, DOS) based PC-9800 Series (MS-DOS Windows) based PC/AT compatible machine DOS, Windows, MS-DOS, DOS) based HP9000 Series (HP-UX) based SPARCstation (SunOS) based PC-9800 Series (MS-DOS) based PC/AT compatible machine DOS, Windows, MS-DOS, DOS) based HP9000 Series (HP-UX) based SPARCstation (SunOS) based Remarks RA78K4, CC78K4, SM78K4, ID78K4 used combination with DF784038. TGK-080SDW manufactured TOKYO ELETECH Corporation. representative when purchasing Consult your local sales µPD784031Y APPENDIX RELATED DOCUMENTS Documents Related Device Document Name English Document Japanese U11504J U10741J U10742J U11316J U11091J U10905J U10594J U10595J U10095J µPD784031Y Data Sheet µPD784035Y, 784036Y, 784037Y, 784038Y Data Sheet µPD78P4038Y Data Sheet µPD784038, 784038Y Subseries User's Manual Hardware µPD784038Y Subseries Special Function Register Table 78K/IV Series User's Manual Instruction 78K/IV Series Instruction Table 78K/IV Series Instruction 78K/IV Series Application Note Software Basics This manual U10741E U10742E U11316E U10905E Documents Related Development Tools (User's Manuals) Document Name English RA78K4 Assembler Package Operation Language RA78K Series Structured Assembler Preprocessor CC78K4 Series Operation Language CC78K Series Library Source File PG-1500 PROM Programmer PG-1500 Controller PC-9800 Series (MS-DOS) Based PG-1500 Controller Series DOS) Based IE-784000-R IE-784038-R-EM1 EP-78230 EP-78054GK-R SM78K4 System Simulator Windows Based SM78K Series External Part User Open Interface Specifications ID78K4 Integrated Debugger Windows Based ID78K4 Integrated Debugger HP9000 Series (HP-UX) Based Reference Reference Reference U11334E EEU-1402 EEU-1335 EEU-1291 U10540E EEU-1534 U11383E EEU-1515 EEU-1468 U10093E U10092E U10440E released soon Document Japanese U11334J U11162J EEU-817 EEU-960 EEU-961 U12322J U11940J EEU-704 EEU-5008 EEU-5004 U11383J EEU-985 EEU-932 U10093J U10092J U10440J U11960J Caution above related documents subject change without prior notice. sure latest version when starting design. µPD784031Y Documents Related Embedded Software (User's Manual) Document Name English 78K/IV Series Real-time Basics Installation Debugger 78K/IV Series MX78K4 Basics U10603E U10604E Document Japanese U10603J U10604J U10364J U11779J Other Documents Document Name English Package Manual Semiconductor Device Mounting Technology Manual Quality Grades Semiconductor Devices Reliability Quality Control Semiconductor Device Electric Static Discharge (ESD) Test Semiconductor Devices Quality Assurance Guide Microcomputer Product Series Guide C10535E C11531E C10983E MEI-1202 C10943X C10535J C11531J C10983J MEM-539 C11893J U11416J Document Japanese Caution above related documents subject change without prior notice. sure latest version when starting design. µPD784031Y NOTES CMOS DEVICES PRECAUTION AGAINST SEMICONDUCTORS Note: Strong electric field, when exposed device, cause destruction gate oxide ultimately degrade device operation. Steps must taken stop generation static electricity much possible, quickly dissipate once, when occurred. Environmental control must adequate. When dry, humidifier should used. recommended avoid using insulators that easily build static electricity. Semiconductor devices must stored transported anti-static container, static shielding conductive material. test measurement tools including work bench floor should grounded. operator should grounded using wrist strap. Semiconductor devices must touched with bare hands. Similar precautions need taken boards with semiconductor devices HANDLING UNUSED INPUT PINS CMOS Note: connection CMOS device inputs cause malfunction. connection provided input pins, possible that internal input level generated noise, etc., hence causing malfunction. CMOS device behave differently than Bipolar NMOS devices. Input levels CMOS devices must fixed high using pull-up pull-down circuitry. Each unused should connected with resistor, considered have possibility being output pin. handling related unused pins must judged device device related specifications governing devices. STATUS BEFORE INITIALIZATION DEVICES Note: Power-on does necessarily define initial status device. Production process does define initial operation status device. Immediately after power source turned devices with reset function have been initialized. Hence, power-on does guarantee outpin levels, settings contents registers. Device initialized until reset signal received. Reset operation must executed immediately after power-on devices having reset function. µPD784031Y Regional Information Some information contained this document vary from country country. Before using product your application, please contact office your country obtain list authorized representatives distributors. They will verify: Device availability Ordering information Product release schedule Availability related technical literature Development environment specifications (for example, specifications third-party tools components, host computers, power plugs, supply voltages, forth) Network requirements addition, trademarks, registered trademarks, export restrictions, other legal issues also vary from country country. Electronics Inc. (U.S.) Santa Clara, California Tel: 800-366-9782 Fax: 800-729-9288 Electronics (Germany) GmbH Benelux Office Eindhoven, Netherlands Tel: 040-2445845 Fax: 040-2444580 Electronics Hong Kong Ltd. Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044 Electronics (Germany) GmbH Duesseldorf, Germany Tel: 0211-65 Fax: 0211-65 Electronics Hong Kong Ltd. Electronics (France) S.A. Velizy-Villacoublay, France Tel: 01-30-67 Fax: 01-30-67 Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411 Electronics (UK) Ltd. Milton Keynes, Tel: 01908-691-133 Fax: 01908-670-290 Electronics (France) S.A. Spain Office Madrid, Spain Tel: 01-504-2787 Fax: 01-504-2860 Electronics Singapore Pte. Ltd. United Square, Singapore 1130 Tel: 253-8311 Fax: 250-3583 Electronics Italiana s.r.1. Milano, Italy Tel: 02-66 Fax: 02-66 Electronics Taiwan Ltd. Electronics (Germany) GmbH Scandinavia Office Taeby, Sweden Tel: 08-63 Fax: 08-63 Taipei, Taiwan Tel: 02-719-2377 Fax: 02-719-5951 Brasil S.A. Paulo-SP, Brasil Tel: 011-889-1680 Fax: 011-889-1689 J96. µPD784031Y Caution Purchase components conveys license under Philips Patent Rights these components system, provided that system conforms Standard Specification defined Philips. EEPROM IEBus trademarks Corporation. MS-DOS Windows either registered trademarks trademarks Microsoft Corporation United States and/or other countries. DOS, PC/AT, trademarks International Business Machines Corporation. HP9000 Series HP-UX trademarks Hewlett-Packard Company. SPARCstation trademark SPARC International, Inc. SunOS trademark Microsystems, Inc. NEWS NEWS-OS trademarks Sony Corporation. related documents indicated this publication include preliminary versions. However, preliminary versions marked such. part this document copied reproduced form means without prior written consent Corporation. Corporation assumes responsibility errors which appear this document. Corporation does assume liability infringement patents, copyrights other intellectual property rights third parties arising from device described herein other liability arising from such device. license, either express, implied otherwise, granted under patents, copyrights other intellectual property rights Corporation others. While Corporation been making continuous effort enhance reliability semiconductor devices, possibility defects cannot eliminated entirely. minimize risks damage injury persons property arising from defect semiconductor device, customers must incorporate sufficient safety measures design, such redundancy, fire-containment, anti-failure features. devices classified into following three quality grades: "Standard", "Special", "Specific". Specific quality grade applies only devices developed based customer designated "quality assurance program" specific application. recommended applications device depend quality grade, indicated below. Customers must check quality grade each device before using particular application. Standard: Computers, office equipment, communications equipment, test measurement equipment, audio visual equipment, home electronic appliances, machine tools, personal electronic equipment industrial robots Special: Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment medical equipment (not specifically designed life support) Specific: Aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems medical equipment life support, etc. quality grade devices "Standard" unless otherwise specified NEC's Data Sheets Data Books. customers intend devices applications other than those specified Standard quality grade, they should contact sales representative advance. Anti-radioactive design implemented this product. 96.5 Other recent searchesXDMR46A - XDMR46A XDMR46A Datasheet TMP86CH92IDMG - TMP86CH92IDMG TMP86CH92IDMG Datasheet LT3483 - LT3483 LT3483 Datasheet LT3483A - LT3483A LT3483A Datasheet LT3483 - LT3483 LT3483 Datasheet LT3483A - LT3483A LT3483A Datasheet CDLE-057-036 - CDLE-057-036 CDLE-057-036 Datasheet
Privacy Policy | Disclaimer |