ChipFind - документация

Электронный компонент: S3C80E5

Скачать:  PDF   ZIP

Document Outline

S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
PRODUCT OVERVIEW
1-1
1
PRODUCT OVERVIEW
S3C8-SERIES MICROCONTROLLERS
Samsung's S3C8-series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU, a wide range
of integrated peripherals and various mask-programmable ROM sizes. Important CPU features include:
-- Efficient register-oriented architecture
-- Selectable CPU clock sources
-- Idle and Stop power-down mode release by interrupt
-- Built-in basic timer with watchdog function
A sophisticated interrupt structure recognizes up to eight interrupt levels. Each level can have one or more
interrupt sources and vectors. Fast interrupt processing (within a minimum six CPU clocks) can be assigned to
specific interrupt levels.
S3C80E5/C80E7 MICROCONTROLLER
The S3C80E5/C80E7 single-chip CMOS
microcontroller is fabricated using a highly
advanced CMOS process, based on Samsung's
newest CPU architecture.
The S3C80E5/C80E7 is the microcontroller which
has 16/24-Kbyte mask-programmable ROM. The
S3P80E5/P80E7 is the microcontroller which has
16/24-Kbyte one-time-programmable EPROM.
Using a proven modular design approach, Samsung
engineers developed the S3C80E5/C80E7 by
integrating the following peripheral modules with the
powerful SAM87 core:
-- Four programmable I/O ports, including three
8-bit ports and one 2-bit port, for a total of 26
pins.
-- Internal LVD circuit and twelve bit-
programmable pins for external interrupts.
-- One 8-bit basic timer for oscillation stabilization
and watchdog functions (system reset).
-- One 8-bit timer/counter and one 16-bit
timer/counter with selectable operating modes.
-- One 8-bit counter with auto-reload function and
one-shot or repeat control.
The S3C80E5/C80E7 is a versatile general-purpose
microcontroller which is especially suitable for use
as unified remote transmitter controller. It is
currently available in a 32-pin SOP and SDIP
package for S3C80E5 and S3C80E7. And available
in 40 DIP package only for S3C80E7.
OTP
The S3P80E5/P80E7 is an OTP (One Time Programmable) version of the S3C80E5/C80E7 microcontroller. The
S3P80E5/P80E7 microcontroller has an on-chip 16/24-Kbyte one-time-programmable EPROM instead of a
masked ROM. The S3P80E5/P80E7 is comparable to the S3C80E5/C80E7, both in function and in pin
configuration.
PRODUCT OVERVIEW
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
1-2
FEATURES
CPU
SAM87 CPU core
Memory
16-Kbyte internal program memory (ROM):
S3C80E5
24-Kbyte internal program memory (ROM):
S3C80E7
256-byte internal (RAM): 800080FFH
Data memory: 317-byte internal register file
Instruction Set
78 instructions
IDLE and STOP instructions added for power-
down modes
Instruction Execution Time
750 ns at 8 MHz f
OSC
(minimum)
Interrupts
Six interrupt levels and 18 interrupt sources
15 vectors (14 sources have a dedicated vector
address and four sources share a single vector)
Fast interrupt processing feature (for one
selected interrupt level)
I/O Ports
Three 8-bit I/O ports (P0P2) and one 2-bit port
(P3) for a total of 26 bit-programmable pins
Twelve input pins for external interrupts
Timers and Timer/Counters
One programmable 8-bit basic timer (BT) for
oscillation stabilization control or watchdog timer
(software reset) function
One 8-bit timer/counter (Timer 0) with three
operating modes; Interval, Capture, and PWM
One 16-bit timer/counter (Timer 1) with two
operating modes; Interval and Capture
Carrier Frequency Generator
One 8-bit counter with auto-reload function and
one-shot or repeat control (Counter A)
Back-up mode
When reset pin is low level or when V
DD
is lower
than V
LVD
, the chip enters back-up mode to
reduce current consumption.
Low Voltage Detect Circuit
Low voltage detect for reset or back-up mode
input.
Low level detect voltage :
2.2 V (Typ) 100 mV/+ 200 mV
Operating Temperature Range
40
C to + 85
C
Operating Voltage Range
2.0 V to 5.5 V at 4 MHz f
OSC
2.1 V to 5.5 V at 8 MHz f
OSC
Package Type
32-pin SOP
32-pin SDIP
40-pin DIP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
PRODUCT OVERVIEW
1-3
BLOCK DIAGRAM
I/O PORT and INTERRUPT
CONTROL
SAM87
CPU
INTERNAL BUS
8-BIT
BASIC
TIMER
PORT2
X
IN
X
OUT
PROGRAM
MEMORY
(16/24-Kbyte Program
Memory and 256-Byte
Program RAM)
317-BYTE
REGISTER
FILE
P2.0P2.3
(INT5INT8)
P2.4P2.7
PORT 0
P1.0P1.7
PORT 1
8-BIT
TIMER/
COUNTER
16-BIT
TIMER/
COUNTER
CARRIER
GENERATOR
(COUNTER A)
RESET
TEST
PORT 3
P3.1/REM/T0CK
P3.0/T0PWM/
T0CAP/T1CAP
P0.0P0.7
(INT0INT4)
MAIN
OSC
V
DD
LVD
Figure 1-1. Block Diagram
PRODUCT OVERVIEW
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
1-4
PIN ASSIGNMENTS
V
SS
X
IN
X
OUT
TEST
P2.0/INT5
P2.1/INT6
P2.2/INT7
P2.3/INT8
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
P0.4/INT4
P0.5/INT4
P0.6/INT4
P0.7/INT4
V
DD
P3.1/REM/T0CK
P3.0/T0PWM/T0CAP/T1CAP
P2.7
P2.6
P2.5
P2.4
P1.7
P1.6
P1.5
P1.4
P1.3
P1.2
P1.1
P1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
S3C80E5
S3C80E7
32-SOP/SDIP
(Top View)
RESET/BACK-UP MODE
Figure 1-2. Pin Assignment (32-Pin SOP/SDIP Package)
V
SS
X
IN
X
OUT
TEST
NC
NC
P2.0/INT5
P2.1/INT6
P2.2/INT7
P2.3/INT8
P0.0/INT0
P0.1/INT1
P0.2/INT2
P0.3/INT3
NC
NC
P0.4/INT4
P0.5/INT4
P0.6/INT4
P0.7/INT4
V
DD
P3.1/REM/T0CK
P3.0/T0PWM/T0CAP/T1CAP
NC
NC
P2.7
P2.6
P2.5
P2.4
P1.7
P1.6
P1.5
P1.4
NC
NC
P1.3
P1.2
P1.1
P1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
S3C80E5
S3C80E7
40-DIP
(Top View)
RESET/BACK-UP MODE
Figure 1-3. Pin Assignment (40-Pin DIP Package)
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
PRODUCT OVERVIEW
1-5
Table 1-1. Pin Descriptions
Pin
Names
Pin
Type
Pin
Description
Circuit
Type
Pin No.
(32-pin)
Pin No.
(40-pin)
Shared
Functions
P0.0P0.7
I/O
I/O port with bit-programmable pins.
Configurable to input or push-pull output
mode. Pull-up resistors are assignable by
software. Pins can be assigned individually
as external interrupt inputs with noise filters,
interrupt enable/disable, and interrupt
pending control.
1
916
1114,
1720
INT0INT4
P1.0P1.7
I/O
I/O port with bit-programmable pins.
Configurable to C-MOS input mode or
output mode. Pin circuits are either push-
pull or n-channel open-drain type. Pull-up
resistors are assignable by software.
2
1724
2124,
2730
P2.0P2.3
P2.4P2.7
I/O
General-purpose I/O port with bit-
programmable pins. Configurable to C-
MOS input mode, push-pull output mode, or
n-channel open-drain output mode. Pull-up
resistors are assignable by software. Lower
nibble pins, P2.3P2.0, can be assigned as
external interrupt inputs with noise filters,
interrupt enable/disable, and interrupt
pending control.
3
4
58,
2528
710,
3134
INT5INT8
P3.0
P3.1
I/O
2-bit I/O port with bit-programmable pins.
Configurable to C-MOS input mode, push-
pull output mode, or n-channel open-drain
output mode. Pull-up resistors are
assignable by software. The two port 3 pins
have high current drive capability.
5
29
30
37
38
T0PWM/
T0CAP/
T1CAP/
REM/T0CK
X
IN
, X
OUT
System clock input and output pins
2, 3
2, 3
RESET/
BACK-UP
MODE
I
System reset signal input pin and back-up
mode input pin. The pin circuit is a C-MOS
input.
6
31
39
TEST
I
Test signal input pin (for factory use only;
must be connected to V
SS
).
4
4
V
DD
Power supply input pin
32
40
V
SS
Ground pin
1
1
PRODUCT OVERVIEW
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
1-6
PIN CIRCUITS
PULL-UP RESISTOR
(Typical 21 K
)
VDD
I/O
V
SS
DATA
PULL-UP
ENABLE
NORMAL
INPUT
OUTPUT
DISABLE
V
DD
INTERRUPT INPUT
IRQ6,7 (INT0-4)
Oscillator Release (SED and R circuit)
STOP
NOISE
FILTER
To prevent and recover from abnormal stop status caused by battery bouncing, the S3P80E5
has a special logic_ SED and R circuit
-
related to P0 and P1. This is a specific function for key
input/output of universal remote controller. When these ports (P0, P1) are used as a normal
input pin, unexpected stop mode recovery can occur by input level switching. Hence, the user
should be aware of input level switching, if P0 and P1 are to be used as normal input ports.
NOTE:
Figure 1-4. Pin Circuit Type 1 (Port 0)
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
PRODUCT OVERVIEW
1-7
PULL-UP RESISTOR
(Typical 21 K
)
VDD
I/O
V
SS
DATA
PULL-UP
ENABLE
OUTPUT
DISABLE
V
DD
NORMAL INPUT
Oscillator Release (SED and R circuit)
STOP
NOISE
FILTER
To prevent and recover from abnormal stop status caused by battery bouncing, the S3P80E5
has a special logic
-
SED and R circuit
-
related to P0 and P1. This is a specific function for key
input/output of universal remote controller. When these ports (P0, P1) are used as a normal
input pin, unexpected stop mode releasing can occur by input level switching. Hence, the user
should be aware of input level switching, if P0 and P1 are to be used as normal input ports.
NOTE:
Figure 1-5. Pin Circuit Type 2 (Port 1)
PRODUCT OVERVIEW
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
1-8
PULL-UP RESISTOR
(Typical 21 K
)
VDD
I/O
V
SS
DATA
PULL-UP
ENABLE
OUTPUT
DISABLE
V
DD
EXTERNAL
INTERRUPT
IRQ5 (INT5-8)
NOISE
FILTER
OPEN-DRAIN
NORMAL INPUT
Figure 1-6. Pin Circuit Type 3 (Ports 2.02.3)
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
PRODUCT OVERVIEW
1-9
PULL-UP RESISTOR
(Typical 21 K
)
VDD
I/O
V
SS
DATA
PULL-UP
ENABLE
OUTPUT
DISABLE
V
DD
OPEN-DRAIN
NORMAL INPUT
Figure 1-7. Pin Circuit Type 4 (P2.4
-
-
P2.7)
PRODUCT OVERVIEW
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
1-10
PULL-UP RESISTOR
(Typical 21 K
)
VDD
I/O
V
SS
DATA
PULL-UP
ENABLE
OUTPUT
DISABLE
V
DD
OPEN-DRAIN
NORMAL INPUT
NOISE
FILTER
ALTERNATIVE
INPUT
M
U
X
PORT 3 DATA
ALTERNATIVE
OUTPUT
SELECT
Figure 1-8. Pin Circuit Type 5 (P 3)
BACK-UP MODE
SYSTEM
RESET
RESET/
BACK-UP
MODE
NOISE
FILTER
Figure 1-9. Pin Circuit Type 6 (
RESET
RESET
/
BACK-UP MODE
BACK-UP MODE
)
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
ELECTRICAL DATA
14-1
14
ELECTRICAL DATA
OVERVIEW
In this section, the S3C80E5/C80E7 electrical characteristics are presented in tables and graphs. The information
is arranged in the following order:
-- Absolute maximum ratings
-- D.C. electrical characteristics
-- Characteristics of low voltage detect circuit
-- Data retention supply voltage in Stop mode
-- Stop mode release timing when initiated by an external interrupt
-- Stop mode release timing when initiated by a
RESET
-- Stop mode release timing when initiated by a LVD
-- I/O capacitance
-- A.C. electrical characteristics
-- Input timing for external interrupts (port 0, P2.3P2.0)
-- Input timing for
RESET
-- Oscillation characteristics
-- Oscillation stabilization time
-- Operating voltage range
ELECTRICAL DATA
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
14-2
Table 14-1. Absolute Maximum Ratings
(T
A
= 25
C)
Parameter
Symbol
Conditions
Rating
Unit
Supply voltage
V
DD
0.3 to + 6.5
V
Input voltage
V
IN
0.3 to
V
DD
+ 0.3
V
Output voltage
V
O
All output pins
0.3 to V
DD
+ 0.3
V
Output current High
I
OH
One I/O pin active
18
mA
All I/O pins active
60
Output current Low
I
OL
One I/O pin active
+ 30
mA
Total pin current for ports 0, 1, and 2
+ 100
Total pin current for port 3
+ 40
Operating
temperature
T
A
40 to + 85
C
Storage
temperature
T
STG
65 to + 150
C
Table 14-2. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 2.0 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Operating Voltage
V
DD
f
OSC
=
8 MHz
(Instruction clock = 1.33 MHz)
2.1
5.5
V
f
OSC
=
4 MHz
(Instruction clock = 0.67 MHz)
2.0
5.5
Input High
V
IH1
All input pins except V
IH2
and V
IH3
0.8 V
DD
V
DD
V
voltage
V
IH2
RESET
0.85 V
DD
V
DD
V
IH3
X
IN
V
DD
0.3
V
DD
Input Low voltage
V
IL1
All input pins except V
IL2
and V
IL3
0
0.2 V
DD
V
V
IL2
RESET
0.4 V
DD
V
IL3
X
IN
0.3
Output High
voltage
V
OH1
V
DD
= 2.4 V; I
OH
= 6 mA
Port 3.1 only; T
A
= 25
C
V
DD
0.7
V
V
OH2
V
DD
= 2.4 V; I
OH
= 3 mA
Port 3.0 only; T
A
= 25
C
V
DD
0.7
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
ELECTRICAL DATA
14-3
Table 14-2. D.C. Electrical Characteristics (Continued)
(T
A
= 40
C to + 85
C, V
DD
= 2.0 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Output High
voltage
V
OH3
V
DD
= 5 V; I
OH
= 3 mA
Port 2.7 only; T
A
= 25
C
V
DD
0.25
V
V
DD
= 2 V; I
OH
= 1 mA
Port 2.7 only; T
A
= 25
C
V
OH4
V
DD
= 3.0 V; I
OH
= 1 mA
All output pins except P3 and P2.7
port; T
A
= 25
C
V
DD
1
Output Low
voltage
V
OL1
V
DD
= 2.4 V; I
OL
= 15 mA
Port 3.1 only; T
A
= 25
C
0.4
0.5
V
V
OL2
V
DD
= 2.4 V; I
OL
= 5 mA
Port 3.0 only; T
A
= 25
C
0.4
0.5
V
OL3
I
OL
= 1 mA
Port 0, 1, and 2; T
A
= 25
C
0.4
1
Input High
leakage current
I
LIH1
V
IN
= V
DD
All input pins except X
IN
and X
OUT
1
A
I
LIH2
V
IN
= V
DD
, X
IN,
and X
OUT
20
Input Low
leakage current
I
LIL1
V
IN
= 0 V
All input pins except X
IN
, X
OUT
,
and
RESET
1
A
I
LIL2
V
IN
= 0 V
X
IN
and X
OUT
20
Output High
leakage current
I
LOH
V
OUT
= V
DD
All output pins
1
A
Output Low
leakage current
I
LOL
V
OUT
= 0 V
All output pins
1
A
Pull-up resistors
R
L1
V
IN
= 0 V; V
DD
= 2.4 V
T
A
= 25
C; Ports 03
44
55
82
k
V
DD
= 5.5 V
15
21
32
ELECTRICAL DATA
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
14-4
Table 14-2. D.C. Electrical Characteristics (Concluded)
(T
A
= 40
C to + 85
C, V
DD
= 2 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Supply current
(note)
I
DD1
Operating mode
V
DD
= 5 V
10 %
8 MHz crystal
6
11
mA
4 MHz crystal
4.5
9
I
DD2
Idle mode
V
DD
= 5 V
10 %
8 MHz crystal
1.8
3.5
4 MHz crystal
1.6
3
I
DD3
Stop mode
V
DD
= 6.0 V
20
35
A
V
DD
= 5.5 V
18
25
V
DD
= 3.3 V
12
15
V
DD
= 0.7 V
1.0
1.5
NOTE: Supply current does not include the current drawn through internal pull-up resistors or external output current loads.
Table 14-3. Characteristics of Low Voltage Detect Circuit
(T
A
= 40
C to + 85
C)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Hysteresys Voltage of
LVD(Slew Rate of LVD)
V
LVDCON = 10001111B
10
100
mV
Low level detect voltage
V
LVD
LVDCON = 10001111B
2.10
2.20
2.40
V
NOTE: The reset values of bit 1 and bit 0 are in a unknown status, so is recommended to input the value #8FH in LVDCON
for typical V
LVD
(2.2 V 100/+200 mV).
Table 14-4. Data Retention Supply Voltage in Stop Mode
(T
A
= 40
C to + 85
C)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Data retention supply
voltage
V
DDDR
1.0
5.5
V
Data retention supply
current
I
DDDR
V
DDDR
= 1.0 V
Stop mode
1
A
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
ELECTRICAL DATA
14-5
V
DD
EXT
INT
EXECUTION OF
STOP INSTRUCTION
V
DD
>
V
LVD
DATA RETENTION MODE
STOP MODE
NORMAL
OPERATING
MODE
t
WAIT
0.2 V
DD
0.8 V
DD
IDLE MODE
(Basic Timer active)
~ ~
~ ~
Figure 14-1. Stop Mode Release Timing When Initiated by an External Interrupt
V
DD
RESET
EXECUTION OF
STOP INSTRUCTION
DATA RETENTION MODE
STOP MODE
NORMAL
OPERATING
MODE
t
WAIT
OSCILLATION
STABILIZATION
TIME
RESET
OCCURS
~ ~
~ ~
NOTE: t
WAIT
is the same as 4096 x 16 x
V
DD
>
V
LVD
1/f
OSC
.
Figure 14-2. Stop Mode Release Timing When Initiated by a
RESET
RESET
ELECTRICAL DATA
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
14-6
V
DD
EXECUTION OF
STOP INSTRUCTION
V
DDDR
BACK-UP MODE
STOP MODE
NORMAL
OPERATING
MODE
t
WAIT
OSCILLATION
STABILIZATION
~ ~
~ ~
~ ~
DATA RETENTION MODE
RESET OCCUR
V
LVD
NOTE: t
WAIT
is the same as 4096 x 16 x 1/f
OSC
.
Figure 14-3. Stop Mode Release Timing When Initiated by a LVD
Table 14-5. Input/output Capacitance
(T
A
= 40
C to + 85
C, V
DD
=
0 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input capacitance
C
IN
f = 1 MHz; unmeasured pins
are connected to V
SS
10
pF
Output capacitance
C
OUT
I/O capacitance
C
IO
Table 14-6. A.C. Electrical Characteristics
(T
A
= 40
C to + 85
C)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Interrupt input, High,
Low width
t
INTH
,
t
INTL
P0.0P0.7, P2.3P2.0
V
DD
= 5 V
200
300
ns
RESET
input Low
width
t
RSL
Input
V
DD
= 5 V
1000
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
ELECTRICAL DATA
14-7
t
INTL
t
INTH
0.8 V
DD
0.2 V
DD
NOTE: The unit t
CPU
means one CPU clock period.
Figure 14-4. Input Timing for External Interrupts (Port 0, P2.3P2.0)
Back-Up Mode (STOP MODE)
RESET
V
DD
RESET
OCCRURRS
OSCILLATION
STABILIZATION
TIME
NORMAL
OPERATING
MODE
t
WAIT
NORMAL
OPERATING
MODE
NOTE: t
WAIT
is the same as 4096 x 16 x 1/f
OSC
.
Figure 14-5. Input Timing for
RESET
RESET
ELECTRICAL DATA
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
14-8
Table 14-7. Oscillation Characteristics
(T
A
= 40
C + 85
C)
Oscillator
Clock Circuit
Conditions
Min
Typ
Max
Unit
Crystal
C2
C1
X
IN
X
OUT
CPU clock oscillation
frequency
1
8
MHz
Ceramic
C2
C1
X
IN
X
OUT
CPU clock oscillation
frequency
1
8
MHz
External clock
S3C80E5
S3C80E7
EXTERNAL
CLOCK
OPEN PIN
X
IN
X
OUT
X
IN
input frequency
1
8
MHz
Table 14-8. Oscillation Stabilization Time
(T
A
= 40
C + 85
C, V
DD
= 4.5 V to 5.5 V)
Oscillator
Test Condition
Min
Typ
Max
Unit
Main crystal
f
OSC
> 400 kHz
20
ms
Main ceramic
Oscillation stabilization occurs when V
DD
is equal
to the minimum oscillator voltage range.
10
ms
External clock
(main system)
X
IN
input High and Low width (t
XH
, t
XL
)
25
500
ns
Oscillator
stabilization
t
WAIT
when released by a reset
(1)
2
16
/f
OSC
ms
Wait time
t
WAIT
when released by an interrupt
(2)
ms
NOTES:
1.
f
OSC
is the oscillator frequency.
2.
The duration of the oscillation stabilization time (t
WAIT
) when it is released by an interrupt is determined by the setting
in the basic timer control register, BTCON.
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
ELECTRICAL DATA
14-9
INSTRUCTION CL OCK = 1/6n x oscillator frequency (n = 1, 2, 8, 16)
SUPPLY VOLTAGE (V)
250 kHz
500 kHz
670 kHz
1.00 MHz
8.32 kHz
INSTRUCTION
CLOCK
1
2
3
4
5
6
7
f
OSC
(Main oscillation
frequency)
6 MHz
4 MHz
400 kHz
8 MHz
1.33 MHz
2.1
5.5
Figure 14-6. Operating Voltage Range of S3P80E5/P80E7
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
MECHANICAL DATA
15-1
15
MECHANICAL DATA
OVERVIEW
The S3C80E5/C80E7 microcontroller is currently available in 32-pin SOP and SDIP package. The S3C80E7 is
also available in 40 DIP package.
0
-
8
0.25
+0.10
- 0.05
8.34
0.2
0.90
0.20
10.02
0.1
#1
#16
#32
#17
32-SOP-450A
12.00
0.2
NOTE:
Dimensions are in millimeters.
19.90
0.05
0.10 MAX
0.05 MIN
2.00
0.1
2.30MAX
(0.43)
0.40
0.1
1.27
Figure 15-1. 32-Pin SOP Package Mechanical Data
MECHANICAL DATA
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
15-2
NOTE: Dimensions are in millimeters.
9.10
0.20
#1
#16
#32
#17
0
15
*
0.25
+0.1
0.05
10.16
0.51MIN
3.80
0.2
3.30
0.3
5.08MAX
(1.37)
29.40
0.2
29.80 MAX
1.778
0.45
0.10
1.00
0.10
32-SDIP-400
Figure 15-2. 32-Pin SDIP Package Mechanical Data
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
MECHANICAL DATA
15-3
NOTE
: Dimensions are in millimeters.
15.24
0.25
+ 0.1
0.05
0.3 MIN
4.10
0.2
3.30
0.3
5.08MAX
52.42
0.2
52.10
0.2
1.27
0.1
(1.92)
40-DIP-600B
13.80
0.2
#1
#20
#40
#21
2.54
Figure 15-3. 40-Pin DIP Package Mechanical Data
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
S3P80E5/P80E7 OTP
16-1
16
S3P80E5/P80E7 OTP
OVERVIEW
The S3P80E5/P80E7 single-chip CMOS microcontroller is the OTP (One Time Programmable)
version of the
S3C80E5/C80E7microcontroller. It has an on-chip EPROM instead of a masked ROM.
The S3P80E5/P80E7 is fully compatible with the S3C80E5/C80E7, both in function and in pin configuration.
Because of its simple programming requirements, the S3P80E5/P80E7 is ideal as an evaluation chip for the
S3C80E5/C80E7.
V
SS
X
IN
A14
(2)
/X
OUT
MODE/TEST
PGM/P2.0/INT5
MEM_REG/P2.1/INT6
A8/P2.2/INT7
A9/P2.3/INT8
A0/P0.0/INT0
A1/P0.1/INT1
A2/P0.2/INT2
A3/P0.3/INT3
A4/P0.4/INT4
A5/P0.5/INT4
A6/P0.6/INT4
A7/P0.7/INT4
V
DD
P3.1/REM/T0CK/ CE
P3.0/T0PWM/T0CAP/T1CAP/ OE
P2.7/ A13
P2.6/ A12
P2.5/ A11
P2.4/ A10
P1.7/ D7
P1.6/ D6
P1.5/ D5
P1.4/ D4
P1.3/ D3
P1.2/ D2
P1.1/ D1
P1.0/ D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
S3P80E5
S3P80E7
32-SOP/SDIP
(Top View)
RESET/V
PP
NOTES:
1. The bolds indicate an OTP pin name.
2. The address line 14 (A14) be used only for S3P80E7.
Figure 16-1. S3P80E5/P80E7 Pin Assignments of 32SOP/32SDIP
S3P80E5/P80E7 OTP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
16-2
V
SS
X
IN
A14/X
OUT
MODE/TEST
NC
NC
PGM/P2.0/INT5
MEM_REG/P2.1/INT6
A8/P2.2/INT7
A9/P2.3/INT8
A0/P0.0/INT0
A1/P0.1/INT1
A2/P0.2/INT2
A3/P0.3/INT3
NC
NC
A4/P0.4/INT4
A5/P0.5/INT4
A6/P0.6/INT4
A7/P0.7/INT4
V
DD
P3.1/REM/T0CK/ CE
P3.0/T0PWM/T0CAP/T1CAP/OE
NC
NC
P2.7/A13
P2.6/A12
P2.5/A11
P2.4/A10
P1.7/D7
P1.6/D6
P1.5/D5
P1.4/D4
NC
NC
P1.3/D3
P1.2/D2
P1.1/D1
P1.0/D0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
S3P80E5
S3P80E7
40-DIP
(Top View)
RESET/V
PP
NOTES:
1. The bolds indicate an OTP pin name.
2. The address line 14 (A14) be used only for S3P80E7.
Figure 16-2. S3P80E5/P80E7 Pin Assignments of 40DIP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
S3P80E5/P80E7 OTP
16-3
Table 16-1. 32 SOP/SDIP Pin Descriptions Used to Read/Write the EPROM
Pin Name
Pin No.
I/O
Function
A0A14
3, 7 6, 2528
O
Address lines to read/write EPROM
D0D7
1724
I/O
8-bit data input/output lines to read/write EPROM
MODE
4
Select EPROM mode.
CE
30
I
Chip enable (Connect to V
SS
, when read/write EPROM)
OE
29
I
Output enable
PGM
5
I
EPROM Program enable
MEM_
REG
6
I
Select Memory space of EPROM
V
DD
32
Supply voltage (normally 5 V)
V
PP
31
EPROM Program/Verify voltage (normally 12.5 V)
V
SS
1
GROUND
X
IN
2
System Clock input pin
CHARACTERISTICS OF EPROM OPERATION
When +12.5 V is supplied to V
PP
and MODE pins of the S3P80E5/P80E7, the EPROM programming mode is
entered. The operating mode (read, write) is selected according to the input signals to the pins listed in Table 16-
2 as below.
Table 16-2. Operating Mode Selection Criteria
V
DD
MODE
V
PP
PGM
PGM
MEM
MEM
OE
OE
Mode
5 V
V
PP
12.5 V
1
1
0
READ
0
1
1
PROGRAM
1
1
0
PROGRAM VERIFY
NOTE: "0" means Low level; "1" means High level.
S3P80E5/P80E7 OTP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
16-4
MODE
OE
D7
-
-
D0
A14
-
-
A0
t
OED
t
ACC
t
OEW
t
OEH
12.5V
Figure 16-3. OTP Read Timing
Table 16-3. OTP Read Characteristics
(T
A
= 25
C 5
C, V
DD
= 5 V 5 %, V
PP
= 12.5 V 0.25V)
Parameter
Symbol
Min
Typ
Max
Units
Address to Output Delay
t
ACC
75
ns
OE
to Address Delay
t
OED
0
OE
Pulse Width
t
OEW
75
Output hold from
OE
whichever occurs first
T
OEH
0
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
S3P80E5/P80E7 OTP
16-5
PGM
D7
-
-
D0
A14
-
-
A0
t
OEW
t
OE
t
OEH
t
PW
t
VS
t
DS
Data In Stable
Data Out Valid
PROGRAM VERIFY
PROGRAM
t
DH
MODE
OE
Figure 16-4. Program Memory Write Timing
Table 16-4. OTP Program/Program Verify Characteristics
(T
A
= 25
C 5
C, V
DD
= 5 V 5 %, V
PP
= 12.5 V 0.25 V)
Parameter
Symbol
Min
Typ
Max
Units
V
PP
Setup Time
t
VS
2
s
Data Setup Time
t
DS
2
Data Hold Time
t
DH
2
PGM
Pulse Width
t
PW
300
500
Data Valid from
OE
t
OE
75
ns
OE
Pulse Width
t
OEW
75
Output Enable to Output Float
Delay
t
OEH
0
130
S3P80E5/P80E7 OTP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
16-6
START
Address= First Location
V
DD
=5V, V
PP
=12.5V
x = 0
Program One 1ms Pulse
Increment X
x = 10
Verify 1 Byte
Last Address
V
DD
= V
PP
= 5 V
Compare All Byte
Device Passed
Increment Address
Verify Byte
Device Failed
PASS
FAIL
NO
FAIL
YES
FAIL
NO
Figure 16-5. OTP Programming Algorithm
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
S3P80E5/P80E7 OTP
16-7
Table 16-5. D.C. Electrical Characteristics
(T
A
= 40
C to + 85
C, V
DD
= 2.0 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Operating Voltage
V
DD
f
OSC
=
8 MHz
(Instruction clock = 1.33 MHz)
2.1
5.5
V
f
OSC
=
4 MHz
(Instruction clock = 0.67 MHz)
2.0
5.5
Input High
V
IH1
All input pins except V
IH2
and V
IH3
0.8 V
DD
V
DD
V
voltage
V
IH2
RESET
0.85 V
DD
V
DD
V
IH3
X
IN
V
DD
0.3
V
DD
Input Low voltage
V
IL1
All input pins except V
IL2
and V
IL3
0
0.2 V
DD
V
V
IL2
RESET
0.4 V
DD
V
IL3
X
IN
0.3
Output High
voltage
V
OH1
V
DD
= 2.4 V; I
OH
= 6 Ma
Port 3.1 only; T
A
= 25
C
V
DD
0.7
V
V
OH2
V
DD
= 2.4 V; I
OH
= 3 mA
Port 3.0 only; T
A
= 25
C
V
DD
0.7
Output High
voltage
V
OH3
V
DD
= 5 V; I
OH
= 3 mA
Port 2.7 only; T
A
= 25
C
V
DD
0.25
V
V
DD
= 2 V; I
OH
= 1 mA
Port 2.7 only; T
A
= 25
C
V
OH4
V
DD
= 3.0 V; I
OH
= 1 mA
All output pins except P3 and P2.7
port; T
A
= 25
C
V
DD
1
Output Low
voltage
V
OL1
V
DD
= 2.4 V; I
OL
= 15 mA
Port 3.1 only; T
A
= 25
C
0.4
0.5
V
V
OL2
V
DD
= 2.4 V; I
OL
= 5 mA
Port 3.0 only; T
A
= 25
C
0.4
0.5
V
OL3
I
OL
= 1 mA
Port 0, 1, and 2; T
A
= 25
C
0.4
1
Input High
leakage current
I
LIH1
V
IN
= V
DD
All input pins except X
IN
and X
OUT
1
A
I
LIH2
V
IN
= V
DD
, X
IN
,
and X
OUT
20
S3P80E5/P80E7 OTP
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
16-8
Table 16-5. D.C. Electrical Characteristics (Continued)
(T
A
= 40
C to + 85
C, V
DD
= 2.0 V to 5.5 V)
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input Low
leakage current
I
LIL1
V
IN
= 0 V
All input pins except X
IN
, X
OUT
, and
RESET
1
A
I
LIL2
V
IN
= 0 V
X
IN
and X
OUT
20
Output High
leakage current
I
LOH
V
OUT
= V
DD
All output pins
1
A
Output Low
leakage current
I
LOL
V
OUT
= 0 V
All output pins
1
A
Pull-up resistors
R
L1
V
IN
= 0 V; V
DD
= 2.4 V
T
A
= 25
C; Ports 03
44
55
82
k
V
DD
= 5.5 V
15
21
32
Supply current
(note)
I
DD1
Operating mode
V
DD
= 5 V
10 %
8 MHz crystal
6
11
mA
4 MHz crystal
4.5
9
I
DD2
Idle mode
V
DD
= 5 V
10 %
8 MHz crystal
1.8
3.5
4 MHz crystal
1.6
3
I
DD3
Stop mode;
V
DD
= 6.0 V
20
35
A
V
DD
= 5.5 V
18
25
V
DD
= 3.3 V
12
15
V
DD
= 0.7 V
1.0
1.5
NOTE: Supply current does not include the current drawn through internal pull-up resistors or external output current loads.
S3C80E5/P80E5/C80E7/P80E7 (Preliminary Spec)
S3P80E5/P80E7 OTP
16-9
INSTRUCTION CL OCK = 1/6n x oscillator frequency (n = 1, 2, 8, 16)
SUPPLY VOLTAGE (V)
250 kHz
500 kHz
670 kHz
1.00 MHz
8.32 kHz
INSTRUCTION
CLOCK
1
2
3
4
5
6
7
f
OSC
(Main oscillation
frequency)
6 MHz
4 MHz
400 kHz
8 MHz
1.33 MHz
2.1
5.5
Figure 16-6. Operating Voltage Range