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.
S3C9424/C9428/P9428 MICROCONTROLLER
The S3C9424/C9428/P9428 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is
built around the powerful SAM87Ri CPU core. The S3C9424/C9428/P9428 is a versatile microcontroller, with its
A/D converter, SIO, IIC 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 S3C9424/C9428/P9428 have 4K-byte or
8K-byte 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 (24 pins)
•Nine interrupt sources with one vector and one interrupt level
•Two 8-bit timer/counter with various operating modes
•Analog to digital converter with 12 input channels and 10-bit resolution
•One synchronous SIO module
•One IIC module
•Two 12-bit PWM output
The S3C9424/C9428/P9428 microcontroller is ideal for use in a wide range of electronic applications requiring
simple timer/counter, PWM, ADC, SIO, IIC, ZCD and capture functions. S3C9424/C9428/P9428 is available in a
28/32-pin SOP and a 30-pin SDIP package.
OTP
The S3P9428 is an OTP (One Time Programmable) version of the S3C9424/C9428 microcontroller. The
S3P9428 has on-chip 8-K-byte one-time-programmable EPROM instead of masked ROM. The S3P9428 is fully
compatible with the S3C9424/C9428, in function, in D.C. electrical characteristics and in pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C9424/C9428/P9428
FEATURES
CPU
•SAM87RI CPU core
Memory
•208-byte general purpose register area (RAM)
•4K/8K byte internal program memory (ROM)
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
•375 ns at 16 MHz fosc(minimum)
Interrupts
•9 interrupt sources and 1 vector
•One interrupt level
General I/O
•Four I/O ports (total 24pins)
Timer/Counters
•One 8-bit basic timer for watchdog function
•One 8-bit timer/counter with three operating
mode
•One 8-bit timer/counter
PWM module
•12-bit PWM 2-ch (Max: 250KHz)
•6-bit base + 6-bit extension frame
•One 8-bit timer/counter
A/D Converter
•12 analog input pins
•10-bit conversion resolution
Buzzer Frequency Range
•200 Hz to 20 kHz signal can be generated
Oscillator Freqeuncy
•1-MHz to 16-MHz external crystal oscillator
Maximum 16-MHz CPU clock
•RC: 4MHz(typ)
•Bit programmable ports
Serial I/O
•One synchronous serial I/O module
•Selectable transmit and receive rates
Multi-Master IIC-Bus
•Serial peripheral interface
Zero-Crossing Detection Circuit
•Zero crossing detection circuit that generates a
digital signal in synchronism with an AC signal
input
P0.0-P0.7I/OBit-programmable I/O port for Schmitt trigger input or push-
P1.0-P1.3I/OBit-programmable I/O port for Schmitt trigger input or push-
P2.0-P2.7I/OBit-programmable I/O port for Schmitt trigger input or push-
Pin
Type
Pin DescriptionPin
pull, open-drain output. Pull-up resistors are assignable by
software.
pull output.
Pull-up resistors are assignable by software. Port 1 pins can
also be used as alternative functions.
Share
Type
E
Pins
SCK,SO,SI
, CLO,
E-1
AD8-AD11
DT0/ZCD
BUZ
INT0
INT1
E-1AD0-AD7
pull, open drain output. Pull up resistors are assignable by
software. Port 2 can also be used as external interrupt, A/D
input.
P3.0-P3.3OPush-pull or open-drain output port.
E-2–
Pull-up resistors are assignable by software.
XIN, X
OUT
RESET
TESTITest signal input pin (for factory use only: must be connected
–Crystal/ceramic, or RC oscillator signal for system clock.––
I
System RESET signal input pin.
B–
––
to VSS)
AV
REF
VDD, V
, AV
SS
SS
–A/D converter reference voltage input and ground––
–Voltage input pin and ground––
SCKI/OSerial interface clock input or outputEP0.0
SOOSerial data outputEP0.1
SIISerial data outputEP0.2
CLOOSystem clock output portEP0.3
SCLK
SDAT
I/OIIC CLOCK
IIC DATA
E-1P2.7
P2.6
BUZO200 Hz-20 kHz frequency output for buzzer sound.DP1.1
ZCDIZero crossing detector inputDP1.0
T0I/OTimer 0 capture input or 10-bit PWM outputDP1.0
INT0
INT1
PWM0
PWM1
IExternal interrupt inputDP1.2
P1.3
O12-bit PWM outputE-1
D
P0.7
P1.3
AD0-AD11IA/D converter inputE-1P2.0-P2.7
P0.4-P0.7
1-6
Page 7
S3C9424/C9428/P9428PRODUCT OVERVIEW
PIN CIRCUITS
VDD
P-Channel
In
N-Channel
Figure 1-5. Pin Circuit Type A
VDD
Pull-Up
Resistor
In
Data
Output
DIsable
Resistor
Enable
Output
DIsable
VDD
Figure 1-7. Pin Circuit Type C
VDD
Pull-up
Resistor
P-Channel
Data
Circuit
Type C
P-Channel
Out
N-Channel
I/O
Figure 1-6. Pin Circuit Type B
Data
Figure 1-8. Pin Circuit Type D
1-7
Page 8
PRODUCT OVERVIEWS3C9424/C9428/P9428
V
DD
DD
V
47K
VDD
PNE
Pull-up
DD
V
Resistor
PNE
Data
Output
Disable
Data
Input
Figure 1-9. Pin Circuit Type E
PNE
V
DD
P-CH
N-CH
P-CH
V
DD
Pull-up
Enable
I/O
Pull-up
Resistor
Pull-up
Enable
I/O
Data
Output
Disable
Pull-up
Enable
Out
Figure 1-11. Pin Circuit Type E-2
Output
Disable
Analog Input
1-8
N-CH
Input
Figure 1-10. Pin Circuit Type E-1
Page 9
S3C9424/C9428/P9428ELECTRICAL DATA
16ELECTRICAL DATA
OVERVIEW
In this section, the following S3C9424/C9428/P9428 electrical characteristics are presented in tables and graphs:
— Absolute maximum ratings
— D.C. electrical characteristics
— A.C. electrical characteristics
— Operating Voltage Range
— Schmitt trigger input characteristics
— Oscillator characteristics
— Oscillation stabilization time
— Data retention supply voltage in Stop mode
— Stop mode release timing when initiated by a RESET
(TA = – 40°C to + 85°C, VDD = 1.8/3.0 V to 5.5 V, VSS = 0 V)
ParameterSymbolTest ConditionsMinTypMaxUnit
Total accuracy
VDD = 5.12 V
––
± 3
LSB
CPU clock = 10 MHz
AV
= 5.12 V
REF
AVSS = 0 V
Integral linearity errorILE“––
Differential linearity errorDLE“––
Offset error of topEOT“–
Offset error of bottomEOB“–
Conversion time
(1)
Analog input voltage
Analog input impedance
ADC reference voltage
ADC reference ground
Analog input current
ADC block
current
(2)
t
V
AV
AV
I
I
CON
IAN
R
AN
REF
ADIN
ADC
fosc = 10 MHz20––
–
AV
–2––
–2.5–
SS
AV
AV
AV
AV
REF
REF
REF
REF
–
= VDD = 5 V
= VDD = 5 V
= VDD = 3 V
= VDD = 5 V
V
SS
SS
––10
–13mA
–100500nA
±1±3
±1± 2
–
–
0.51.5
Power down mode
NOTES:
1.‘Conversion time’ is the time required from the moment a conversion operation starts until it ends.
2.I
is operating current during A/D conversion.
ADC
± 2
± 1
AV
REF
V
DD
VSS +
0.3
LSB
µs
V
MΩ
V
V
µA
Digital Output
11 1111 1111
11 1111 1110
11 1111 1101
.
.
.
.
.
.
.
00 0000 0010
00 0000 0001
00 0000 0000
Analog Input
VEOBAVSSV2V(K-1)V(K)VEOT AVREF
Figure 16-6. Definition of DLE and ILE
16-11
Page 20
ELECTRICAL DATAS3C9424/C9428/P9428
Table 16-11. Zero Crossing Detector
(TA = – 40°C to + 85°C, VDD = 4.5 V to 5.5 V, V
= 0 V)
SS
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/fzc
mV
AC inputVAZ(P-P)
ZCINT
VAZC
Figure 16-7. Zero Crossing Waveform Diagram
16-12
Page 21
S3C9424/C9428/P9428MECHANICAL DATA
17MECHANICAL DATA
OVERVIEW
The S3C9424/C9428 is available in a 30-pin SDIP package (Samsung: 30-SDIP-400) and a 32-pin SOP package
(32-SOP-450A) and a 28-pin SOP package (28-SOP-375). Package dimensions are shown in Figures 17-1, 17-2,
and 17-3
#30#16
30-SDIP-400
8.94 ± 0.2
27.88MAX
27.48 ± 0.2
0.56 ± 0.1
(1.30)
1.12 ± 0.1
#15#1
1.778
10.16
3.81 ± 0.2
5.08 MAX
3.30 ± 0.3
0.51 MIN
0-15
+ 0.1
0.25
- 0.05
NOTE: Dimensions are in millimeters.
Figure 17-1. 30-Pin SDIP Package Dimensions
17-1
Page 22
MECHANICAL DATAS3C9424/C9428/P9428
0-8
#17#32
32-SOP-450A
12.00 ± 0.3
#1#16
19.90 ± 0.2
(0.43)
NOTE: Dimensions are in millimeters
0.40 ± 0.1
Figure 17-2. 32-SOP-450A Package Dimensions
1.27
2.40 MAX
2.00 ± 0.2
0.05 MIN
8.34 ± 0.2
11.43
0.78 ± 0.2
+ 0.1
0.20
- 0.05
17-2
Page 23
S3C9424/C9428/P9428MECHANICAL DATA
8
#15#28
28-SOP-375
10.45 ± 0.3
#1#14
18.02 MAX
17.62 ± 0.2
(0.56)
NOTE: Dimensions are in millimeters
0.41 ± 0.1
Figure 17-3. 28-SOP-375 Package Dimensions
1.27
7.70 ± 0.2
2.50 MAX
2.15 ± 0.1
0.05 MIN
0.15
9.53
0.60 ± 0.2
+ 0.10
- 0.05
17-3
Page 24
S3C9424/C9428/P9428S3P9428 OTP
18S3P9428 OTP
OVERVIEW
The S3P9428 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
S3C9424/C9428 microcontroller. It has an on-chip OTP ROM instead of masked ROM. The EPROM is accessed
by serial data format.
The S3P9428 is fully compatible with the S3C9424/C9428, both in function and in pin configuration. Because of
its simple programming requirements, the S3P9428 is ideal for use as an evaluation chip for the
S3C9424/C9428.
Table 18-1. Descriptions of Pins Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
P0.3SDATS3P9428
- 30 SDIP: 28
- 32 SOP: 30
P0.2SCLKS3P9428
I/OSerial data pin (output when reading, Input
when writing) Input and push-pull output
port can be assigned
ISerial clock pin (input only pin)
- 30 SDIP: 29
- 32 SOP: 31
V
TEST
RESETRESET
VDD/V
SS
(TEST)
PP
VDD/V
SS
S3P9428
4IPower 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)
7IChip Initialization
ILogic power supply pin.
- 30 SDIP: 30/1
- 32 SOP: 32/1
Table 18-2. Comparison of S3P9428 and S3C9424/C9428 Features
CharacteristicS3P9428S3C9424/C9428
Program Memory8-Kbyte EPROM4/8-Kbyte mask ROM
Operating Voltage (VDD)
OTP Programming Mode
3.0 V to 5.5 V (28 SOP: 1.8 V to 5.5)3.0 V to 5.5 V (28 SOP: 1.8 V to 5.5)
VDD = 5 V, V
(TEST) = 12.5 V
PP
Pin Configuration30 SDIP/32 SOP/28SOP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the V
(TEST) pin of the S3P9428, the EPROM programming mode is entered. The
PP
operating mode (read, write, or read protection) is selected according to the input signals to the pins listed in
Table 18-3 below.
Table 18-3. Operating Mode Selection Criteria
V
DD
V
pp
(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.
18-3
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.