UPD784216A NEC [NEC], UPD784216A Datasheet

no-image

UPD784216A

Manufacturer Part Number
UPD784216A
Description
16-BIT SINGLE-CHIP MICROCONTROLLER
Manufacturer
NEC [NEC]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD784216AGC
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD784216AGC-207-8EU
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD784216AGF-555
Manufacturer:
NEC
Quantity:
300
Part Number:
UPD784216AYGC-134-8EU
Manufacturer:
NEC
Quantity:
1 831
Part Number:
UPD784216AYGC-158-8EU-A
Manufacturer:
NEC
Quantity:
900
Part Number:
UPD784216AYGC-158-8EU-A
Manufacturer:
NEC
Quantity:
1 000
Document No. U14118EJ1V0DS00
Date Published March 2001 N CP(K)
Printed in Japan
DESCRIPTION
incorporated enables program writing or erasing with the microcontroller mounted on the target board.
FEATURES
APPLICATION
ORDERING INFORMATION
Pin-compatible with mask ROM version (except V
Flash memory: 256 KB
Internal RAM: 10496 bytes
Serial interface:
• UART/IOE (3-wire serial I/O): 2 channels (on-chip baud rate generator)
• CSI (3-wire serial I/O):
On-chip IEBus
Supply voltage: V
The µ PD78F4938A is a product in the µ PD784938A Subseries in the 78K/IV Series.
The µ PD78F4938A has flash memory in place of the internal ROM of the µ PD784938A. The flash memory
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
designing.
Car audio, etc.
µ PD78F4938AGF-3BA
Part Number
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.
TM
µ PD784938A Subseries User’s Manual Hardware: U13570E
78K/IV Series User’s Manual Instructions:
V
controller
DD
DD
= 4.0 to 5.5 V (@12.58 MHz operation)
= 3.0 to 5.5 V (@6.29 MHz operation)
16-BIT SINGLE-CHIP MICROCONTROLLER
4 channels
2 channels
100-pin plastic QFP (14 × 20)
DATA SHEET
Package
PP
pin)
MOS INTEGRATED CIRCUITS
µ PD78F4938A
U10905E
Internal ROM
256 KB
©
Internal RAM
10496 bytes
1999, 2001
2001

Related parts for UPD784216A

UPD784216A Summary of contents

Page 1

SINGLE-CHIP MICROCONTROLLER DESCRIPTION The µ PD78F4938A is a product in the µ PD784938A Subseries in the 78K/IV Series. The µ PD78F4938A has flash memory in place of the internal ROM of the µ PD784938A. The flash memory incorporated enables ...

Page 2

SERIES LINEUP : Products in mass-production : Products under development Standard models µ PD784026 Enhanced A/D converter, 16-bit timer, and power management ASSP models µ PD784956A For DC inverter control µ PD784908 TM On-chip IEBus controller µ PD784915 Software ...

Page 3

OVERVIEW OF FUNCTIONS Part Number Item Number of basic instructions (mnemonics) 113 8 bits × 32 registers × 8 banks bits × 8 registers × 8 banks (memory map) General-purpose registers 320 ns/636 ns/1.27 µ s/2.54 µ s ...

Page 4

Part Number Item Standby HALT/STOP/IDLE mode Interrupt Hardware source 27 (internal: 20, external: 7 (sampling clock variable input: 1)) Software source BRK instruction, BRKCS instruction, operand error Non-maskable Internal: 1, external: 1 Maskable Internal: 19, external: 6 Four programmable priority ...

Page 5

DIFFERENCES AMONG PRODUCTS IN µ PD784938A SUBSERIES ................................... 2. PIN CONFIGURATION (TOP VIEW) ........................................................................................... 3. BLOCK DIAGRAM ......................................................................................................................... 4. PIN FUNCTIONS ............................................................................................................................ 10 4.1 Port Pins ................................................................................................................................. 10 4.2 Non-Port Pins ........................................................................................................................ 12 4.3 Pin I/O Circuits and Recommended ...

Page 6

