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.
S3C9404/C9414 MICROCONTROLLER
The S3C9404/C9414 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built
around the powerful SAM87Ri CPU core. The S3C9404/C9414 is a versatile microcontroller, with its A/D
converter and a zero-crossing detection capability 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 S3C9404/C9414 has 4-Kbytes of program
memory on-chip (ROM) and 208-bytes of general purpose register area RAM.
Using the SAM87Ri design approach, the following peripherals were integrated with the SAM87Ri core:
— Four configurable I/O ports (S3C9404: 22 pins, S3C9414: 16 pins)
— Six interrupt sources with one vector and one interrupt level
— Two 8-bit timer/counter with various operating modes
— Analog to digital converter (S3C9404: 8-bit, 8-channel, S3C9414: 10-bit, 5-channel)
— One zero cross detection module
The S3C9404/C9414 microcontroller is ideal for use in a wide range of electronic applications requiring simple
timer/counter, PWM, ADC, ZCD and capture functions. S3C9404 is available in a 30-pin SDIP and a 32-pin SOP
package. S3C9414 is available in a 24-pin SDIP and a 24-pin SOP package.
OTP
The S3P9404/P9414 is an OTP (one time programmable) version of the S3C9404/C9414 microcontroller. The
S3P9404/P9414 has on-chip 4-Kbyte one-time programmable EEPROM instead of masked ROM. The
S3P9404/P9414 is fully compatible with the S3C9404/C9414, in function, in D.C. electrical characteristics and in
pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C9404/P9404/C9414/P9414
FEATURES
CPU
•SAM87Ri CPU core
Memory
•4-Kbyte internal program memory (ROM)
•208-byte general purpose register area (RAM)
Instruction Set
•41 instructions
•IDLE and STOP instructions added for
power-down modes.
Instruction Execution Time
•600 ns at 10 MHz f
OSC
(minimum)
Interrupts
•6 interrupt sources with one vector and one level
interrupt structure
Oscillation Frequency
Timer/Counter
•One 8-bit basic timer for watchdog function
•One 8-bit timer/counter with three operating
modes (10-bit PWM 1ch)
•One 8-bit timer/counter for the zero-crossing
detection circuit
Zero-Crossing Detection Circuit
•Zero-crossing detection circuit that generates a
digital signal in synchronism with an AC signal
input
push-pull, open-drain output. Pull-up resistors are
assignable by software.
Bit-programmable I/O port for Schmitt trigger
input or push-pull output. Pull-up resistors are
assignable by software. Port 1 pins can also be
used as alternative functions.
Bit-programmable I/O port for Schmitt trigger
input or push-pull, open drain output. Pull up
F
D
D
D
E
E-1
ZCD
BUZ
T0(PWM)
CLO
INT0–INT1
ADC6–ADC7
resistors are assignable by software. Port 2 can
also be used as external interrupt, A/D input.
Bit-programmable I/O port for Schmitt trigger
FADC0–ADC5
input or push-pull output. Pull-up resistors are
assignable by software. Port 3 pins can also be
used as A/D converter input.
–
Crystal/ceramic, or RC oscillator signal for system
––
clock.
External interrupt input.
I
System RESET signal input pin.
Test signal input pin (for factory use only: must be
EP2.0–P2.1
B–
––
connected to VSS)
V
DD, VSS
AV
REF,
AV
SS
ZCDI
BUZO
–
–
Voltage input pin and ground
A/D converter reference voltage input and ground
Zero crossing detector input
200 Hz–20 kHz frequency output for buzzer
sound
T0I/O
CLOO
ADC0–ADC7I
NOTE: Port 0.7, P1.3, P2.1–P2.3 and P3.5 is not available in S3C9414/P4104 .
Timer 0 capture input or 10-bit PWM output
System clock output port
A/D converter input
––
––
FP1.0
DP1.1
DP1.2
DP1.3
F
E-1
P3.0–P3.5
P2.2–P2.3
1-6
Page 7
S3C9404/P9404/C9414/P9414PRODUCT OVERVIEW
PIN CIRCUITS
V
VDD
DD
P-CHANNEL
IN
N-CHANNEL
Figure 1-6. Pin Circuit Type A
V
DD
PULL-UP
RESISTOR
DATA
OUTPUT
DISABLE
RESISTOR
ENABLE
P-CHANNEL
N-CHANNEL
Figure 1-8. Pin Circuit Type C
V
DD
PULL-UP
RESISTOR
P-CHANNEL
OUT
IN
Figure 1-7. Pin Circuit Type B
DATA
OUTPUT
DISABLE
DATA
CIRCUIT
TYPE C
Figure 1-9. Pin Circuit Type D
IN/OUT
1-7
Page 8
PRODUCT OVERVIEWS3C9404/P9404/C9414/P9414
PNE
DATA
OUTPUT
DISABLE
INPUT
V
V
DD
DD
P-CH
N-CH
Figure 1-10. Pin Circuit Type E
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PNE
DATA
OUTPUT
DISABLE
INPUT
V
V
DD
DD
P-CH
N-CH
Figure 1-10. Pin Circuit Type E-2
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PNE
DATA
OUTPUT
DISABLE
DIGITAL INPUT
ANALOG INPUT
Figure 1-11. Pin Circuit Type E-1
V
DD
P-CH
N-CH
V
DD
PULL-UP
RESISTOR
PULL-UP
ENABLE
IN/OUT
PULL-UP
ENABLE
DATA
OUTPUT
DISABLE
DIGITAL
INPUT
ANALOG
INPUT
V
DD
V
DD
CIRCUIT
TYPE C
Figure 1-12. Pin Circuit Type F
PULL-UP
RESISTOR
IN/OUT
1-8
Page 9
S3C9404/P9404/C9414/P9414ELECTRICAL DATA
13ELECTRICAL DATA
OVERVIEW
In this section, the following S3C9404/C9414 electrical characteristics are presented in tables and graphs:
— Absolute maximum ratings
— D.C. electrical characteristics
— A.C. electrical characteristics
— 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
— Zero-crossing detector
— Zero Crossing Waveform Diagram
13-1
Page 10
ELECTRICAL DATAS3C9404/P9404/C9414/P9414
Table 13-1. Absolute Maximum Ratings
(TA = 25°C)
ParameterSymbolConditionsRatingUnit
Supply voltage
Input voltage
Output voltage
Output current
V
DD
I
V
V
OH
I
O
All input ports
All output ports
One I/O pin active– 18mA
–– 0.3 to + 6.5V
– 0.3 to V
DD
+ 0.3
– 0.3 to VDD + 0.3
V
V
highAll I/O pins active– 60
Output current
I
OL
One I/O pin active+ 30mA
lowTotal pin current for ports 1, 2, 3+ 100
Total pin current for ports 0+ 200
Operating
T
A
–– 40 to + 85
°
C
temperature
Storage
T
STG
–– 65 to + 150
°
C
temperature
Table 13-2. DC Electrical Characteristics
(T
= – 40°C to + 85°C, VDD = 2.7 V to 5.5 V)
A
ParameterSymbolConditionsMinTypMaxUnit
Input high
voltage
Input low
voltage
Output high
voltage
Output low
voltage
V
IH1
V
IH2
V
IH3
V
IL1
V
IL2
V
IL3
V
OH
V
OL1IOL
V
OL2IOL
Ports 1,2,3, and
RESET
Port 0
X
and X
IN
OUT
Ports 1,2,3, and
RESET
Port 0
X
and X
IN
OUT
IOH = – 1 mA
ports 0, 1, 2, 3
= 15 mA
port 0
= 4 mA
VDD= 2.7 to 5.5 V0.8 V
0.7 V
VDD –0.1
VDD= 2.7 to 5.5 V
VDD= 4.5 to 5.5 VV
VDD= 4.5 to 5.5 V
––
DD
–0.42.0V
VDD= 4.5 to 5.5 V
DD
DD
– 1.0
–
V
DD
0.2 V
0.3 V
DD
DD
0.1
––V
0.42.0
port 1,2,3
V
V
13-2
Page 11
S3C9404/P9404/C9414/P9414ELECTRICAL DATA
Table 13-2. DC Electrical Characteristics (Continued)
(T
= – 40°C to + 85°C, VDD = 2.7 V to 5.5 V)
A
ParameterSymbolConditionsMinTypMaxUnit
Input high leakage
I
LIH1
All inputs except I
LIH2VIN
= V
DD
––1µA
current
Input low leakage
current
Output high
I
LIH2
I
LIL1
I
LIL2
I
LOH
X
, X
IN
OUT
All inputs except
I
and RESET
LIL2
XIN, X
OUT
All outputs
VIN = V
V
= 0 V
IN
V
= 0 V
IN
V
OUT
DD
= V
DD
20
––– 1µA
– 20
––2µA
leakage current
Output low
I
LOL
All outputs
leakage current
Pull-up resistors
R
P
V
= 0 V
IN
Ports 0–3 and
RESET
Supply current
I
DD1
Run mode
10 MHz CPU clock
8 MHz CPU clock
I
DD2
Idle mode
10 MHz CPU clock
8 MHz CPU clock
I
DD3
NOTE: D.C. electrical values for Supply current (I
resisters, output port drive current, ZCD and ADC.
Stop mode
DD1
to I
V
= 0 V
OUT
V
= 5 V
DD
V
= 3 V
DD
V
= 5 V ± 10%
DD
V
= 3 V ± 10%
DD
VDD = 5 V ± 10%
V
= 3 V ± 10%
DD
V
= 5 V ± 10%
DD
V
= 3 V ± 10%
DD
) do not include current drawn through internal pull-up
(TA = – 40°C to + 85°C, VDD = 2.7 V to 5.5 V, VSS = 0 V) S3C9414: 10-bit ADC
ParameterSymbolTest ConditionsMinTypMaxUnit
Resolution–10–bit
Total accuracy
VDD = 5.12 V
––
± 3
LSB
Integral linearity
error
Differential
linearity error
Offset error of
top
Offset error of
bottom
Conversion time
(1)
Analog input
voltage
Analog input
impedance
Analog
reference
voltage
Analog ground
ILECPU clock = 10 MHz
AV
= 5.12 V
REF
DLE
AVSS = 0 V
EOT
EOB
t
V
R
AV
AV
CON
IAN
AN
REF
SS
10-bit conversion
50 x 4/ f
OSC
(3)
–
–2––
–2.5–
–
–
–
± 1± 3
± 0.5± 2
20––
AV
V
SS
SS
–
–
VSS + 0.3
AV
V
± 2
± 1
DD
REF
µs
V
MΩ
V
V
Analog input
current
Analog block
current
(2)
I
ADIN
I
ADC
AV
= VDD = 5 V
REF
conversion time = 20 µs
AV
= VDD = 5 V
REF
conversion time = 20 µs
AV
= VDD = 3 V
REF
––10
13mA
0.51.5mA
conversion time = 20 µs
AV
= VDD = 5 V
REF
100500nA
when power down mode
NOTES:
1."Conversion time" is the time required from the moment a conversion operation starts until it ends.
2.I
3.f
is operating current during A/D conversion.
ADC
is the main oscillator clock.
OSC
µA
13-9
Page 18
ELECTRICAL DATAS3C9404/P9404/C9414/P9414
Table 13-9. Zero Crossing Detector
(TA = – 40°C to + 85°C, VDD = 4.5 V to 5.5 V, V
SS
= 0 V)
ParameterSymbolTest ConditionsMinTypMaxUnit
Zero-crossing
detection input
V
ZC
AC connection
1.0–3.0Vp-p
c = 0.1 µF
voltage
Zero-crossing
detection accuracy
V
AZC
fZC = 60 Hz
(sine wave)
––
± 150
VDD = 5 V
f
= 10 MHz
OSC
Zero-crossing
detection input
f
ZC
–40–200Hz
frequency
1/f
ZC
mV
AC Input
ZCINT
V
AZC
Figure 13-5. Zero Crossing Waveform Diagram
V
AZ(P-P)
13-10
Page 19
S3C9404/P9404/C9414/P9414ELECTRICAL DATA
70
V
= 5.5 V
DD
60
V
= 5.0 V
DD
I
OL
(mA)
50
40
30
20
10
V
DD
= 4.5 V
0
0.00.51.01.52.02.53.03.54.04.55.05.5
V
(V)
L
O
Figure 13-6. IOL vs. VOL (P0, TA = 25 °°C)
13-11
Page 20
ELECTRICAL DATAS3C9404/P9404/C9414/P9414
50
V
= 5.5 V
DD
I
OL
(mA)
40
V
DD
V
DD
= 4.5 V
= 5.0 V
30
20
10
0
0.00.51.01.52.02.53.03.54.04.55.05.5
V
(V)
L
O
13-12
Figure 13-7. IOL vs. VOL (P1–P3, TA = 25 °°C)
Page 21
S3C9404/P9404/C9414/P9414ELECTRICAL DATA
36
−
32
−
28
−
24
−
20
−
I
OH
(mA)
16
−
V
= 5.5 V
DD
12
−
V
= 5.0 V
V
DD
DD
= 4.5 V
8
−
4
−
0
0.00.51.01.52.02.53.03.54.04.55.05.5
VOH (V)
Figure 13-8. IOH vs. VOH (P0, TA = 25 °°C)
13-13
Page 22
ELECTRICAL DATAS3C9404/P9404/C9414/P9414
24
−
20
−
I
OH
(mA)
16
−
12
−
V
= 5.5 V
DD
DD
V
DD
= 4.5 V
= 5.0 V
8
−
4
−
V
0
0.00.51.01.52.02.53.03.54.04.55.05.5
VOH (V)
Figure 13-9. IOH vs. VOH (P1–P3, TA = 25 °°C)
13-14
Page 23
S3C9404/P9404/C9414/P9414MECHANICAL DATA
14MECHANICAL DATA
OVERVIEW
The S3C9404/C9414 is available in a 30-pin SDIP package (Samsung: 30-SDIP-400) and a 32-pin SOP package
(32-SOP-450A), a 24-pin SDIP package (24-SDIP-300) and a 24-pin SOP package (24-SOP-375). Package
dimensions are shown in Figures 14-1, 14-2, 14-3, and 14-4.
#30#16
30-SDIP-400
8.94 ± 0.2
#1#15
27.88 MAX
27.48 ± 0.2
0.56 ± 0.1
(1.30)
NOTE: Dimensions are in millimeters.
1.12 ± 0.1
1.778
10.16
± 0.2
0.51MIN3.81
5.08MAX
3.30 ± 0.3
+0.1
0.25
0-15
– 0.05
°
Figure 14-1. 30-Pin SDIP Package Dimensions
14-1
Page 24
MECHANICAL DATAS3C9404/P9404/C9414/P9414
#32#17
32-SOP-450A
12.00 ± 0.3
#1#16
19.90
(0.43)0.40 ± 0.1
± 0.2
1.27
2.00 ± 0.2
0.0MIN
0~8°
8.34± 0.2
+0.10
0.20
- 0.05
2.40MAX
0.10 MAX
11.43
0.78 ± 0.2
NOTE: Dimensions are in millimeters.
Figure 14-2. 32-SOP-450A Package Dimensions
14-2
Page 25
S3C9404/P9404/C9414/P9414MECHANICAL DATA
#24#13
± 0.2
24-SDIP-300
6.40
#1#12
23.35 MAX
22.95
± 0.2
0.46
± 0.1
(1.69)
0.89
± 0.1
NOTE: Dimensions are in millimeters.
1.778
7.62
± 0.2
3.25
0.51MIN
5.08MAX
± 0.3
3.30
+0.1
– 0.05
0.25
0-15
°
Figure 14-3. 24-SDIP-300 Package Dimensions
14-3
Page 26
MECHANICAL DATAS3C9404/P9404/C9414/P9414
#24#13
24-SOP-375
10.30 ± 0.3
#1#12
15.74 MAX
15.34
(0.69)0.38 ± 0.1
± 0.2
1.27
0.15
2.30 ± 0.2
0.05MIN
7.50 ± 0.2
+0.10
- 0.05
2.70MAX
0.10 MAX
0-8°
9.53
0.85±0.20
NOTE: Dimensions are in millimeters.
Figure 14-4. 24-SOP-375 Package Dimensions
14-4
Page 27
S3C9404/P9404/C9414/P9414S3P9404/P9414 OTP
15S3P9404/P9414 OTP
OVERVIEW
The S3P9404/P9414 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
S3C9404/C9414 microcontroller. It has an on-chip OTP ROM instead of masked ROM. The EPROM is accessed
by serial data format.
The S3P9404/P9414 is fully compatible with the S3C9404/C9414 , both in function and in pin configuration.
Because of its simple programming requirements, the S3P9404/P9414 is ideal for use as an evaluation chip for
the S3C9404/C9414 .
Table 15-1. Descriptions of Pins Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
P0.3SDATS3P9404: 28 (30)
S3P9414: 22 (22)
I/OSerial data pin (output when reading, Input
when writing) Input and push-pull output
port can be assigned
P0.2SCLKS3P9404: 29 (31)
I/OSerial clock pin (input only pin)
S3P9414: 23 (23)
V
TEST
RESETRESET
VDD/V
SS
(TEST)
PP
VDD/V
SS
4IPower supply pin for EPROM cell writing
7IChip Initialization
S3P9404: 30 (32) / 1
(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)
ILogic power supply pin.
S3P9414: 24 (24) / 1
NOTE: ( ) means the SOP OTP pin number.
Table 15-2. Comparison of S3P9404/P9414and S3C9404/C9414 Features
CharacteristicS3P9404/P9414S3C9404/C9414
Program Memory4-Kbyte EPROM4-Kbyte mask ROM
Operating Voltage (VDD)
OTP Programming Mode
VDD = 5 V, V
2.7 V to 5.5 V2.7 V to 5.5 V
(TEST) = 12.5 V
PP
Pin Configuration30 SDIP/32 SOP/24 SDIP/24 SOP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the V
(TEST) pin of the S3P9404/P9414, the EPROM programming mode is
PP
entered. The operating mode (read, write, or read protection) is selected according to the input signals to the pins
listed in Table 15-3 below.
Table 15-3. Operating Mode Selection Criteria
V
DD
VPP
(TEST)
REG/MEMMEM
ADDRESS
(A15-A0)
R/WMODE
5 V5 V00000H1EPROM read
12.5 V00000H0EPROM program
12.5 V00000H1EPROM verify
12.5 V10E3FH0EPROM read protection
NOTE: "0" means Low level; "1" means High level.
15-5
Page 32
S3P9404/P9414 OTPS3C9404/P9404/C9414/P9414
NOTES
15-6
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.