EM78P311N
8-Bit Microcontroller
1 General Description
The EM78P311N is an 8-bit microprocessor with low-power, high-speed CMOS technology and high noise immunity. It
has an on-chip 2K×13-bits Electrical One Time Programmable Read Only Memory (OTP-ROM). It provides
multi-protection bits to prevent intrusion of user’s OTP memory codes. Seven Option bits are also available to meet
user’s requirements. With its OTP-ROM feature, the EM78P311N provides a convenient way of developing and verifying
user’s programs. Moreover, this OTP device offers the advantages of easy and effective program updates, using
development and programming tools. User can avail of the ELAN Writer to easily program his development code.
2 Features
z8 bits Timer/Counter
TCC: 8-bit real time clock/counter with overflow
interrupt
CPU configuration
z2K×13 bits on-chip ROM
z80×8 bits on-chip registers (SRAM)
z8-level stacks for subroutine nesting
zLess than 3.5mA at 5V/8MHz
zTypically 0.8 μA, during sleep mode
zTypically 1.1 μA, during idle mode
TC3: Timer/Counter/Capture
TC4: Timer/Counter/ PWM (pulse width
modulation)/PDO (Programmable divider output)
z8-bit channels Analog-to-Digital Converter with 10-bit
resolution
zTime Base Timer:(1Hz~16kHz at 8MHz)
zKey tone output:(1kHz~8kHz at 8MHz)
z8-bit channels Analog-to-Digital Converter with 10-bit
resolution
I/O port configuration
z4 bidirectional I/O ports : P6, P7, P8, P9
z22 I/O pins
z10 Programmable pull-down I/O pins
z10 programmable pull-high I/O pins
zExternal interrupt : P60, P61, P73, P80
Fifteen available interruptions:
zWDT time-out interrupt
zTCC overflow interrupt
zTime base timer interrupt(the first falling edge of the
source clock)
zSerial UART transmit interrupt
zSerial UART receive interrupt
zSerial UART receive error interrupt
zFour External interrupt
zADC completion interrupt
zTC2 overflow interrupt
Operating voltage range:
zOTP version
Operating voltage range:2.5v~5.5v
Operating temperature range:
z-40~85°C
Operating frequency range:
Main clock
zTC3 overflow interrupt
zTC4 overflow interrupt
zSerial SPI interrupt
•Crystal mode:
DC ~ 20MHz/2clks @ 5V; DC ~100ns inst. cycle @ 5V
DC ~ 8MHz/2clks @ 3V;DC ~ 250ns inst. cycle @ 3V
Special features
•ERC mode:
zProgrammable free running watchdog timer
zTwo clocks per instruction cycle
zPower on Reset
zHigh noise immunity
zPower saving Sleep mode
zSelectable Oscillation mode
DC ~ 16MHz/2clks @ 5V;DC ~ 125ns inst. cycle @ 5V
DC ~ 8MHz/2clks @ 3V;DC ~ 250ns inst. cycle @ 3V
Peripheral configuration
zSerial peripheral interface (SPI) available
zUniversal asynchronous receiver transmitter interface
(UART)available
Package type:
z16 bits Counter/Timer
z28-pin DIP 600 mil: EM78P311NP
TC2: Timer/Counter/Window
z28-pin Skinny DIP 300 mil: EM78P311NAK
z28-pin Skinny DIP 400 mil: EM78P311N
z28-pin SOP 300 mil: EM78P311NM
z28-pin SSOP 209 mil: EM78P311NS
3 Pin Assignment
1
28
(ACLK) OSCO
OSCI
VDD
2
27
26
25
24
23
22
21
20
19
18
17
16
15
/RESET (VPP)
P67 (DINCK)
P66 (DATAIN)
P65 (PGMB)
P64 (/SS)(OEB)
P63 (/TONE)
P62 (TC2)
3
TEST
4
(AD0) P90
(AD1) P91
(AD2) P92
(AD3) P93
(AD4) P94
(AD5) P95
(AD6) P96
(AD7/VREF) P97
(TC3, INT3) P80
5
6
7
8
9
P61 (INT1)
10
11
12
13
14
P60 (/INT0)
P73 (/SLEEP, /INT5)
P72 (TX,SO)
P71(RX,SI)
(TC4, /PWM, /PDO) P81
VSS
P70 (/SCK)
EM78P311N
Fig. 3- Pin Assignment
Product Specification (V1.0) 10.02.2006
(This specification is subject to change without further notice)
• 1