1 General Description
The EM78P520N is an 8-bit RISC type microprocessor withlow power, high speed CMOS technology. Integrated
onto a single chip are on-chip Watchdog Timer (WDT), LCD Data RAM, ROM, programmable real time clock
counter, internal/external interrupt, power down mode, 12 bits A/D Converter, UART, SPI, 8-channel LED driver,
LCD driver and tri-state I/O.
2 Features
CPU Configuration
• 8K×13 bits on-chip ROM
• 272×8 bits on-chip registers (SRAM)
• 8-level stacks for subroutine nesting
• Dual clock operation or PLL operation mode
• Four operation mode: Normal, Green, Idle, Sleep
• Less than 2.1 mA at 5V/4MHz
• Typically 22 µA, at 3V/32kHz
• Typically 8 µA, during sleep mode
• Single Instruction Cycle Commands
I/O Port Configuration
• Six bidirectional I/O ports : P7, P8, P9, PA, PB, PC
• 43 I/O pins
• 8-pin Direct Drive LED
• 39 Programmable open-drain I/O pins
• 43 programmable pull-high I/O pins
• External interrupt : P74~P77, PB0~PB3, P82~P83
Operating voltage range:
OTP version:
• Operating voltage range : 2.3V~5.5V
Operating temperature range : -40~85°C
Operating frequency range:
• Crystal/RC oscillation circuit selected by code option
for system clock
• 32.768kHz crystal/RC oscillation circuit selected by
code option for sub-oscillation
Main Clock
•Crystal mode:
DC~20MHz/2 clks @ 5V; DC~100ns inst. cycle @ 5V
DC~8MHz/2 clks @ 3V; DC~250ns inst. Cycle @ 3V
DC~4MHz/2 clks @ 2.3V; DC~500ns inst. Cycle @ 2.3V
• ERIC mode:
DC~2.2MHz/2 clks @ 2.3V; DC~909ns inst. cycle @ 2.3V
• PLL mode:
DC~16MHz/2 clks @ 5V; DC~125ns inst Cycle @ 5V
Sub Clock
• Crystal mode: 32.768kHz
• ERIC mode: 33kHz (2.2MΩ)
Special Features
• Programmable free running watchdog timer
• High ESD immunity
• High EFT immunity
• Power saving Sleep mode
• Selectable Oscillation mode
Peripheral Configuration
• Serial peripheral interface (SPI) available
• 8-bit real time clock/counter (TCC)
• 12-channels Analog-to-Digital Converter with
12-bit resolution in Vref mode
• LCD: 8×23 dots, bias (1/2, 1/3, 1/4),
duty (static, 1/3, 1/4, 1/8)
• Two 8-bit timers
• 8-bit Timer 1, auto reload counter/timer which
can be an interrupt source. Function mode;
Timer, Toggle output, UART baud rate generator,
Capture, PWM
• 8-bit Timer 2, auto reload timer which can be an
interrupt source. Function mode; Timer, SPI
baud rate generator, PWM
• Two sets of 8 bits auto reload counter/timer
which can be cascaded to one 16-bit
counter/timer
• Universal asynchronous receiver / transmitter
(UART) available
• Four programmable watch timer: 1.0 sec,
0.5 sec, 0.25sec, 3.91ms
• Four programmable buzzer output: 0.5kHz,
1kHz, 2kHz, 4kHz
• Four programmable Level Voltage Detector
(LVD) : 3.9V, 3.3V, 2.7V, 2.4V
• Power-on reset and three Programmable Level
Voltage Reset POR: 2.1V (Default)
LVR: 3.9V, 3.3V, 2.6V
Eighteen available interrupts:
• TCC overflow interrupt
• Ten External interrupts
(wake-up from sleep mode)
• ADC completion interrupt
• Two timer interrupt
• Watch timer interrupt
• Two serial I/O interrupt
• Low voltage detect (LVD)
Package Type:
• 32 pin SKDIP 400mil : EM78P520NK32AJ/S
• 32 pin SOP 450mil : EM78P520NSO32J/S
• 44 pin QFP 10×10mm : EM78P520NQ44J/S
• 44 pin LQFP 10×10mm : EM78P520NL44J/S
• 48 pin LQFP 7×7mm : EM78P520NL48J/S