Document
DESCRIPTION
EM78P267/467A/B/C 8-BIT MICRO-CONTROLLER FOR CONSUMER PRODUCT
Preliminary
The EM78P267/467A/B/C is an 8-bit microprocessor with low-power, high speed CMOS technology. There are 4Kx13 bits Electical One Time Programmable Read Only Memory (OTP-ROM) within it. It provides 1 Protect bit and 6 One-time Programmable Option bits to protect the OTP memory code from any external access as well as the user's options. The OTP ROM will be incorporated into EM78P267/467A/B/C 8-bit microcontroller instead of it's original memory. The user's development program can be easily programmed into or verify from this OTP memory by using EMC OTP PROGRAMMER.
FEATURES
• Operating voltage range: 2.5V~5.5V
• Available in temperature range: 0°C~70°C
• Operating frequency range:
Crystal Type: DC~20MHz at 5V
DC~8MHz at 3V
RC Type:
DC~4MHz at 5V
DC~4MHz at 3V
• 2Kx13 on chip ROM (EM78267A/B/C)
• 4Kx13 on chip ROM (EM78467A/B/C)
• 9 special function registers
• 148x8 general purpose registers (SRAM)
• 3 bi-directional tri-state I/O ports (20 I/O pins for EM78P267/467A) (24 I/O pins for EM78P267/467B)
(22 I/O pins for EM78P267/467C)
• 5 level stack for subroutine nesting
• 8-bit real time clock/counter (TCC) with selective signal sources and trigger edges, and with overflow interrupt
• Selectable oscillator options:
XTAL1 type (High frequency)
XTAL2 type (32.768KHz)
RC type
External clock input
• Two oscillator periods per instruction cycle
• Power down mode
• Programmable wake up from sleep circuit on I/O ports
• Programmable free running on-chip watchdog timer
• Ten pull-up and wake-up pins
• Two open-drain pins
• Two R-option pins
• Interrupt function available
• 28 pin DIP, SOIC, SSOP
(EM78P267/467A)
28 pin SOIC
(EM78P267/467C)
* This specification are subject to be changed without notice.
9.5.1997 1
32 pin DIP, SOIC
EM78P267/467A/B/C
8-BIT MICRO-CONTROLLER FOR CONSUMER PRODUCT
Preliminary
(EM78P267/467B)
• Function compatible with EM78267/467 except OTP memory inside
PIN ASSIGNMENTS
EM78P267A EM78P467A
TCC VDD
NC VSS /INT P50 P51 P52 P53 P60 P61 P62 P63 P64
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 /RESET 27 OSCI 26 OSCO 25 P77 24 P76 23 P75 22 P74 21 P73 20 P72 19 P71 18 P70 17 P67 16 P66 15 P65
DIP, SOIC
EM78P267A EM78P467A
VSS TCC VDD VDD P50 P51 P52 P53 P60 P61 P62 P63 P64 VSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 /RESET 27 OSCI 26 OSCO 25 P77 24 P76 23 P75 22 P74 21 P73 20 P72 19 P71 18 P70 17 P67 16 P66 15 P65
SSOP
EM78P267B EM78P467B
P55 P54 TCC VDD NC VSS /INT P50 P51 P52 P53 P60 P61 P62 P63 P64
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
32 P56 31 P57 30 /RESET 29 OSCI 28 OSCO
27 P77
26 P76 25 P75 24 P74 23 P73 22 P72 21 P71 20 P70
19 P67 18 P66 17 P65
DIP, SOIC
EM78P267C EM78P467C
P55 P54 TCC VDD VSS P50 P51 P52 P53 P60 P61 P62 P63 P64
1 2 3 4 5 6 7 8 9 10 11 12 13 14
28 /RESET 27 OSCI 26 OSCO 25 P77 24 P76 23 P75 22 P74 21 P73 20 P72 19 P71 18 P70 17 P67 16 P66 15 P65
SOIC
FUNCTIONAL BLOCK DIAGRAM
OSCI OSCO /RESET
TCC /INT
Oscillator/Timing Control
WDT Timer
Control of sleep and wake-up on I/O ports
R1(TCC)
WDT Timeout
Prescaler
RAM
R4
Interrupt Controller
ROM
Instruction register
Instruction Decoder
R2 Stack ALU
R3 ACC
P70 ~ P77
DATA & CONTROL BUS
IOC7 R7
I/O
PORT 7
Fig. 2 Functional block diagram * This specification are subject to be changed without notice.
IOC5 R5
I/O
PORT 5
IOC6 R6
I/O
PORT 6
P50 ~ P57 P60 ~ P67
9.5.1997 2
PIN DESCRIPTION
Symbol OSCI
Type I
OSCO
I/O
TCC RESET P70~P77
I I I/O
P60~P67
P50~P53
P54~P57
INT
NC VDD VSS
I/O
I/O
I/O
I
-
EM78P267/467A/B/C 8-BIT MICRO-CONTROLLER FOR CONSUMER PRODUCT
Preliminary
Function XTAL Type : Crystal input terminal or external clock input pin. RC type : RC oscillator input pin. XTAL type : output terminal for crystal oscillator or external clock input pin. RC type : clock output with a period of one instruction cycle is put on this pin. Real time clock/counter, Schmitt trigger input pin. Must be tied to VDD or VSS if not in use. Schmitt trigger input pin. If this pin remains logic low, the controller is resset. Port 7 is an 8-bit bi-directional I/O port. P74~P75 can be pulled-high internally by software control. P76~P77 can have open-drain output by software control. P70 and P71 are also the R-option pins. Port 6 is an 8-bit bi-direction I/O port. They can be pulled-high internally by software control. Low order 4 pins of Port 5. In case of EM78P447A, only low oder 4 pins are used in port 5. High order 4 pins od Port 5. In case of EM78P447B, Port 5 is an 8bit bi-directional I/O port. Falling edge triggered interrupt input pin. Indicates an interrupt if interrupt is enabled. It has internal pull-up (50kΩ). no connection. Power supply pin. Ground pin.
FUNCTION DESCRIPTIONS
Operational Registers
R0 (Indirect Addressing Register) R0 is not a physically implemented register. It is useful as indirect addressing pointer. Any instruction using R0 as register actually accesses data poin.