DIFFERENCES AMONG PRODUCTS IN µ PD784938A SUBSERIES The only difference between the µ PD784935A, 784936A, 784937A, and 784938A is the internal memory capacity. The µ PD78F4938A has a 256 KB flash memory in the place of the mask ROM ...

Page 7

PIN CONFIGURATION (TOP VIEW) • 100-pin plastic QFP (14 × 20) µ PD78F4938AGF-3BA 100 P36/T02 1 P37/T03 2 P100 3 ...

Page 8

A8 to A19: Address bus AD0 to AD7: Address/data bus ANI0 to ANI7: Analog input ASCK, ASCK2: Asynchronous serial clock ASTB: Address strobe AV : Analog power supply Reference voltage REF1 AV : Analog ground SS CI: ...

Page 9

BLOCK DIAGRAM NMI Programmable interrupt controller INTP0 to INTP5 INTP3 Timer/counter 0 TO0 (16 bits) TO1 Timer/counter 1 INTP0 (16 bits) INTP1 INTP2/CI Timer/counter 2 TO2 (16 bits) TO3 Timer 3 (16 bits) P00 to P03 Real-time output port ...

Page 10

PIN FUNCTIONS 4.1 Port Pins (1/2) Pin Name I/O Alternate Function P00 to P07 I/O — P10 I/O — P11 — P12 ASCK2/SCK2 P13 RxD2/SI2 P14 TxD2/SO2 P15 to 17 — P20 Input NMI P21 INTP0 P22 INTP1 P23 ...

Page 11

Port Pins (2/2) Pin Name I/O Alternate Function P70 to P77 I/O ANI0 to ANI7 P90 to P97 I/O — P100 to P104 I/O — P105 SCK3 P106 SI3 P107 SO3 Function Port 7 (P7): • 8-bit I/O port. ...

Page 12

Non-Port Pins (1/2) Pin Name I/O Alternate Function TO0 to TO3 Output P34 to P37 CI Input P23/INTP2 RxD Input P30/SI1 RxD2 P13/SI2 TxD Output P31/SO1 TxD2 P14/SO2 ASCK Input P25/INTP4/SCK1 ASCK2 P12/SCK2 SI0 Input P27 SI1 P30/RxD SI2 ...

Page 13

Non-Port Pins (2/2) Pin Name I/O Alternate Function CLKOUT Output ASTB PWM0 Output — PWM1 Output — RX Input — TX Output — REGC — — REGOFF — — RESET Input — X1 Input — X2 — XT1 Input ...

Page 14

Pin I/O Circuits and Recommended Connection of Unused Pins The I/O circuit type of each pin and recommended connection of unused pins are shown in Table 4-1. For the I/O circuit configuration of each type, refer to Figure 4-1. ...

Page 15

Table 4-1. Types of Pin I/O Circuits and Recommended Connection of Unused Pins (2/2) Pin Name I/O Circuit Type REGOFF 1 REGC — PWM0, PWM1 — REF1 Caution Connect an ...

Page 16

Type Type 2 IN Schmitt-triggered input with hysteresis characteristics Type 2 Schmitt-triggered input with hysteresis characteristics Type P-ch Data N-ch 16 Figure 4-1. Pin I/O Circuits (1/2) ...

Page 17

Figure 4-1. Pin I/O Circuits (2/2) Type Data P Output N disable Comparator – V (threshold voltage) REF Input enable IN/OUT Data Sheet U14118EJ1V0DS µ PD78F4938A 17 ...

Page 18

INTERNAL MEMORY SIZE SWITCHING REGISTER (IMS) IMS is a register to prevent a certain part of the internal memory from being used by software. By setting the IMS possible to establish a memory map that is the ...

Page 19

PROGRAMMING FLASH MEMORY Flash memory can be written while mounted on the target system (on-board writing). Connect the dedicated flash programmer (Flashpro III (part No.: FL-PR3, PG-FP3)) to the host machine and target system for programming. Moreover, writing to ...

Page 20

