UPD78F1154GK-GAK-AX NEC, UPD78F1154GK-GAK-AX Datasheet
UPD78F1154GK-GAK-AX
Specifications of UPD78F1154GK-GAK-AX
Available stocks
Related parts for UPD78F1154GK-GAK-AX
UPD78F1154GK-GAK-AX Summary of contents
Page 1
... The parameters for the product may change before final production or NEC Electronics Corporation, at its own discretion, may withdraw the product prior to its production. Not all products and/or types are availabe in every country. Please check with an NEC Electronics sales representative for availability and additional information. ...
Page 2
APPLICATIONS Home appliances (laser printer motors, clothes washers, air conditioners, refrigerators) Home audio systems Digital cameras, digital video cameras 2 Preliminary Product Information U17892EJ2V0PM 78K0R/KF3 ...
Page 3
OVERVIEW OF FUNCTIONS μ PD78F1152 Item Internal Flash memory 64 KB memory (self-programming supported) RAM 4 KB Memory space 1 MB Main system High-speed system X1 (crystal/ceramic) oscillation, external main system clock input (EXCLK) clock clock MHz: ...
Page 4
PD78F1152 Item • UART supporting LIN-bus: 1 channel Serial interface • CSI: 2 channels/UART: 1 channel • CSI: 1 channel/UART: 1 channel/simplified I • CSI: 1 channel/UART: 1 channel/simplified I • bus: 1 channel 16 bits ...
Page 5
PIN CONFIGURATION (Top View) .......................................................................................................6 2. BLOCK DIAGRAM.................................................................................................................................8 3. PIN FUNCTIONS ....................................................................................................................................9 3.1 Port Functions..............................................................................................................................9 3.2 Non-Port Functions....................................................................................................................11 4. MEMORY SPACE ................................................................................................................................14 5. SPECIAL FUNCTION REGISTERS (SFRs) ........................................................................................19 6. EXTENDED SPECIAL FUNCTION REGISTERS (2nd SFRs: 2nd Special Function Registers)....25 ...
Page 6
... P40/TOOL0 10 RESET 11 P124/XT2 P123/XT1 12 13 FLMD0 14 P122/X2/EXCLK 15 P121/X1 16 REGC Cautions 1. Make AV the same potential Make EV the same potential Connect the REGC pin to Vss via a capacitor (0. and μ F: target). Preliminary Product Information U17892EJ2V0PM 78K0R/KF3 REF0 58 P111/ANO1 57 P110/ANO0 56 AV REF1 55 P90 P10/SCK00 54 53 ...
Page 7
ANI0 to ANI7: Analog input ANO0, ANO1: Analog output Analog reference voltage REF0, REF1 AV : Analog ground Power supply for port Ground for port SS EXCLK: External clock input (Main ...
Page 8
BLOCK DIAGRAM TIMER ARRAY UNIT (8ch) TI00/P00 ch0 TO00/P01 ch1 TI01/TO01/P16 ch2 TI02/TO02/P17 TI03/TO03/P31 ch3 TI04/TO04/P42 ch4 TI05/TO05/P05 ch5 ch6 TI06/TO06/P06 TI07/TO07/P145 ch7 RxD3/P14 (LINSEL) LOW-SPEED INTERNAL OSCILLATOR WINDOW WATCHDOG TIMER RTCDIV/RTCCL/P15 REALTIME COUNTER RTC1HZ/P30 SERIAL ARRAY UNIT0 (4ch) ...
Page 9
PIN FUNCTIONS 3.1 Port Functions Function Name I/O P00 I/O Port 0. 7-bit I/O port. P01 Input of P03 and P04 can be set to TTL buffer. P02 Output of P02 to P04 can be set to N-ch open-drain ...
Page 10
Function Name I/O P60 I/O Port 6. 8-bit I/O port. P61 Output of P60 to P63 can be set to N-ch open-drain output (6 V P62 tolerance). P63 Input/output can be specified in 1-bit units. For only P64 to P67, ...
Page 11
... KR0 to KR3 Input Key interrupt input KR4 to KR7 PCLBUZ0 Output Clock output/buzzer output PCLBUZ1 − REGC Connecting regulator output (2.5 V) stabilization capacitance for internal operation. Connect to V via a capacitor (0. RTCDIV Output Real-time counter clock (32 kHz divided frequency) output RTCCL Output Real-time counter clock (32 kHz original oscillation) output ...
Page 12
... Serial data output from UART1 TxD2 Output Serial data output from UART2 TxD3 Output Serial data output from UART3 − X1 Resonator connection for main system clock − X2 EXCLK Input External clock input for main system clock − XT1 Resonator connection for subsystem clock − ...
Page 13
Function Name I/O − V Positive power supply (P121 to P124 and other than ports) DD − EV Positive power supply for ports (other than P20 to P27, P110, DD P111, P121 to P124 − • A/D converter reference voltage ...
Page 14
MEMORY SPACE μ Memory maps of PD78F1152, 78F1153, 78F1154, 78F1155, and 78F1156 are shown in Figures 4-1 to 4-5. Figure 4-1. Memory Map ( Special function register (SFR ...
Page 15
Figure 4-2. Memory Map ( Special function register (SFR General-purpose register 32 bytes ...
Page 16
Figure 4-3. Memory Map ( Special function register (SFR General-purpose register 32 bytes ...
Page 17
Figure 4-4. Memory Map ( Special function register (SFR General-purpose register 32 bytes ...
Page 18
Figure 4-5. Memory Map ( Special function register (SFR General-purpose register 32 bytes ...
Page 19
SPECIAL FUNCTION REGISTERS (SFRs) Unlike a general-purpose register, each SFR has a special function. SFRs are allocated to the FFF00H to FFFFFH area. SFRs can be manipulated like general-purpose registers, using operation, transfer, and bit manipulation instructions. The manipulable ...
Page 20
Address Special Function Register (SFR) Name FFF00H Port register 0 FFF01H Port register 1 FFF02H Port register 2 FFF03H Port register 3 FFF04H Port register 4 FFF05H Port register 5 FFF06H Port register 6 FFF07H Port register 7 FFF09H Port ...
Page 21
Address Special Function Register (SFR) Name FFF30H A/D converter mode register FFF31H Analog input channel specification register FFF32H D/A converter mode register FFF37H Key return mode register FFF38H External interrupt rising edge enable register 0 FFF39H External interrupt falling edge ...
Page 22
Address Special Function Register (SFR) Name FFF90H Sub-count register FFF91H FFF92H Second count register FFF93H Minute count register FFF94H Hour count register FFF95H Week count register FFF96H Day count register FFF97H Month count register FFF98H Year count register FFF99H Watch ...
Page 23
Address Special Function Register (SFR) Name FFFB0H DMA SFR address register 0 FFFB1H DMA SFR address register 1 FFFB2H DMA RAM address register 0L FFFB3H DMA RAM address register 0H FFFB4H DMA RAM address register 1L FFFB5H DMA RAM address ...
Page 24
Address Special Function Register (SFR) Name FFFF0H Multiplication input data register A FFFF1H FFFF2H Multiplication input data register B FFFF3H FFFF4H Higher multiplication result storage register FFFF5H FFFF6H Lower multiplication result storage register FFFF7H FFFFEH Processor mode control register Remark ...
Page 25
EXTENDED SPECIAL FUNCTION REGISTERS (2nd SFRs: 2nd Special Function Registers) Unlike a general-purpose register, each extended SFR (2nd SFR) has a special function. Extended SFRs are allocated to the F0000H to F07FFH area. SFRs other than those in the ...
Page 26
Table 6-1. Extended SFR (2nd SFR) List (1/5) Address Special Function Register (SFR) Name F0017H A/D port configuration register F0030H Pull-up resistor option register 0 F0031H Pull-up resistor option register 1 F0033H Pull-up resistor option register 3 F0034H Pull-up resistor ...
Page 27
Table 6-1. Extended SFR (2nd SFR) List (2/5) Address Special Function Register (SFR) Name F0110H Serial mode register 00 F0111H F0112H Serial mode register 01 F0113H F0114H Serial mode register 02 F0115H F0116H Serial mode register 03 F0117H F0118H Serial ...
Page 28
Table 6-1. Extended SFR (2nd SFR) List (3/5) Address Special Function Register (SFR) Name F014CH Serial flag clear trigger register 12 F014DH F014EH Serial flag clear trigger register 13 F014FH F0150H Serial mode register 10 F0151H F0152H Serial mode register ...
Page 29
Table 6-1. Extended SFR (2nd SFR) List (4/5) Address Special Function Register (SFR) Name F0188H Timer channel counter register 04 F0189H F018AH Timer channel counter register 05 F018BH F018CH Timer channel counter register 06 F018DH F018EH Timer channel counter register ...
Page 30
Table 6-1. Extended SFR (2nd SFR) List (5/5) Address Special Function Register (SFR) Name F01B0H Timer channel enable status register 0 F01B1H F01B2H Timer channel start trigger register 0 F01B3H F01B4H Timer channel stop trigger register 0 F01B5H F01B6H Timer ...
Page 31
PERIPHERAL HARDWARE FUNCTIONS 7.1 Ports The following four types of I/O ports are available. • CMOS input (Port 12 (P121 to P124)): • CMOS output (Port 13): • CMOS I/O (Port 0, Port 1, Port 2, Port 3, Port ...
Page 32
... External main system clock frequency Subsystem clock frequency SUB MHz by connecting a resonator to X1 and X2 MHz (TYP.). After a reset release, the CPU always starts MHz) can also be supplied from the EXCLK/X2/P122 pin. = 32.768 kHz by connecting a 32.768 kHz resonator across XT1 and SUB = 240 kHz (TYP ...
Page 33
Controller Selector Prescaler Preliminary Product Information U17892EJ2V0PM 78K0R/KF3 33 ...
Page 34
... The clock generator uses the following nine types of registers. (1) Clock operation mode control register (CMC) This register selects whether the X1 and X2 pins, and XT1 and XT2 pins are used to connect an oscillator or as input port pins. (2) Clock operation status control register (CSC) This register is used to set an operation mode of a clock source (except the internal low-speed oscillation clock) ...
Page 35
Timer Array Unit (TAU) The timer array unit has eight 16-bit timers per unit. Each 16-bit timer is called a channel and can be used as an independent timer. In addition, two or more “channels” can be used to ...
Page 36
Combination operation functions are those functions that are attained by using the master channel (mostly the reference timer that controls cycles) and the slave channels (timers that operate following the ...
Page 37
Timer array unit configuration Figure 7-2. Block Diagram of Timer Array Unit Timer clock select register 0 (TPS0) Peripheral enable PRS13 TAU0EN PRS12 PRS11 PRS10 register 0 (PER0 CLK f /2 CLK Selector CK00 MCK CK01 f ...
Page 38
The timer array unit consists of the following registers. <Registers of unit setting block> (1) Peripheral enable register 0 (PER0) Bit 0 of this register enables or stops operation of the timer array unit. The default value of this bit ...
Page 39
Channel number ( (12) Timer data register 0n (TDR0n) This is the data register of channel n. In the interval timer mode, it functions as a compare register (that sets an ...
Page 40
Real-Time Counter The real-time counter has the following features. • Having counters of year, month, week, day, hour, minute, and second, and can count years. • Constant-period interrupt function (period: 1 month to 0.5 seconds) • ...
Page 41
The following registers control the real-time counter. (1) Peripheral enable register 0 (PER0) Bit 7 of this register is used to enable or stop operation of the real-time counter. The default value of this bit is set to stop the ...
Page 42
Year count register (YEAR) The YEAR register is an 8-bit register that takes a value (decimal) and indicates the count value of years. It counts up when the month counter overflows. (13) Watch error correction ...
Page 43
Watchdog Timer The watchdog timer operates on the internal low-speed oscillation clock. The watchdog timer is used to detect an inadvertent program loop program loop is detected, an internal reset signal is generated. Figure 7-4. Block Diagram ...
Page 44
Clock Output/Buzzer Output Controller The clock output controller is intended for carrier output during remote controlled transmission and clock output for supply to peripheral ICs. Buzzer output is a function to output a square wave of buzzer frequency. One ...
Page 45
A/D Converter The A/D converter converts an analog input signal into a digital value, and consists channels (ANI0 to ANI7) with a resolution of 10 bits. The A/D converter has the following function. • 10-bit ...
Page 46
The A/D converter uses the following seven types of registers. (1) Peripheral enable register 0 (PER0) Bit 5 of this register is used to enable or stop operation of the A/D converter. The default value of this bit is set ...
Page 47
D/A Converter The D/A converter has a resolution of 8 bits and converts an input digital signal into an analog signal configured so that output analog signals of two channels (ANO0 and ANO1) can be controlled. The ...
Page 48
Serial Array Unit (SAU) The serial array unit has four serial channels per unit and can use two or more of various serial interfaces (three- wire serial (CSI), UART, and simplified IIC) in combination. Function assignment of each channel ...
Page 49
UART This is a start-stop synchronization function using two lines: serial data transmission (TxD) and serial data reception (RxD) lines. It transmits or receives data in asynchronization with the party of communication (by using an internal baud rate). Full-duplex ...
Page 50
Serial array unit configuration Figure 7-8. Block Diagram of Serial Array Unit 0 Peripheral enable register 0 (PER0) Serial clock select register 0 (SPS0) PRS PRS PRS PRS SAU0EN 013 012 011 010 4 f Prescaler CLK 0 f ...
Page 51
Figure 7-9. Block Diagram of Serial Array Unit 1 Peripheral enable Serial clock select register 1 (SPS1) register 0 (PER0) PRS PRS PRS PRS PRS SAU1EN 113 112 111 110 103 4 Prescaler f CLK ...
Page 52
The serial array unit consists of the following registers. <Registers of unit> m: Unit number ( (1) Peripheral enable register 0 (PER0) Bit 2 of this register enables or stops the operation of serial array unit 0, ...
Page 53
Unit number ( 1), n: Channel number ( (9) Serial data register mn (SDRmn) This is the transmit/receive data register of channel n. Bits function as ...
Page 54
Serial Interface IIC0 Serial interface IIC0 has the following two modes. (1) Operation stop mode This mode is used when serial transfers are not performed. It can therefore be used to reduce power consumption bus ...
Page 55
Serial interface IIC0 consists of the following hardware units. (1) Peripheral enable register 0 (PER0) Bit 4 of this register is used to enable or stop operation of serial interface IIC0. The default value of this bit is set to ...
Page 56
Multiplier The multiplier executes an operation of 16 bits × 16 bits with one clock. It has the following features. • Can execute calculation of 16 bits × 16 bits = 32 bits. Figure 7-11. Block Diagram of Multiplier ...
Page 57
Key Return Signal Detector A key interrupt (INTKR) can be generated by inputting the falling edge to key interrupt input pins (KR0 to KR7), depending on the setting of key return mode register (KRM). Figure 7-12. Block Diagram of ...
Page 58
Power-on-Clear (POC) Circuit The power-on-clear circuit (POC) has the following functions. • Generates internal reset signal at power on. The reset signal is released if the supply voltage (V Caution If the low-voltage detector (LVI) is set to ON ...
Page 59
Low-Voltage Detector (LVI) The low-voltage detector (LVI) has the following functions. • The LVI circuit compares the supply voltage (V external input pin (EXLVI) with the detection voltage (V or internal interrupt signal. • The low-voltage detector (LVI) can ...
Page 60
DMA Controller The 78K0R/KF3 has an internal DMA (Direct Memory Access) controller. Data can be automatically transferred between the peripheral hardware supporting DMA, SFRs, and internal RAM without via CPU result, the normal internal operation of the ...
Page 61
INTERRUPT FUNCTION A total of 42 interrupt sources are provided, divided into the following two types. • Maskable interrupt: 41 • Software interrupt: 1 Table 8-1. Interrupt Source List (1/3) Interrupt Default Note 1 Type Priority Name Maskable 0 ...
Page 62
Table 8-1. Interrupt Source List (2/3) Interrupt Default Note 1 Type Priority Name Maskable 20 INTTM00 End of timer channel 0 count or capture 21 INTTM01 End of timer channel 1 count or capture 22 INTTM02 End of timer channel ...
Page 63
Table 8-1. Interrupt Source List (3/3) Interrupt Default Note 1 Type Priority Name − Software BRK Execution of BRK instruction − Reset RESET RESET pin input POC Power-on-clear LVI Low-voltage detection WDT Overflow of watchdog timer TRAP Execution of illegal ...
Page 64
Figure 8-1. Basic Configuration of Interrupt Function (A) Internal maskable interrupt Interrupt IF request (B) External maskable interrupt External interrupt edge enable register (EGP, EGN) Interrupt Edge request detector (C) Software interrupt Interrupt request IF: Interrupt request flag IE: Interrupt ...
Page 65
STANDBY FUNCTION The standby function is designed to reduce the operating current of the system. The following two modes are available. • HALT mode: Stops the operating clock of the CPU. operation mode for intermittent operation, the average current ...
Page 66
RESET FUNCTION The microcontroller is reset in the following five ways • External reset input via RESET pin • Internal reset by watchdog timer program loop detection • Internal reset by comparison of supply voltage and detection voltage of ...
Page 67
OPTION BYTES Addresses 000C0H to 000C3H of the flash memory of the 78K0R/KF3 form an option byte area. Option bytes consist of user option byte (000C0H to 000C2H) and on-chip debug option byte (000C3H). Upon power application or resetting ...
Page 68
ELECTRICAL SPECIFICATIONS (TARGET) Cautions 1. These specifications show target values, which may change after device evaluation. 2. The 78K0R/KF3 is provided with an on-chip debug function. After using the on-chip debug function, do not use the product for mass ...
Page 69
Absolute Maximum Ratings (T = 25°C) (2/2) A Parameter Symbols Output current, low I Per pin OL1 Total of all pins 200 mA I Per pin OL2 Total of all pins Operating ambient T In normal operation mode A temperature ...
Page 70
X1 Oscillator Characteristics = −40 to +85°C, 1.8 V ≤ Resonator Recommended Circuit Ceramic resonator X1 clock oscillation frequency ( Crystal resonator X1 clock oscillation ...
Page 71
Internal Oscillator Characteristics = −40 to +85°C, 1.8 V ≤ Oscillators Parameters 8 MHz internal Internal high- No temperature correction oscillator speed oscillation clock frequency Temperature correction Note ( 2.7 V ≤ ...
Page 72
DC Characteristics (1/4) = −40 to +85°C, 1.8 V ≤ Items Symbol Output current, I Per pin for P00 to P06, P10 to P17, OH1 Note 1 high P30, P31, P40 to P47, P50 ...
Page 73
DC Characteristics (2/4) = −40 to +85°C, 1.8 V ≤ Items Symbol Input voltage, V P01, P02, P12, P13, P15, P41, P45, P52 to P55, P64 to IH1 high P67, P90, P121 to P124, ...
Page 74
DC Characteristics (3/4) = −40 to +85°C, 1.8 V ≤ Items Symbol Output voltage, V P00 to P06, P10 to P17, P30, P31, OH1 high P40 to P47, P50 to P55, P64 to P67, ...
Page 75
... Preliminary Product Information U17892EJ2V0PM ≤ 5 ≤ REF0 REF1 DD Conditions REF0 REF1 Input port resonator connection REF0 REF1 Input port resonator connection 2.7 V ≤ V ≤ 5 1.8 V ≤ V < 2 2.7 V ≤ V ≤ 5 1.8 V ≤ V < 2 78K0R/KF3 = MIN. TYP. MAX. Unit μ μ μ μ μ −1 μ ...
Page 76
AC Characteristics (1) Basic operation = −40 to +85°C, 1.8 V ≤ Items Symbol Instruction cycle (minimum T CY instruction execution time) External main system clock f EX frequency External main system clock input ...
Page 77
T vs 100 62.5 10 5.0 2.0 1.0 0.4 0.2 0.1 0.05 0.01 AC Timing Test Points (Excluding External Main System Clock External Main System Clock Timing EXCLK Preliminary Product Information U17892EJ2V0PM (Main System ...
Page 78
TI Timing TI00 to TI07 Interrupt Request Input Timing INTP0 to INTP11 Key Interrupt Input Timing KR0 to KR7 RESET Input Timing RESET TIL TIH t t INTIL INTH RSL Preliminary Product Information U17892EJ2V0PM ...
Page 79
A/D Converter Characteristics = −40 to +85°C, 1.8 V ≤ Parameter Symbol Resolution R ES Notes 1, 2 Overall error AINL Conversion time t CONV Notes 1, 2 Zero-scale error EZS Notes 1, ...
Page 80
... IH 2 HANDLING OF UNUSED INPUT PINS Unconnected CMOS device inputs can be cause of malfunction input pin is unconnected possible that an internal input level may be generated due to noise, etc., causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed high or low by using pull-up or pull-down circuitry ...
Page 81
... NEC Electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC Electronics products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Electronics or others. • ...
Page 82
Preliminary Product Information U17892EJ2V0PM 78K0R/KF3 ...
Page 83
Preliminary Product Information U17892EJ2V0PM 78K0R/KF3 83 ...
Page 84
... Limburglaan 5 5616 HR Eindhoven The Netherlands Tel: 040 265 40 10 78K0R/KF3 [Asia & Oceania] NEC Electronics (China) Co., Ltd 7th Floor, Quantum Plaza, No. 27 ZhiChunLu Haidian District, Beijing 100083, P.R.China TEL: 010-8235-1155 http://www.cn.necel.com/ NEC Electronics Shanghai Ltd. Room 2509-2510, Bank of China Tower, 200 Yincheng Road Central, Pudong New Area, Shanghai P ...