upd178f124 Renesas Electronics Corporation., upd178f124 Datasheet
upd178f124
Related parts for upd178f124
upd178f124 Summary of contents
Page 1
SINGLE-CHIP MICROCONTROLLER DESCRIPTION The PD178F124 is a flash memory model of the PD178023 and 178024, and is provided with a flash memory to/from which data can be written/erased with the microcontroller mounted on a printed circuit board. For the ...
Page 2
DEVELOPMENT OF 8-BIT DTS SERIES Flash memory model or PROM model 80 pins PD178F048 Internal OSD controller 8-bit PWM 4 channels 14-bit PWM 1 channel 100 pins PD178F098 TM Internal IEBus controller and UART 80 pins PD178F134 Internal LCD and ...
Page 3
FUNCTIONAL OUTLINE Item Internal Flash memory 32 Kbytes High-speed RAM 1024 bytes General-purpose register 8 bits Minimum instruction execution time 0.45 s/0.89 s/1.78 s/3.56 s/7.11 s (with crystal resonator of f Instruction set • 16-bit operation • Multiplication/division (8 bits ...
Page 4
Item Frequency counter Frequency measurement • AMIFC pin: For 450-kHz counting • FMIFC pin: For 450-kHz/10.7-MHz counting Reset • Reset by RESET pin • Internal reset by watchdog timer • Reset by power-ON clear circuit • Detection of less than ...
Page 5
PIN CONFIGURATION (Top View) • 80-pin plastic QFP (14 20) PD178F124GF-3B9 RESET 2 P10/ANI0 3 P11/ANI1 4 P12/ANI2 5 P13/ANI3 6 ...
Page 6
QFP (14 14) PD178F124GC-8BT P10/ANI0 1 P11/ANI1 2 P12/ANI2 3 P13/ANI3 4 P14/ANI4 5 P15/ANI5 6 P70/SI3 ...
Page 7
PIN NAME AMIFC : AM intermediate frequency counter input ANI0-ANI5 : A/D converter input BEEP0 : Buzzer output EO0, EO1 : Error out output FMIFC : FM intermediate frequency counter input GND : Ground GNDPLL : PLL ground GNDPORT : ...
Page 8
BLOCK DIAGRAM TI50/P33 8-bit TIMER/ EVENT COUNTER50 TO50/P130 TI51/P34 8-bit TIMER/ TO51/P131 EVENT COUNTER51 WATCHDOG TIMER BASIC TIMER SI3/P70 SERIAL SO3/P71 INTERFACE3 SCK3/P72 SDA0/P76 BUS SCL0/P77 RXD0/P74 UART0 TXD0/P75 INTP0/P00- INTERRUPT 5 INTP4/P04 CONTROL BEEP0/P36 BUZZER OUTPUT ...
Page 9
DIFFERENCES BETWEEN PD178F124 AND MASK ROM MODELS ............................... 10 2. PIN FUNCTION LIST .................................................................................................................... 11 2.1 Port Pins ................................................................................................................................. 11 2.2 Pins Other Than Port Pins ................................................................................................... 12 2.3 I/O Circuits of Pins and Recommended Connections of Unused Pins ...
Page 10
DIFFERENCES BETWEEN PD178F124 AND MASK ROM MODELS The PD178F124 is provided with a flash memory to/from which data can be rewritten/erased with the device mounted on a printed circuit board. The differences between the flash memory model ( PD178F124) ...
Page 11
PIN FUNCTION LIST 2.1 Port Pins Pin Name I/O P00-P04 I/O Port 0. 7-bit I/O port. P05, P06 Can be set in input or output mode in 1-bit units. P10-P15 Input Port 1. 6-bit input port. P30-P32 I/O Port ...
Page 12
Pins Other Than Port Pins Pin Name I/O INTP0-INTP4 Input External maskable interrupt input whose valid edge (rising edge, falling edge, or both rising and falling edges) can be specified. SI3 Input Serial data input to serial interface. SO3 ...
Page 13
I/O Circuits of Pins and Recommended Connections of Unused Pins Table 2-1 shows the types of the I/O circuits of the respective pins and the recommended connections of the pins when they are not used. For the configuration of ...
Page 14
Figure 2-1. I/O Circuits of Respective Pins (1/2) Type 2 IN Schmitt trigger input with hysteresis characteristics Type 5-A Pullup enable V DD Data P-ch Output N-ch disable Input enable Type Data P-ch Output N-ch disable Remark ...
Page 15
Figure 2-1. I/O Circuits of Respective Pins (2/2) Type 19 OUT N-ch Type 25 P-ch Comparator + – N-ch V (Threshold voltage) REF Input enable Note This switch is selectable in software only for the VCOL and VCOH pins. Remark ...
Page 16
MEMORY SPACE Figure 3-1 shows the memory map of the PD178F124 Special function registers 256 General-purpose registers ...
Page 17
Memory Size Select Register (IMS) The memory size select register (IMS) sets the internal memory capacity. When the target mask ROM model is the PD178023, PD178024, set this register to C6H, C8H respectively. Use an 8-bit memory manipulation instruction ...
Page 18
Internal Extension RAM Size Select Register (IXS) The internal extension RAM size select register (IXS) sets the internal extension RAM capacity. When the target mask ROM model is the PD178023, PD178024, use this register with the initial value (0CH). ...
Page 19
INTERRUPT FUNCTION The PD178F124 has the following three types and 17 sources of interrupts: Note • Non-maskable : 1 Note • Maskable : 16 • Software : 1 Note Two types of watchdog interrupt sources (INTWDT), non-maskable and maskable, ...
Page 20
Figure 4-1. Basic Configuration of Interrupt Function (1/2) (A) Internal non-maskable interrupt Interrupt request (B) Internal maskable interrupt Interrupt IF request (C) External maskable interrupt External interrupt rising/ falling edge enable registers (EGP, EGN) Edge detection Interrupt circuit request 20 ...
Page 21
Figure 4-1. Basic Configuration of Interrupt Function (2/2) (D) Software interrupt Interrupt request Remark IF : Interrupt request flag IE : Interrupt enable flag ISP : In-service priority flag MK : Interrupt mask flag PR : Priority specification flag Internal ...
Page 22
FLASH MEMORY PROGRAMMING The program memory provided in the PD178F124 is flash memory. The flash memory can be written on-board, i.e., with the PD178F124 mounted on the target system so, connect a dedicated flash writer (Flashpro III ...
Page 23
Flash Memory Programming Function An operation such as writing the flash memory is performed when a command or data is transmitted/received in the selected communication mode. The major flash memory programming functions are listed in Table 5-2. Table 5-2. ...
Page 24
Connecting Flashpro III Connection with Flashpro III differs depending on the communication mode (3-wire serial I/O or UART0). Figures 5-2 and 5-3 show the connection in the respective modes. Figure 5-2. Connection of Flashpro III in 3-Wire Serial I/O ...
Page 25
ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings ( Parameter Symbol Supply voltage PORT DD V PLL Input voltage V I Output voltage V Excluding P130 to P132 O Output breakdown V ...
Page 26
DC Characteristics (T = – Parameter Symbol High-level input V P10-P15, P30-P32, P35-P37, P40-P47, P50-P57, IH1 voltage P60-P67, P71, P73, P120-P125 V P00-P06, P33, P34, P70, P72, P74-P75, RESET IH2 V P76, P77 IH3 (N-ch ...
Page 27
DC Characteristics (T = – Parameter Symbol Low-level input I P00-P06, P10-P15, LIL leakage current P30-P37, P40-P47, P50-P57, P60-P67, P70-P77, P120-P125, RESET Output off I P130-P132 LOH1 leakage current I P130-P132 LOL1 I P76, P77 ...
Page 28
Reference Characteristics (T = – Parameter Symbol Supply current I When CPU and PLL are operating. DD3 Sine wave input to VCOH pin 160 MHz 0. ...
Page 29
Serial interface (T = – (a) Serial interface (IIC0 bus mode Parameter SCL0 clock frequency Bus free time (between stop and start conditions) Note 1 Hold time SCL0 clock low-level width ...
Page 30
Serial interface (SIO3) (i) 3-wire serial I/O mode (SCK3 ... internal clock output) Parameter Symbol SCK3 cycle time t KCY1 SCK3 high/low-level width t , KH1 t KL1 SI3 setup time (to SCK3 ) t SIK1 SI3 hold time ...
Page 31
AC Timing Test Point (Excluding X1 Input) 0 Timing TI50,TI51 Interrupt Input Timing INTP0 to INTP4 RESET Input Timing RESET 0 Test Points 0 1/f TI5 t t TIL5 TIH5 ...
Page 32
Serial Transfer Timing bus mode: t LOW t R SCL0 DAT STA SDA0 t BUF Stop Start condition condition 3-wire serial I/O mode: SCK3 SI3 SO3 Remark ...
Page 33
A/D Converter Characteristics (T = – Parameter Symbol Resolution Total conversion V = 4 Note error Conversion time t CONV Analog input voltage V IAN Note Excluding quantization error ( 1/2LSB) ...
Page 34
Flash Memory Programming Characteristics (V (1) Write/delete characteristics Parameter Symbol Note Write current (V pin DDW Note Write current (V pin PPW Note Delete current (V pin DDE Note Delete current (V pin) I ...
Page 35
Flash Write Mode Setting Timing DRPSR V PPH PPL t PSRON V DD RESET (input RFCF PSRRF t COUNT Data ...
Page 36
PACKAGE DRAWING 80-PIN PLASTIC QFP (14x20 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition ...
Page 37
PLASTIC QFP (14x14 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition ...
Page 38
RECOMMENDED SOLDERING CONDITIONS Solder this product under the following recommended conditions. For details of the recommended soldering conditions, refer to information document Semiconductor Device Mounting Technology Manual (C10535E). For soldering methods and conditions other than those recommended, consult NEC. ...
Page 39
APPENDIX A. DEVELOPMENT TOOLS The following development tools are available for development of systems using the PD178F124. (1) Language processor software Notes RA78K0 Assembler package common to 78K/0 series Notes CC78K0 C compiler package ...
Page 40
When in-circuit emulator IE-78001-R-A is used IE-78001-R-A In-circuit emulator common to 78K/0 series IE-70000-98-IF-C Interface adapter necessary when a PC-9800 series (except notebook-type PC) is used as host machine (C bus supported) IE-70000-PC-IF-C Interface adapter when a IBM PC/AT ...
Page 41
APPENDIX B. RELATED DOCUMENTS The related documents indicated in this publication may include preliminary versions. However, preliminary versions are not marked as such. Device Documents Title PD178023, 178024 Data Sheet PD178F124 Data Sheet PD178024, 178124 Subseries User’s Manual 78K/0 Series ...
Page 42
Related Documents for Embedded Software (User’s Manual) Title 78K/0 Series Real-time OS 78K/0 Series OS MX78K0 Other Documents Title SEMICONDUCTOR SELECTION GUIDE Products & Packages (CD-ROM) Semiconductor Device Mounting Technology Manual Quality Guides on NEC Semiconductor Devices NEC Semiconductor Device ...
Page 43
Data Sheet U14933EJ1V0DS00 PD178F124 43 ...
Page 44
Data Sheet U14933EJ1V0DS00 PD178F124 ...
Page 45
Data Sheet U14933EJ1V0DS00 PD178F124 45 ...
Page 46
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. electricity as much as possible, and quickly ...
Page 47
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 48
The information in this document is current as of August, 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 ...