ChipFind - Datasheet

Part Number EM73P982

Download:  PDF   ZIP
1
* This specification are subject to be changed without notice.
EM73P982
EM73P982
EM73P982
EM73P982
EM73P982
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
12.25.2001
GENERAL DESCRIPTION
GENERAL DESCRIPTION
GENERAL DESCRIPTION
GENERAL DESCRIPTION
GENERAL DESCRIPTION
EM73P982 is an advanced single chip CMOS 4-bit one-time programming (OTP) micro-controller. It contains
16K-byte ROM, 372-nibble RAM, 4-bit ALU, 13-level subroutine nesting, 22-stage time base, two 12-bit timer/
counters for the kernal function. EM73P982 also contains 5 interrupt sources, 3 I/O ports (including 1 input port
and 2 bidirection ports), LCD display (40x8), built-in sound generator and speech synthesizer.
Except low-power consumption and high speed, EM73P982 also have a sleep mode for power saving function.
EM73P982 is suitable for appliaction in many fields, for example : family appliance, consumer products, hand
held games and the toy controller ... etc.
FEATURES
FEATURES
FEATURES
FEATURES
FEATURES
· Operation voltage
: 2.4V to 5.5V.
· Clock source
: Single clock system for both RC and Crystal are available by mask option.
External clock and internal clock are available by mask option.
· Oscillation frequency : 480K, 1M, 2M and 4M Hz are available by mask option.
· Instruction set
: 109 powerful instructions.
· Instruction cycle time : Up to 2us for 4 MHz.
· ROM capacity
: 16384 X 8 bits.
· RAM capacity
: 372 X 4 bits.
· Input port
: 1 port (P0.0-P0.3) and sleep/hold releasing function are available by mask option.
(each input pin is pull-up and pull-down resistor available by mask option).
· Bidirection port
: 2 ports (P4, P8). P4.0 and SOUND is available by mask option. P8(0..3) and sleep/
hold releasing function are available by mask option.
· 12-bit timer/counter
: Two 12-bit timer/counters are programmable for timer, event counter and pulse width
measurement.
· Built-in time base counter : 22 stages.
· Subroutine nesting
: Up to 13 levels.
· Interrupt
: External . . . . . 1 input interrupt sources.
Internal . . . . . . 2 Timer overflow interrupts.
1 Time base interrupt.
1 Speech ending interrupt.
· LCD driver
: 40 X 8 dots, 1/8 duty, LCD bias is 1/4 and modified 1/4 available by mask option, LCD
bias resistor is 20K X 5 and 10K X 5 available by mask option.
· Sound effect
: Tone generator, random generator and volume control.
· Speech synthesizer
: Speech data ROM . . 24K bytes.
Sample rate . . . . . . . 4K, 5K, 8K, 10K, 12K, 15K, 20K programmable.
· Power saving function : Sleep mode and Hold mode.
· Package type :
EM73P982H
Chip form
69 pins.
2
* This specification are subject to be changed without notice.
EM73P982
EM73P982
EM73P982
EM73P982
EM73P982
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
12.25.2001
FUNCTION BLOCK DIAGRAM
FUNCTION BLOCK DIAGRAM
FUNCTION BLOCK DIAGRAM
FUNCTION BLOCK DIAGRAM
FUNCTION BLOCK DIAGRAM
PIN DESCRIPTIONS
PIN DESCRIPTIONS
PIN DESCRIPTIONS
PIN DESCRIPTIONS
PIN DESCRIPTIONS
Symbol
Symbol
Symbol
Symbol
Symbol
Pin-type
Pin-type
Pin-type
Pin-type
Pin-type
Function
Function
Function
Function
Function
V
D D
Power supply (+)
V
SS
Power supply (-)
RESET
RESET-A
System reset input signal, low active
mask option :
none
pull-up
XIN/CLK
OSC-A/OSC-C Crystal/RC or external clock source connecting pin
XOUT/NC
OSC-A/OSC-C Crystal connecting pin
P0.(0..3)/WAKEUP0..3
INPUT-B
4-bit input port with Sleep/Hold releasing function
P0.0/ACLK : address counter clock for programming OTP
P0.1/PGMB : program data to OTP cells for programming OTP
P0.2/OEB : data output enable for programming OTP
P0.3/DCLK : data in/out clock signal for programming OTP
mask option :
wakeup enable, pull-up
wakeup enable, none
wakeup disable, pull-up
wakeup disable, pull-down
wakeup disable, none
Interrupt
Control
Time
Base
Timer/Counter
(TA,TB)
System Control
Instruction Decoder
Instruction Register
ROM
PC
Data Bus
Reset
Control
Clock
Generator
Timing
Generator
Sleep Mode
Control
Data pointer
ACC
ALU
Flag
Z
C
S
Stack pointer
Stack
ROM
HR
LR
I/O Control
P0.0/WAKEUP0
P0.1/WAKEUP1
P0.2/WAKEUP2
P0.3/WAKEUP3
P4.0/SOUND
P4.1
P4.2
P4.3
P8.0/WAKEUPA
P8.1(TRGB)/WAKEUPB
P8.2(INT0)/WAKEUPC
P8.3(TRGA)/WAKEUPD
RESET
XIN/CLK XOUT/NC
SOUND GEN.
LCD Driver
COM0~COM7
SOUND
SEG0~SEG39
Voice
Synthesizer
VO
3
* This specification are subject to be changed without notice.
EM73P982
EM73P982
EM73P982
EM73P982
EM73P982
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
12.25.2001
P8.1(TRGB)/WAKEUPB I/O-L
2-bit bidirection I/O port with time/counter A,B external input and Sleep
P8.3(TRGA)/WAKEUPD
/Hold releasing function
P8.1/DOUT : Data output for programming OTP
mask option :
wakeup enable, push-pull
wakeup disable, push-pull
wakeup disable, open-drain
VO
Built-in Speech synthesizer analog signal output
SOUND
Built-in sound effect output
COM0~COM7
LCD common output pins
SEG0~SEG39
LCD segment output pins
TEST
Test pin must be floating
VPP
High voltage (12V) power source for programming OTP
P4.0/SOUND
I/O-O
1-bit bidirection I/O port or inverse sound effect output
mask option :
SOUND enable, push-pull, high current PMOS
SOUND disable, open-drain
SOUND disable, push-pull, high current PMOS
SOUND disable, push-pull, low current PMOS
P4(1..3)
I/O-N
3-bit bidirection I/O port with high current source.
mask option :
open-drain
push-pull, high current PMOS
push-pull, low current PMOS
P8.0/WAKEUPA
I/O-L
2-bit bidirection I/O port with external interrupt sources input only for
P8.2(INT0)/WAKEUPC
P8.2 and Sleep/Hold releasing function
P8.0/DIN : Data input for programming OTP
mask option :
wakeup enable, push-pull
wakeup disable, push-pull
wakeup disable, open-drain
Symbol
Symbol
Symbol
Symbol
Symbol
Pin-type
Pin-type
Pin-type
Pin-type
Pin-type
Function
Function
Function
Function
Function
4
* This specification are subject to be changed without notice.
EM73P982
EM73P982
EM73P982
EM73P982
EM73P982
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
12.25.2001
FUNCTION DESCRIPTIONS
FUNCTION DESCRIPTIONS
FUNCTION DESCRIPTIONS
FUNCTION DESCRIPTIONS
FUNCTION DESCRIPTIONS
ACCUMULATOR
ACCUMULATOR
ACCUMULATOR
ACCUMULATOR
ACCUMULATOR
Accumulator is a 4-bit data register for temporary data. For the arithematic, logic and comparative opertion
.., ACC plays a role which holds the source data and result.
FLAGS
FLAGS
FLAGS
FLAGS
FLAGS
There are three kinds of flag, CF (Carry flag), ZF (Zero flag), SF (Status flag), these 3 1-bit flags are affected
by the arithematic, logic and comparative .... operation.
All flags will be put into stack when an interrupt subroutine is served, and the flags will be restored after
RTI instruction executed.
(1) Carry Flag ( CF )
The carry flag is affected by following operation:
a. Addition : CF as a carry out indicator, when the addition operation has a carry-out, CF will be "1",
in another word, if the operation has no carry-out, CF will be "0".
b. Subtraction : CF as a borrow-in indicator, when the subtraction operation must has a borrow, in the CF
will be "0", in another word, if no borrow-in, CF will be "1".
c. Comparision: CF is as a borrow-in indicator for Comparision operation as the same as subtraction
operation.
d. Rotation: CF shifts into the empty bit of accumulator for the rotation and holds the shift out data after
rotation.
e. CF test instruction : For TFCFC instruction, the content of CF sends into SF then clear itself "0".
For TTSFC instruction, the content of CF sends into SF then set itself "1".
(2) Zero Flag ( ZF )
ZF is affected by the result of ALU, if the ALU operation generate a "0" result, the ZF will be "1",
otherwise, the ZF will be "0".
(3) Status Flag ( SF )
The SF is affected by instruction operation and system status.
a. SF is initiated to "1" for reset condition.
b. Branch instruction is decided by SF, when SF=1, branch condition will be satisified, otherwise,
branch condition will not be satisified by SF = 0.
5
* This specification are subject to be changed without notice.
EM73P982
EM73P982
EM73P982
EM73P982
EM73P982
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
4-BIT MICROCONTROLLER
12.25.2001
ZF CF SF
ALU
DATA BUS
PROGRAM EXAMPLE:
Check following arithematic operation for CF, ZF, SF
CF
ZF
SF
LDIA #00h;
-
1
1
LDIA #03h;
-
0
1
ADDA #05h;
-
0
1
ADDA #0Dh;
-
0
0
ADDA #0Eh;
-
0
0
ALU
ALU
ALU
ALU
ALU
The arithematic operation of 4 - bit data is performed in ALU unit. There are 2 flags can be affected by
the result of ALU operation, ZF and SF. The operation of ALU can be affected by CF only.
ALU STRUCTURE
ALU STRUCTURE
ALU STRUCTURE
ALU STRUCTURE
ALU STRUCTURE
ALU supported user arithematic operation function, including : addition, subtraction and rotaion.
ALU FUNCTION
ALU FUNCTION
ALU FUNCTION
ALU FUNCTION
ALU FUNCTION
(1) Addition:
For instruction ADDAM, ADCAM, ADDM #k, ADD #k,y .... ALU supports addition function.
The addition operation can affect CF and ZF. For addition operation, if the result is "0", ZF will be "1",
otherwise, not equal "0", ZF will be "0". When the addition operation has a carry-out, CF will be "1",
otherwise, CF will be "0".
EXAMPLE:
Operation
Carry
Zero
3+4=7
0
0
7+F=6
1
0
0+0=0
0
1
8+8=0
1
1