Datasheet S3C9432, S3C9434, S3P9432, S3P9434 Datasheet (Samsung)

Page 1
S3C9432/C9434/P9434 PRODUCT OVERVIEW
1-1
1 PRODUCT OVERVIEW
SAM87RI PRODUCT FAMILY
Samsung's SAM87Ri family 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.
A address/data bus architecture and a large number of bit-configurable I/O ports provide a flexible programming environment for applications with varied memory and I/O requirements. Timer/counters with selectable operating modes are included to support real-time operations.
S3C9432/C9434 MICROCONTROLLER
The S3C9432/C9434 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built around the powerful SAM87Ri CPU core. The S3C9432/C9434 is a versatile microcontroller, with its A/D converter, timer, PWM, and SIO it can be used in a wide range of general purpose applications.
Stop and Idle power-down modes were implemented to reduce power consumption. To increase on-chip register space, the size of the internal register file was logically expanded. The S3C9432/C9434 have 2K-bytes or 4K­bytes of program memory on-chip (ROM) and 112-bytes of general purpose register area RAM.
Using the SAM87Ri design approach, the following peripherals were integrated with the SAM87Ri core: — Three configurable I/O ports (13 pins)
— Five interrupt sources with one vector and one interrupt level — One 8-bit timer/counter with time interval mode — Analog to digital converter with five input channels and 10-bit resolution — One synchronous SIO module — One 12-bit PWM output
The S3C9432/C9434 microcontroller is ideal for use in a wide range of electronic applications requiring simple timer/counter, PWM, ADC, and SIO. S3C9432/C9434 is available in a 20/18/16-pin DIP and a 20-pin SOP package.
OTP
The S3P9434 is an OTP (One Time Programmable) version of the S3C9432/C9434 microcontroller. The S3P9434 has on-chip 4K-byte one-time-programmable EPROM instead of masked ROM. The S3P9434 is fully compatible with the S3C9432/C9434, in function, in D.C. electrical characteristics and in pin configuration.
Page 2
PRODUCT OVERVIEW S3C9432/C9434/P9434
1-2
FEATURES
CPU
SAM87RI CPU core
Memory
2/4K-byte internal program memory (ROM)
112-byte general purpose register area (RAM)
Instruction Set
41 instructions
The SAM87RI core provides all the SAM87 core instruction except the word-oriented instruction, multiplication, division, and some one-byte instruction.
Instruction Execution Time
600 ns at 10 MHz f
OSC
(minimum cycles)
375 ns at 16 MHz f
OSC
(minimum cycles)
Interrupts
5 interrupt sources with one vector and one level interrupt structure
General I/O
Two I/O ports (Toatal 13 pins)
One output only port (port 2)
Bit programmable ports
Serial I/O
One synchronius serial I/O module
Selectable transmit and receive rates
Built-in reset Circuit (LVD)
Low voltage detector for safe reset
Timer/Counters
One 8-bit basic timer for watchdog function
One 8-bit timer/counter for the time interval mode
PWM Module
12-bit PWM 1-ch (Max: 250 kHz)
6-bit base + 6-bit extension frame
A/D Converter
Five analog input pins
10-bit conversion resolution
Buzzer Frequency Range
200 Hz to 20 kHz signal can be generated
Oscillation Frequency
1 MHz to 16 MHz external crystal oscillator
Maximum 16 MHz CPU clock
4 MHz RC oscillator
Operating Temperature Range
- 40°C to + 85°C
Operating Voltage Range
3.0 V to 5.5 V
OTP Interface Protocol Spec
Serial OTP
Package Types
20-pin DIP-300
20-pin SOP-375
18-pin DIP-300
16-pin DIP-300
Page 3
S3C9432/C9434/P9434 PRODUCT OVERVIEW
1-3
BLOCK DIAGRAM
SAM87RI CPU
P0.0-P0.3
BUZ, PWM, INT0, INT1
I/O Port and
Interrupt Control
2-KB ROM 4-KB ROM
112-Byte
Register File
Port 0 Port 1
P1.0-P1.4
ADC0-ADC4
SCK, SO, SI, CLO
Port 2
SIO
Timer 0
BUZ
ADC
PWM
OSC
Basic Timer
P2.0/SCK P2.1/SO P2.2 P2.3
SCK (P1.3 or P2.0) SO (P1.2 or P2.1)
SI (P1.1)
X
IN
XOUT
P0.2/T0CK
P0.0/BUZ
ADC0-ADC4
P0.1/PWM
Figure 1-1. Block Diagram
Page 4
PRODUCT OVERVIEW S3C9432/C9434/P9434
1-4
PIN ASSIGNMENTS
S3C9432/C9434
20-DIP
(Top View)
VDD P0.3/INT1 (SCL) P1.0/ADC0 (SDA) P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CL0 AVREF P2.1/SO P2.3
20 19 18 17 16 15 14 13 12 11
VSS
XIN
XOUT
TEST (VPP)
P0.2/T0CK/INT0
P0.1/PWM
RESET P0.0/BUZ P2.0/SCK
P2.2
1 2 3 4 5 6 7 8 9 10
Figure 1-2. Pin Assignment Diagram (20-Pin DIP Package)
Page 5
S3C9432/C9434/P9434 PRODUCT OVERVIEW
1-5
S3C9432/C9434
20-SOP
(Top View)
VDD P0.3/INT1 P1.0/ADC0 P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF P2.1/SO P2.3
20 19 18 17 16 15 14 13 12 11
VSS
XIN
XOUT
TEST
P0.2/T0CK/INT0
P0.1/PWM
RESET
P0.0/BUZ P2.0/SCK
P2.2
1 2 3 4 5 6 7 8 9 10
Figure 1-3. Pin Assignment Diagram (20-Pin SOP Package)
Page 6
PRODUCT OVERVIEW S3C9432/C9434/P9434
1-6
S3C9432/C9434
18-DIP
(Top View)
VDD P0.3/INT1 P1.0/ADC0 P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CL0 AVREF P2.1/SO
18 17 16 15 14 13 12 11 10
VSS
XIN
XOUT
TEST
P0.2/T0CK/INT0
P0.1/PWM
RESET P0.0/BUZ P2.0/SCK
1 2 3 4 5 6 7 8 9
Figure 1-4. Pin Assignment Diagram (18-Pin DIP Package)
S3C9432/C9434
16-DIP
(Top View)
VSS
XIN
XOUT
TEST
P0.2/T0CK/INT0
P0.1/PWM
RESET
P0.0/BUZ
VDD P0.3/INT1 P1.0/ADC0 P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF
16 15 14 13 12 11 10
9
1 2 3 4 5 6 7 8
Figure 1-5. Pin Assignment Diagram (16-Pin DIP Package)
Page 7
S3C9432/C9434/P9434 PRODUCT OVERVIEW
1-7
PIN DESCRIPTIONS
Table 1-1. S3C9432/C9434 Pin Descriptions
Pin
Names
Pin
Type
Pin
Description
Circuit
Type
Share
Pins
P0.0-P0.3 I/O
Bit-programmable I/O port for Schmitt trigger input or push-pull, open-drain output. Pull-up resistors are assignable by software. Port 0 pins can also be used as alternative function.
E BUZ
PWM
INT0/T0CK
INT1
P1.0-P1.4 I/O Bit-programmable I/O port for Schmitt trigger
input or push-pull, open-drain output. Pull-up resistors are assignable by software. Port 1 pins can also be used as alternative function.
E-1 ADC0-ADC4
SI
SO SCK CLO
P2.0-P2.3 O Push-pull or open-drain output port. Pull up
resistors are assignable by software. Port 2.0-2.1 pins can also be used as alternative function.
E-2 SCK
SO
XIN, X
OUT
Crystal/ceramic, or RC oscillator signal for system
clock.
RESET
I
System RESET signal input pin.
B
TEST I Test signal input pin (for factory use only: must be
connected to VSS)
V
DD, VSS
Voltage input pin and ground
AV
REF
A/D converter reference voltage input and ground
AV
SS
Bonded to VSS internally
SCK I/O Serial interface clock I/O E-1
E-2
P1.3 or
P2.0
SO O Serial data output E-1
E-2
P1.2 or
P2.1
SI I Serial data input E-1 P1.1 CLO O System clock output port E-1 P1.4 BUZ O 200 Hz- 20 kHz frequency output for buzzer
sound
E P0.0
PWM O 12-bit PWM output E P0.1 INT0-INT1 I External interrupt input port E P0.2
P0.3
T0CK I Timer 0 external clock input E P0.2 ADC0-ADC4 I A/D converter input E-1 P1.0-P1.4
Page 8
PRODUCT OVERVIEW S3C9432/C9434/P9434
1-8
PIN CIRCUITS
P-Channel
N-Channel
In
VDD
Figure 1-6. Pin Circuit Type A
In
VDD
Pull-Up Resistor
Figure 1-7. Pin Circuit Type B
P-Channel
N-Channel
VDD
Out
Output
DIsable
Data
Figure 1-8. Pin Circuit Type C
I/O
Output
DIsable
Data
Circuit
Type C
Pull-up Enable
VDD
Data
P-Channel
Figure 1-9. Pin Circuit Type D
Page 9
S3C9432/C9434/P9434 PRODUCT OVERVIEW
1-9
N-CH
VDD
P-CH
Output
DIsable
Output
Data
Open-Drain
Input
Pull-up Enable
VDD
I/O
Pull-up Resistor
Figure 1-10. Pin Circuit Type E
Analog
Input
N-CH
VDD
P-CH
Output
DIsable
Output
Data
Open-Drain
Digital
Input
Pull-up
Enable
VDD
I/O
Pull-up Resistor
Figure 1-11. Pin Circuit Type E-1
N-CH
VDD
P-CH
Output
DIsable
Output
Data
Open-Drain
Pull-up Enable
VDD
I/O
Pull-up
Resistor
Figure 1-12. Pin Circuit Type E-2
Page 10
S3C9432/C9434/P9434 ELECTRICAL DATA
14-1
14 ELECTRICAL DATA
OVERVIEW
In this section, the following S3C9432/C9434 electrical characteristics are presented in tables and graphs: — Absolute maximum ratings
— D.C. electrical characteristics — A.C. electrical characteristics — Input Timing Measurement Points — Oscillator characteristics — Oscillation stabilization time — Operating Voltage Range — Schmitt trigger input characteristics — Data retention supply voltage in Stop mode — Stop mode release timing when initiated by a RESET — A/D converter electrical characteristics — LVD circuit characteristics — LVD reset Timing — Serial I/O timing characteristics — Serial data transfer timing
Page 11
ELECTRICAL DATA S3C9432/C9434/P9434
14-2
Table 14-1. Absolute Maximum Ratings
(TA = 25°C)
Parameter Symbol Conditions Rating Unit
Supply voltage
V
DD
- 0.3 to + 6.5 V
Input voltage
V
I
All input ports
- 0.3 to V
DD
+ 0.3
V
Output voltage
V
O
All output ports
- 0.3 to VDD + 0.3
V
Output current high
I
OH
One I/O pin active - 25 mA All I/O pins active - 80
Output current low
I
OL
One I/O pin active + 30 mA All I/O pins active + 150
Operating temperature
T
A
- 40 to + 85
°
C
Storage temperature
T
STG
- 65 to + 150
°
C
Table 14-2. DC Electrical Characteristics
(T
A
= – 40°C to + 85°C, VDD = 3.0 V to 5.5 V)
Parameter Symbol Conditions Min Typ Max Unit
Input high voltage
V
IH1
Ports 0, 1, and
RESET
VDD= 3.0 to 5.5 V 0.8 V
DD
V
DD
V
V
IH2
X
IN
and X
OUT
VDD - 0.1
Input low voltage
V
IL1
Ports 0, 1, and
RESET
VDD= 3.0 to 5.5 V
0.2 V
DD
V
V
IL2
X
IN
and X
OUT
0.1
Output high voltage
V
OH
IOH = - 10 mA ports 0, 1, 2
VDD= 4.5 to 5.5 V V
DD
- 1.5 V
DD
- 0.4
V
Output low voltage
V
OL
IOL = 25 mA port 0, 1, and 2
VDD= 4.5 to 5.5 V
0.4 2.0 V
Page 12
S3C9432/C9434/P9434 ELECTRICAL DATA
14-3
Table 14-2. DC Electrical Characteristics (Continued)
(T
A
= – 40°C to + 85°C, VDD = 3.0 V to 5.5 V)
Parameter Symbol Conditions Min Typ Max Unit
Input high leakage current
I
LIH1
All inputs except I
LIH2VIN
= V
DD
1 uA
I
LIH2
X
IN
, X
OUT
VIN = V
DD
20
Input low leakage current
I
LIL1
All inputs except I
LIL2
and RESET
V
IN
= 0 V
-1 uA
I
LIL2
XIN, X
OUT
V
IN
= 0 V
-20
Output high leakage current
I
LOH
All outputs
V
OUT
= V
DD
2 uA
Output low leakage current
I
LOL
All outputs
V
OUT
= 0 V
-2 uA
Pull-up resistors
R
P
V
IN
= 0 V
Ports 0-2
V
DD
= 5 V
30 47 70
k
RESET
V
DD
= 5 V
100 200 350
Supply current
I
DD1
Run mode 16 MHz CPU clock
V
DD
= 5V ± 10%
11 20 mA
8 MHz CPU clock
V
DD
= 3.3 V
3 6
I
DD2
Idle mode 16 MHz CPU clock
V
DD
= 5V ± 10%
5 8
8 MHz CPU clock
V
DD
= 3.3 V
0.7 2.5
I
DD3
Stop mode
V
DD
= 5V ± 10%
65 100 uA
V
DD
= 3.3 V
45 80
NOTE: D.C electrical values for supply current (IDD, to I
DD3
) do not include current drawn through internal pull-up
resisters, output port drive current and ADC module.
Page 13
ELECTRICAL DATA S3C9432/C9434/P9434
14-4
Table 14-3. AC Electrical Characteristics
(T
A
= –40°C to + 85°C, V
DD
= 3.0 V to 5.5 V)
Parameter Symbol Conditions Min Typ Max Unit
Interrupt input high, low width
t
INTH
,
t
INTL
INT0, INT1 V
DD
= 5V ± 10%
200 ns
RESET input low width
t
RSL
Input V
DD
= 5V ± 10%
1 us
0.8 VDD
0.2 VDD
tINTL tINTH
tRSL
Figure 14-1. Input Timing Measurement Points
Page 14
S3C9432/C9434/P9434 ELECTRICAL DATA
14-5
Table 14-4. Oscillator Characteristics
(TA = - 40°C to + 85°C)
Oscillator Clock Circuit Test Condition Min Typ Max Unit
Main crystal or ceramic
XIN
C1 C2
XOUT
V
DD
= 4.5 to 5.5 V
V
DD
= 3.0 to 4.5 V
1 1
– –
16
8
MHz
External clock
XIN XOUT
V
DD
= 4.5 to 5.5 V
V
DD
= 3.0 to 4.5 V
1 1
– –
16
8
RC oscillator
XIN XOUT
R
VDD = 5 V, R = 10 K V
DD
= 3 V, R = 22 K
– –
4 2
– –
Table 14-5. Oscillation Stabilization Time
(TA = - 40°C to + 85°C, VDD = 3.0 V to 5.5 V)
Oscillator Test Condition Min Typ Max Unit
Main crystal
f
OSC
> 1.0 MHz
20 ms
Main ceramic
Oscillation stabilization occurs when VDD is equal to the minimum oscillator voltage range.
10
External clock (main system)
XIN input high and low width (tXH, tXL)
25 500 ns
Oscillator stabilization
t
WAIT
when released by a reset
(1)
216/f
OSC
ms
wait time
t
WAIT
when released by an interrupt
(2)
NOTES:
1. f
OSC
is the oscillator frequency.
2. The duration of the oscillator stabilization wait time,
t
WAIT
, when it is released by an interrupt is determined by the
settings in the basic timer control register, BTCON.
Page 15
ELECTRICAL DATA S3C9432/C9434/P9434
14-6
CPU Clock
16MHz
8MHz
4MHz 3MHz 2MHz 1MHz
1 2 3 4 5 6 72.7 5.5
Supply Voltage (V)
Figure 14-2. Operating Voltage Range
0.3 VDD
A = 0.2 VDD B = 0.4 VDD C = 0.6 VDD D = 0.8 VDD
VOUT
A
0.7 VDD
VDD
VSS
B C
D
VIN
Figure 14-3. Schmitt Trigger Input Characteristics Diagram
Page 16
S3C9432/C9434/P9434 ELECTRICAL DATA
14-7
Table 14-6. Data Retention Supply Voltage in Stop Mode
(TA = – 40°C to + 85°C, V
DD
= 3.0 V to 5.5 V)
Parameter Symbol Conditions Min Typ Max Unit
Data retention supply voltage
V
DDDR
Stop mode 2.0 5.5 V
Data retention supply current
I
DDDR
Stop mode; V
DDDR
= 2.0 V
0.1 5 uA
NOTE: Supply current does not include current drawn through internal pull-up resistors or external output current loads.
RESET
Data Retention Mode
~
~
~
VDDDR
Execution Of
Stop Instrction
VDD
Normal Operating Mode
Oscillation
Stabilization Time
~
Stop Mode
Reset
Occurs
tWAIT
NOTE: tWAIT is the same as 4096 x 16 x 1/fosc
0.8 VDD
0.2 VDD
Figure 14-4. Stop Mode Release Timing When Initiated by a RESETRESET
Page 17
ELECTRICAL DATA S3C9432/C9434/P9434
14-8
Table 14-7. A/D Converter Electrical Characteristics
(TA = - 40°C to + 85°C, VDD = 3.0 V to 5.5 V, VSS = 0 V)
Parameter Symbol Test Conditions Min Typ Max Unit
Total accuracy
VDD = 5.12 V CPU clock = 10 MHz
AV
REF
= 5.12 V
AVSS = 0 V
± 3
LSB
Integral linearity error
ILE
± 2
Differential linearity error
DLE
± 1
Offset error of top
EOT
± 1 ± 3
Offset error of bottom
EOB
± 1 ± 2
Conversion time
(1)
t
CON
f
OSC
= 10 MHz
50x4/ f
OSC
µs
Analog input voltage
V
IAN
AV
SS
AV
REF
V
Analog input impedance
R
AN
2
M
ADC reference voltage
AV
REF
3.0
V
DD
V
ADC reference ground
AV
SS
V
SS
VSS + 0.3
V
Analog input current
I
ADIN
AV
REF
= VDD = 5 V
10
µA
Analog block current
(2)
I
ADC
AV
REF
= VDD = 5 V
conversion time = 20 µs
1 3 mA
AV
REF
= VDD = 3 V
conversion time = 20 µs
0.5 1.5 mA
AV
REF
= VDD = 5 V
when power down mode
100 500 nA
NOTES:
1. “Conversion time” is the time required from the moment a conversion operation starts until it ends.
2. I
ADC
is operating current during A/D conversion.
Page 18
S3C9432/C9434/P9434 ELECTRICAL DATA
14-9
Table 14-8. LVD Circuit Characteristics
(TA = - 40°C to + 85°C, V
DD
= 3.0 V to 5.5V)
Parameter Symbol Conditions Min Typ Max Unit
Power-on reset voltage high
V
DDH
3.0 5.5 V
Power-on reset voltage low
V
DDL
0 2.6 3.0 V
Power supply voltage rise time
t
r
10
(note)
us
Power supply voltage off time
t
off
0.5 sec
Power-on reset circuit
I
DDPR
V
DD
= 5 V ± 10 %
65 100 uA
consumption current
V
DD
= 3 V
45 80 uA
NOTE: Oscillation stabilization time = 216/fx (= 6.55 ms at fx = 10 MHz)
VDD
VDDH
VDDL
tOFF tR
Figure 14-5. LVD Reset Timing
Page 19
ELECTRICAL DATA S3C9432/C9434/P9434
14-10
Table 14-9. Serial I/O Timing Characteristics
(T
A
= – 40°C to + 85°C, V
DD
= 3.0 V to 5.5 V)
Parameter Symbol Conditions Min Typ Max Unit
SCK Cycle Time
t
CKY
External SCK source
1000 ns
Internal SCK source
1000
SCK High, Low Width
tKH, t
KL
External SCK source
500
Internal SCK source
t
KCY
/2 – 50
SI Setup Time to SCK Low
t
SIK
External SCK source
250
Internal SCK source
250
SI Hold Time to SCK High
t
KSI
External SCK source
400
Internal SCK source
400
Output Delay for SCK to SO
t
KSO
External SCK source
300
Internal SCK source
250
NOTE: "SCK" means serial I/O clock frequency, "SI" means serial data input, and "SO" means serial data output.
Output Data
Input
SCK
tKH
tKCY
0.8 VDD
0.2 VDD
tKSO
tSIK tKSI
0.8 VDD
0.2 VDD
SI
SO
tKL
Figure 14-6. Serial Data Transfer Timing
Page 20
S3C9432/C9434/P9434 ELECTRICAL DATA
14-11
0.0 5.01.0 2.0 3.0 4.0
fx = 16 MHz
VDD (V)
fx = 10 MHz
fx = 8 MHz
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
5.5
6.0
6.5
7.0
7.5
8.0
8.5
9.0
9.5
10.0
10.5
11.0
IDD1 (mA)
Figure 14-7. I
DD1
vs V
DD
Page 21
ELECTRICAL DATA S3C9432/C9434/P9434
14-12
0.0 5.01.0 2.0 3.0 4.0 VOL (V)
5
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
IOL (mA)
VDD = 4.5 V
VDD = 5.5 V
VDD = 5.0 V
Figure 14-8. IOL vs V
OL
Page 22
S3C9432/C9434/P9434 ELECTRICAL DATA
14-13
0.0 5.01.0 2.0 3.0 4.0 VOH (V)
-5
-10
-15
-20
-25
-30
-35
-40
-45
-50
-55
-60
-65
-70
-75
-80
IOH (mA)
VDD = 5.5 V
VDD = 5.0 V
VDD = 4.5 V
Figure 14-9. IOH vs V
OH
Page 23
S3C9432/C9434/P9434 MECHANICAL DATA
15-1
15 MECHANICAL DATA
OVERVIEW
The S3C9432/C9434 is available in a 20-pin SDIP package (Samsung: 20-DIP-300A), a 20-pin SOP package (Samsung: 20-SOP-375), a 18-pin DIP package (Samsung: 18-DIP-300A). Package dimensions are shown in Figure 15-1, 15-2, and 15-3.
NOTE: Dimensions are in millimeters.
26.80 MAX
26.40 ± 0.20
(1.77)
20-DIP-300A
6.40 ± 0.20
#20
#1
0.46 ±
0.10
1.52 ±
0.10
#11
#10
0-15
0.25
+ 0.10
- 0.05
7.62
2.54
0.51 MIN
3.30 ± 0.30
3.25 ±
0.20
5.08 MAX
Figure 15-1. 20-DIP-300A Package Dimensions
Page 24
MECHANICAL DATA S3C9432/C9434/P9434
15-2
NOTE: Dimensions are in millimeters.
20-SOP-375
10.30 ± 0.30
#11#20
#1 #10
13.14 MAX
12.74 ± 0.20
(0.66)
0-8
0.203
+ 0.10
- 0.05
9.53
7.50 ±
0.20
0.85 ±
0.20
0.05 MIN 2.30 ±
0.10
2.50 MAX
0.40
0.10 MAX
+ 0.10
- 0.05
1.27
Figure 15-2. 20-SOP-375 Package Dimensions
Page 25
S3C9432/C9434/P9434 MECHANICAL DATA
15-3
NOTE: Dimensions are in millimeters.
23.35 MAX
22.95 ± 0.20
(1.32)
6.40 ± 0.20
#18
#1
#10
#9
0-15
0.25
+ 0.10
- 0.05
7.62
2.54
0.51 MIN
3.30 ± 0.30
3.25 ±
0.20
5.08 MAX
18-DIP-300A
0.46 ±
0.10
1.52 ±
0.10
Figure 15-3. 18-DIP-300A Package Dimensions
Page 26
MECHANICAL DATA S3C9432/C9434/P9434
15-4
19.80
(0.81)
6.40
#16
#1
#9
#8
0.25
7.62
2.54
1.50
0.46
0.38 3.25
3.30
5.08
Figure 15-4. 16-DIP-300A Package Dimensions
Page 27
S3C9432/C9434/P9434 S3P9434 OTP
16-1
16 S3P9434 OTP
OVERVIEW
The S3P9434 single-chip CMOS microcontroller is the OTP (One Time Programmable) version of the
S3C9432/C9434 microcontroller. It has an on-chip OTP ROM instead of masked ROM. The EPROM is accessed by serial data format.
The S3P9434 is fully compatible with the S3C9432/C9434, in function, in D.C. electrical characteristics, and in pin configuration. Because of its simple programming requirements, the S3P9434 is ideal for use as an evaluation chip for the S3C9432/C9434.
VSS/VSS
XIN
XOUT
VPP/TEST
P0.2/T0CK/INT0
P0.1/PWM
RESETRESET/RESET
P0.0/BUZ P2.0/SCK
P2.2
NOTE: The bolds indicate an OTP pin name.
S3P9434
20-DIP
(Top View)
VDD/VDD P0.3/INT1/SCLK P1.0/ADC0/SDAT P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF P2.1/SO P2.3
20 19 18 17 16 15 14 13 12 11
1 2 3 4 5 6 7 8 9 10
Figure 16-1. Pin Assignment Diagram (20-Pin DIP Package)
Page 28
S3P9434 OTP S3C9432/C9434/P9434
16-2
S3P9434
20-SOP
(Top View)
VDD/VDD P0.3/INT1/SCLK P1.0/ADC0/SDAT P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF P2.1/SO P2.3
20 19 18 17 16 15 14 13 12 11
VSS/VSS
XIN
XOUT
VPP/TEST
P0.2/T0CK/INT0
P0.1/PWM
RESETRESET/RESET
P0.0/BUZ P2.0/SCK
P2.2
1 2 3 4 5 6 7 8 9 10
NOTE: The bolds indicate an OTP pin name.
Figure 16-2. Pin Assignment Diagram (20-Pin SOP Package)
Page 29
S3C9432/C9434/P9434 S3P9434 OTP
16-3
S3C9432/C9434
18-DIP
(Top View)
VDD/VDD P0.3/INT1/SCLK P1.0/ADC0/SDAT P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF P2.1/SO
18 17 16 15 14 13 12 11 10
VSS/VSS
XIN
XOUT
VPP/TEST
P0.2/T0CK/INT0
P0.1/PWM
RESETRESET/RESET
P0.0/BUZ P2.0/SCK
1 2 3 4 5 6 7 8 9
NOTE: The bolds indicate an OTP pin name.
Figure 16-3. Pin Assignment Diagram (18-Pin DIP Package)
Page 30
S3P9434 OTP S3C9432/C9434/P9434
16-4
S3P9434
16-DIP
(Top View)
VDD/VDD P0.3/INT1/SCLK P1.0/ADC0/SDAT P1.1/ADC1/SI P1.2/ADC2/SO P1.3/ADC3/SCK P1.4/ADC4/CLO AVREF
16 15 14 13 12 11 10
9
VSS/VSS
XIN
XOUT
VPP/TEST
P0.2/T0CK/INT0
P0.1/PWM
RESETRESET/RESET
P0.0/BUZ
1 2 3 4 5 6 7 8
NOTE: The bolds indicate an OTP pin name.
Figure 16-4. Pin Assingment Diagram (16-Pin DIP Package)
Page 31
S3C9432/C9434/P9434 S3P9434 OTP
16-5
Table 16-1. Descriptions of Pins Used to Read/Write the EPROM
Main Chip During Programming
Pin Name Pin Name Pin No. I/O Function
P0.3 SDAT 18 (20-pin)
16 (18-pin)
I/O Serial data pin (output when reading, Input
when writing) Input and push-pull output port can be assigned
P0.2 SCLK 19 (20-pin)
17 (18-pin)
I Serial clock pin (input only pin)
TEST
V
PP
(TEST)
4 I Power supply pin for EPROM cell writing
(indicates that OTP enters into the writing mode). When 12.5 V is applied, OTP is in writing mode and when 5 V is applied, OTP is in reading mode. (Option)
RESET RESET
7 I Chip Initialization
VDD/V
SS
VDD/V
SS
20 (20-pin), 18 (18-pin) 1 (20-pin), 1 (18-pin)
I Logic power supply pin.
NOTE: ( ) means the SOP OTP pin number.
Table 16-2. Comparison of S3P9434 and S3C9432/C9434 Features
Characteristic S3P9434 S3C9432/C9434
Program Memory 4 Kbyte EPROM 2K/4K byte mask ROM Operating Voltage (VDD)
3.0 V to 5.5 V 3.0 V to 5.5 V
OTP Programming Mode
VDD = 5 V, V
PP
(TEST) = 12.5 V
Pin Configuration 20 DIP/20 SOP/18 DIP EPROM Programmability User Program 1 time Programmed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the V
PP
(TEST) pin of the S3P9434, the EPROM programming mode is entered. The
operating mode (read, write, or read protection) is selected according to the input signals to the pins listed in Table 16-3 below.
Table 16-3. Operating Mode Selection Criteria
V
DD
VPP
(TEST)
REG/MEMMEM
ADDRESS
(A15-A0)
R/W MODE
5 V 5 V 0 0000H 1 EPROM read
12.5 V 0 0000H 0 EPROM program
12.5 V 0 0000H 1 EPROM verify
12.5 V 1 0E3FH 0 EPROM read protection
NOTE: "0" means Low level; "1" means High level.
Loading...