Flash Memory Programming Functions By transmitting and receiving various commands and data by the selected communication mode, operations such as writing to the flash memory are performed. Table 6-2 shows the major functions. Table 6-2. Flash Memory Programming Functions ...

Page 21

Connecting Flashpro III The connection between the Flashpro III and the µ PD78F4938A differs depending on the communication mode (3-wire serial I/O or UART). Figures 6-2 and 6-3 are the connection diagrams in each case. Figure 6-2. Flashpro III ...

Page 22

ELECTRICAL SPECIFICATIONS ° Absolute Maximum Ratings ( Parameter Symbol Supply voltage REF1 Input voltage V I2 Analog input voltage V IAN Output voltage V O Output current, low I ...

Page 23

Operating Conditions • Clock frequency Clock Frequency 4 MHz ≤ f ≤ 12.58 MHz XX 4 MHz ≤ f ≤ 6.29 MHz XX • Operating ambient temperature (T • Power supply voltage and clock cycle time: Refer to Figure 7-1 ...

Page 24

Main Oscillator Characteristics (T = –40 to +85 A Parameter Symbol Oscillator frequency f XX Caution When using the main clock oscillator, wire as follows to avoid an adverse effect from wiring capacitance. • Keep the wiring length as short ...

Page 25

DC Characteristics (T = – Parameter Symbol Note Input voltage, low V IL1 V IL2 V IL3 V IL4 Input voltage, high V IH1 V IH2 V IH3 V IH4 Output voltage, low V ...

Page 26

DC Characteristics (T = – Parameter Symbol Power supply current I DD1 I DD2 I DD3 Data hold voltage V DDDR Data hold current I DDDR Pull-up resistor R L Note When the main ...

Page 27

AC Characteristics (T = – (1) Read/write operation (1/2) Parameter Symbol Cycle time t CYK Address setup time t SAST (to ASTB ) Address hold time t HSTLA (from ASTB ) ASTB high-level width t ...

Page 28

AC Characteristics (T = – (1) Read/write operation (2/2) Parameter Symbol Delay time from address to t DAW WR Address hold time (from HWA Delay time from ASTB to t DSTOD data ...

Page 29

AC Characteristics (T = – (2) External wait timing Parameter Symbol WAIT input time from t DAWT address WAIT input time from ASTB t DSTWT WAIT hold time from ASTB t HSTWTH Delay time from ...

Page 30

AC Characteristics (T = – (3) Bus hold/refresh timing Parameter Symbol Delay time from HLDRQ t FHQC to float Delay time from HLDRQ to t DHQHHAH HLDAK Delay time from float to t DCFHA HLDAK ...

Page 31

Timing Waveform (1) Read operation t WSTH ASTB t SAST t HSTLA A8 to A19 AD0 to AD7 t DSTR t DAR RD (2) Write operation t WSTH ASTB t SAST t HSTLA A8 to A19 AD0 to AD7 t ...

Page 32

Hold Timing ASTB A19, AD0 to AD7, RD FHQC HLDRQ t DHQHHAH HLDAK External Wait Signal Input Timing (1) Read operation ASTB t DSTWT A8 to A19 AD0 to AD7 t DAWT RD WAIT (2) Write ...

Page 33

Refresh Timing Waveform (1) Random read/write cycle t RC ASTB (2) When refresh memory is accessed for a read and write at the same time ASTB RD DSTRFQ REFRQ (3) Refresh after a read ...

Page 34

Serial Operation (T = – (a) CSI0, CSI3 3-wire serial I/O mode (SCK0, SCK3 ... External clock input) Parameter Symbol SCK cycle time t , CYSK0 (SCK0, SCK3) t CYSK3 SCK low-level width t ...

Page 35

Serial Operation (T = – (c) UART0, UART3 (Asynchronous serial interface mode) Parameter Symbol ASCK0, ASCK2 cycle time t CYASK ASCK0, ASCK2 low-level width t WASKL ASCK0, ASCK2 high-level width t WASKH = AV ...

Page 36

Serial Operation (T = – (d) IOE1, IOE2 3-wire serial I/O mode (SCK1, SCK2 ... External clock input) Parameter Symbol SCK cycle time (SCK1, SCK2) t CYSK1 t CYSK2 SCK low-level width t , ...

Page 37

Other Operations (T = – Parameter Symbol NMI high-/low-level width t WNIL t WNIH INTP0 high-/low-level width t WIT0L t WIT0H INTP1 to INTP3, CI high-/ t WIT1L low-level width t WIT1H INTP4, INTP5 ...

Page 38

A/D Converter Characteristics (T = –40 to +85 A Parameter Symbol Resolution Note 1 Overall error Quantization error Conversion time t CONV Sampling time t SAMP Analog input voltage V IAN Analog input impedance R AN Reference voltage AV REF1 ...

Page 39

Serial Operation (CSI, CSI3) t SCK0, SCK3 SI0, SI3 SO0, SO3 Serial Operation (IOE1, IOE2) SCK1, SCK2 SI1, SI2 SO1, SO2 Serial Operation (UART0, UART2) ASCK0, ASCK2 Clock Output Timing CLKOUT t WSKLn WSKHn t CYSKn ...

Page 40

Interrupt Request Input Timing NMI INTP0 CI, INTP1 to INTP3 INTP4, INTP5 Reset Input Timing RESET WNIH WNIL t t WIT0H WIT0L t t WIT1H WIT1L t t WIT2H WIT2L t t WRSH WRSL Data Sheet U14118EJ1V0DS ...

Page 41

Data Retention Characteristics STOP mode setting HVD FVD RESET NMI (Clearing by falling edge) NMI (Clearing by rising edge) V DDDR t DREL t RVD Data Sheet U14118EJ1V0DS PD78F4938A t WAIT 41 ...

Page 42

PACKAGE DRAWING 100PIN PLASTIC QFP (14x20 100 NOTE Each lead centerline is located within 0.15 mm (0.006 inch) of its true position (T.P.) at maximum material condition. Remark The external dimensions ...

Page 43

RECOMMENDED SOLDERING CONDITIONS The PD78F4938A should be soldered and mounted under the following recommended conditions. For details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting Technology Manual (C10535E). For soldering methods and conditions other than ...

Page 44

APPENDIX A. DEVELOPMENT TOOLS The following development tools are available for system development using the PD78F4938A. 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 ...

Page 45

When IE-784000-R in-circuit emulator is used IE-784000-R In-circuit emulator common to 78K/IV Series IE-70000-98-IF-B Interface adapter used when PC-9800 series (except notebook type) is used as host machine IE-70000-98-IF-C IE-70000-98N-IF Interface adapter and cable used when PC-9800 series notebook ...

Page 46

Cautions on using development tools • The ID78K4-NS, ID78K4, and SM78K4 are used in combination with the DF784937. • The CC78K4 and RX78K/IV are used in combination with the RA78K4 or DF784937. • The Flashpro III, FA-100GF, and NP-100GF ...

Page 47

APPENDIX B. RELATED DOCUMENTS The related documents indicated in this publication may include preliminary versions. However, preliminary versions are not marked as such. • Documents related to devices µ PD784935A, 784936A, 784937A, 784938A Data Sheet µ PD78F4938A Data Sheet µ ...

Page 48

Documents related to embedded software (user’s manuals) 78K/IV Series Real-Time OS • Other documents SEMICONDUCTOR SELECTION GUIDE Products & Packages (CD-ROM) Semiconductor Device Mounting Technology Manual Quality Grades on NEC Semiconductor Devices NEC Semiconductor Device Reliability/Quality Control System Guide ...

Page 49

Data Sheet U14118EJ1V0DS µ PD78F4938A 49 ...

Page 50

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

Page 51

Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They ...

Page 52

The information in this document is current as of December, 2000. The information is subject to change without notice. For actual design-in, refer to the latest publications of NEC's data sheets or data books, etc., for the most up-to-date specifications ...

Related keywords