Preliminary Product Information
MOS Integrated Circuit
78K0/KB2
8-BIT SINGLE-CHIP MICROCONTROLLER
The 78K0/KB2 products are 8-bit single-chip microcontrollers of the 78K0 series.
These microcontrollers feature Single-voltage Self-programming Flash memory and many peripherals.
FEATURES
•
78K0 CPU core, 8-bit CISC architecture
•
Flash EEPROM and RAM sizes
Item
Product name
Program memory
(Flash ROM)
32K bytes (Flash)
24K bytes (Flash)
16K bytes (Flash)
8K bytes (Flash)
1K bytes
1K bytes
768 bytes
512 byte
Data memory
(RAM)
µ
PD78F0503
µ
PD78F0502
µ
PD78F0501
µ
PD78F0500
Minimum instruction cycle
0.1
µ
s (20MHz@4.0V to 5.5V)
0.2
µ
s (10MHz@2.7V to 5.5V)
0.4
µ
s ( 5MHz@1.8V to 5.5V)
Clock
•
MAIN CLOCK
- Internal High-speed-oscillator 8MHz (Typ.)
- Ceramic/Crystal Oscillator/External CLK (1MHz to 20MHz)
(Instruction execution time = 100ns(min.) @20MHz)
•
WDT CLOCK
-
Internal Low-speed-oscillator 240KHz (Typ.)
Peripherals.
•
On-Chip Power-On-Clear (POC) Circuit
•
AD CONVERTER
- 10-bit resolution A/D converter 4 ch
•
I/O PORT
Total : 23
CMOS I/O : 21
N-ch O.D I/O: 2
•
Other
-
Self programming
- On-chip debug function
Interrupt
- Internal 16ch
- External 6ch
Operation Voltage
1.8V to 5.5V
Package
30-pin SSOP (7.62mm(300))
(
µ
PD78F0503D only)
•
Low
-
Voltage Detector (LVI) Circuit
•
Timer
- 16bit Timer 1ch
- 8bit Timer 4ch
- Watchdog Timer (Operable with 240KHz Internal-Low-speed
-oscillator)
•
Serial Interface
- UART/CSI 1ch
- UART (with LIN-bus) 1ch
- IIC 1ch
This information contained in this document is being issued in advance of the production cycle for the product. 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 available in every country. Please
check with an NEC Electronics sales representative for availability and additional information.
ZUD-CC-04-0125-E
Data Published Oct 2004 N CP(K)
©NEC Electronics Corporation 2004
78K0/KB2
1. Block Diagram
Fig. 78K0/KB2
TI000
TI010
TO00
Port0
16bit Timer
(TM00)
Port1
P00 -P01
P10 -P17
TOH0
8bit Timer
(TMH0)
Port2
P20 -P23
TOH1
8bit Timer
(TMH1)
Port3
P30 -P33
TO50
TI50
8bit Timer
(TM50)
78K0
CPU CORE
Port6
P60 -P61
TO51
TI51
8bit Timer
(TM51)
Port12
P120 -P122
SCL0
SDA0
Multi master
IIC
(IIC0)
Flash
EEPROM
RxD6
TxD6
UART-LIN
(UART6)
RAM
RxD0
TxD0
UART
(UART0)
Watchdog
Timer
Reset CTL
RESET
Power On
Clear
(POC)
FLMD0
System
Control
REGC
VDD
VSS
SI10
SO10
SCK10
3wire
Serial I/F
(CSI10)
ANI0 -
ANI3
AVREF
AVSS
10bit AD
converter
EXLVI
Low voltage
Indicator
(LVI)
Internal High-speed
-oscillator
(8MHz typ.)
Internal Low-speed
-oscillator
(240kHz typ.)
High-speed system
clock OSC
X1
X2/ EXCLK
INTP0 -
INTP5
External
Interrupt
ZUD-CA-05-0060
Data Published Oct 2004 N CP(K)
©NEC Electronics Corporation 2004
78K0/KB2
2. Pin Lay Out
78K0/KB2
30-pin plastic SSOP (7.62mm(300))
µ
PD78F0500MC-5A4,
µ
PD78F0501MC-5A4
µ
PD78F0502MC-5A4,
µ
PD78F0503MC-5A4
P21/ANI1
P20/ANI0
P01/TI010/TO00
P00/TI000
P120/INTP0/EXLVI
RESET
IC/FLMD0
P122/X2/EXCLK
P121/X1
REGC
VSS
VDD
P60/SCL0
P61/SDA0
P33/TI51/TO51/INTP4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
30pin SSOP
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
P22/ANI2
P23/ANI3
AVSS
AVREF
P10/SCK10/TXD0
P11/SI10/RXD0
P12/SO10
P13/TXD6
P14/RXD6
P15/TOH0
P16/TOH1/INTP5
P17/TI50/TO50
P30/INTP1
P31/INTP2
P32/INTP3
ZUD-CA-05-0060
Data Published Oct 2004 N CP(K)
©NEC Electronics Corporation 2004
78K0/KB2
3. Pin Function
Table (1/2)
PIN NAME
VDD
VSS
RESET
FLMD0
REGC
AVREF
AVSS
P00
/TI000
Function
Positive power supply except for ports (except P20-P23) and AD converter
Ground potential except for ports (except P20-P23) and AD converter
System reset input
Flash EEPROM programming mode setting
Connecting regulator output stabilization capacitor. Connect to GND via a
capacitor (0.47
µ
F)
A/D converter analog power supply and power supply for P20-P23
Ground potential for A/D converter and P20 - P23.
I/O port
External count clock input to 16-bit timer/event counter 00
Capture trigger input to capture registers (CR000, CR010) of16-bit
timer/event counter 00 (TM00)
I/O port
Capture trigger input to capture register (CR000) of 16-bit timer/event
counter 00 (TM00)
16-bit timer/event counter 00 output (TM00)
I/O port
Clock input/ output for serial interface (CSI10)
Serial data output from asynchronous serial interface (UART0)
I/O port
Serial data input to serial interface (CSI10)
Serial data input to asynchronous serial interface (UART0)
I/O port
Serial data output form serial interface (CSI10)
I/O port
Serial data output from asynchronous serial interface (UART6)
I/O port
Serial data input to asynchronous serial interface (UART6)
I/O port
8-bit timer H0 output (TMH0)
I/O port
8-bit timer H1 output (TMH1)
External interrupt request input with specifiable valid edges
I/O port
External count clock input to 8-bit timer/event counter 50 (TM50)
8-bit timer/event counter 50 output (TM50)
P01
/TI010
/TO00
P10
/SCK10
/TXD0
P11
/SI10
/RXD0
P12
/SO10
P13
/TXD6
P14
/RXD6
P15
/TOH0
P16
/TOH1
/INTP5
P17
/TI50
/TO50
ZUD-CA-05-0060
Data Published Oct 2004 N CP(K)
©NEC Electronics Corporation 2004
78K0/KB2
Table(2/2)
PIN NAME
P20- P23
/ ANI0- ANI3
P30/INTP1
P31/INTP2
P32/INTP3
P33
/TI51
/TO51
/INTP4
P60
/SCL0
P61
/SDA0
P120
/INTP0
/EXLVI
P121
/X1
P122
/X2
/EXCLK
Function
I/O ports
A/D converter analog input
I/O port
External interrupt request input with specifiable valid edges
I/O port
External count clock input to 8-bit timer/event counter 51(TM51)
8-bit timer/event counter 51output (TM51)
External interrupt request input with specifiable valid edges
I/O port (N-ch Open drain)
Clock input/ output for serial interface (IIC0)
I/O port (N-ch Open drain)
Serial data input/ output for serial interface (IIC0)
I/O port
External interrupt request input with specifiable valid edges
Reference voltage input for Low voltage Indicator
I/O port (An external oscillation circuit is not used)
Connecting resonator for main system clock oscillation
I/O port (An external oscillation circuit is not used)
Connecting resonator for main system clock oscillation
External clock input for main system clock
ZUD-CA-05-0060
Data Published Oct 2004 N CP(K)
©NEC Electronics Corporation 2004