The S3C72N2/C72N4 single-chip CMOS microcontroller has been designed for high performance using
Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers).
With features such as, LCD direct drive capability, 8-bit timer/counter, and watch timer, the S3C72N2/C72N4
offers an excellent design solution for a wide variety of applications that require LCD functions.
Up to 16 pins of the 64-pin QFP package, it can be dedicated to I/O. Four vectored interrupts provide fast
response to internal and external events. In addition, the S3C72N2/C72N4 's advanced CMOS technology
provides for low power consumption and a wide operating voltage range.
OTP
The S3C72N2/C72N4 microcontroller is also available in OTP (One Time Programmable) version, S3P72N4 .
The S3P72N4 microcontroller has an on-chip 4-Kbyte one-time-programmable EPROM instead of masked ROM.
The S3P72N4 is comparable to S3C72N2/C72N4, both in function and in pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C72N2/C72N4/P72N4
FEATURES
Memory
— 288 × 4-bit RAM
— 2048 × 8-bit ROM (S3C72N2)
— 4096 × 8-bit ROM (S3C72N4)
— Maximum 16-digit LCD direct drive capability
— 32 segment, 4 common pins
— Display modes: Static, 1/2 duty (1/2 bias)
1/3 duty (1/2 or 1/3 bias), 1/4 duty (1/3 bias)
8-Bit Basic Timer
— Programmable interval timer
Interrupts
— Two internal vectored interrupts
— Two external vectored interrupts
— Two quasi-interrupts
Memory-Mapped I/O Structure
— Data memory bank 15
Two Power-Down Modes
— Idle mode (only CPU clock stops)
— Stop mode (main or sub system oscillation stops)
Oscillation Sources
— Crystal, ceramic, or RC for main system clock
— Crystal or external oscillator for subsystem clock
— Main system clock frequency: 4.19 MHz (typical)
— Subsystem clock frequency: 32.768 kHz
— CPU clock divider circuit (by 4, 8, or 64)
1-bit or 4-bit read and test is possible.
4-bit pull-up resistors are software
assignable.
I/O4-bit I/O port.
1-bit and 4-bit read/write and test is
possible.
4-bit pull-up resistors are software
DescriptionNumberShare
Pin
17
18
19
20
21
22
23
24
INT0
INT1
INT2
TCL0
TCLO0
–
CLO
BUZ
Reset
Value
Circuit
Type
InputA-4
InputD
assignable.
P3.0
P3.1
P3.2
P3.3
I/O4-bit I/O port.
1-bit and 4-bit read/write and test is
possible.
Each individual pin can be specified as
25
26
27
28
LCDCK
LCDSY
InputD
input or output. 4-bit pull-up resistors are
software assignable.
P6.0–P6.3I/O4-bit I/O ports. Pins are individually
29–32KS0–KS3InputD
software configurable as input or output.
1-bit and 4-bit read/write and test is
possible. 4-bit pull-up resistors are
software assignable.
P8.0–P8.7OOutput port for 1-bit data (for use as
CMOS driver only)
40–33SEG24–
SEG31
OutputH-1
SEG0–SEG23OLCD segment signal output64–41–OutputH
SEG24–SEG31OLCD segment signal output40–33P8.0–P8.7OutputH-1
COM0–COM3OLCD common signal output1–4–OutputH
V
LC0–VLC2
–LCD power supply.
6–8–––
Built-in voltage dividing resistors
BIAS–LCD power control5–––
LCDCKI/OLCD clock output for display expansion25P3.0InputD
synchronized with the system clock.
INT2IQuasi-interrupt with detection of rising
19P1.2InputA-4
edge signals.
KS0–KS3I/OQuasi-interrupt input with falling edge
29–32P6.0–P6.3InputD
detection.
CLOI/OCPU clock output23P2.2InputD
BUZI/O2, 4, 8 or 16 kHz frequency output for
24P2.3InputD
buzzer sound with 4.19 MHz main system
clock or 32.768 kHz subsystem clock.
X
X
,
IN
OUT
–Crystal, ceramic or RC oscillator pins for
12,11–––
main system clock. (For external clock
input, use XIN and input XIN’s reverse
phase to X
XT
XT
,
IN
OUT
–Crystal oscillator pins for subsystem
clock. (For external clock input, use XT
and input XTIN’s reverse phase to XT
V
DD
V
SS
RESET
–Main power supply9–––
–Ground10–––
–Reset signal16–InputB
TEST–Test signal input (must be connected to
OUT
)
14,15–––
IN
)
OUT
13–––
VSS)
NOTE: Pull-up resistors for all I/O ports automatically disabled if they are configured to output mode.
1-6
Page 7
S3C72N2/C72N4/P72N4PRODUCT OVERVIEW
PIN CIRCUIT DIAGRAMS
V
DD
P-CHANNEL
IN
N-CHNNEL
Figure 1-3. Pin Circuit Type A
V
DD
PULL-UP
RESISTOR
P-CHANNEL
IN
RESISTOR
ENABLE
DATA
OUTPUT
DISABLE
Figure 1-5. Pin Circuit Type C
RESISTOR
ENABLE
DATA
OUTPUT
DISABLE
CIRCUIT
TYPE C
V
DD
V
DD
PULL-UP
RESISTOR
P-CHANNEL
P-CHANNEL
OUT
N-CHANNEL
I/O
SCHMITT TRIGGER
Figure 1-4. Pin Circuit Type A-4 (P1)
CIRCUIT TYPE A
Figure 1-6. Pin Circuit Type D (P2, P3, and P6)
1-7
Page 8
PRODUCT OVERVIEWS3C72N2/C72N4/P72N4
V
LC0
V
V
LC1
DD
LCD SEGMENT/
COMMON DATA
V
LC2
OUT
Figure 1-7. Pin Circuit Type H (SEG/COM)
V
DD
V
LC0
IN
SCHMITT TRIGGER
Figure 1-9. Pin Circuit Type B (RESET)
V
LC1
LCD SEGMENT/
& PORT 8 DATA
V
LC2
Figure 1-8. Pin Circuit Type H-1 (P8)
1-8
OUT
Page 9
S3C72N2/C72N4/P72N4ELECTRICAL DATA
13ELECTRICAL DATA
OVERVIEW
In this section, information on S3C72N2/C72N4 electrical characteristics is presented as tables and graphics.
The information is arranged in the following order:
STANDARD ELECTRICAL CHARACTERISTICS
— Absolute maximum ratings
— D.C. electrical characteristics
— Main system clock oscillator characteristics
— Subsystem clock oscillator characteristics
— I/O capacitance
— A.C. electrical characteristics
— Operating voltage range
MISCELLANEOUS TIMING WAVEFORMS
— A.C timing measurement point
— Clock timing measurement at X
— Clock timing measurement at XT
— TCL0 timing
— Input timing for RESET
— Input timing for external interrupts
STOP MODE CHARACTERISTICS AND TIMING WAVEFORMS
— RAM data retention supply voltage in stop mode
— Stop mode release timing when initiated by RESET
— Stop mode release timing when initiated by an interrupt request
IN
IN
13-1
Page 10
ELECTRICAL DATAS3C72N2/C72N4/P72N4
Table 13-1. Absolute Maximum Ratings
(TA = 25 °C)
ParameterSymbolConditionsRatingUnits
Supply Voltage
Input Voltage
Output Voltage
Output Current High
V
DD
I
V
V
OH
I1
O
All I/O ports
One I/O port active– 15mA
–– 0.3 to + 6.5V
– 0.3 to V
DD
+ 0.3
– 0.3 to VDD + 0.3
All I/O ports active– 30
Output Current Low
I
OL
One I/O port active+ 30 (Peak value)
(note)
+ 15
Total value for ports 2 and 3+ 60 (Peak value)
(note)
+ 20
Total value for port 6+ 50
(note)
+ 20
Operating Temperature
Storage Temperature
T
A
T
stg
–– 40 to + 85
–– 65 to + 150
°
C
NOTE: The values for Output Current Low ( IOL ) are calculated as Peak Value × Duty .
1.D.C. electrical values for supply current (I
and through LCD voltage dividing resistors.
2.Data includes the power consumption for sub-system clock oscillation.
3.When the system clock mode register, SCMOD, is set to 0100B, the sub-system clock oscillation stops. The main system clock oscillation stops by the STOP instruction.
DD1
to I
) do not include current drawn through internal pull-up resistors
DD6
13-5
Page 14
ELECTRICAL DATAS3C72N2/C72N4/P72N4
Table 13-3. Main System Clock Oscillator Characteristics
(T
= – 40 °C + 85 °C, VDD = 1.8 V to 5.5 V)
A
OscillatorClock
Configuration
Ceramic
INXOUT
X
Oscillator
C1C2
Crystal
XINX
Oscillator
C1C2
External
IN
X
X
Clock
OUT
OUT
ParameterTest ConditionMinTypMaxUnits
Oscillation frequency
(1)
Stabilization time
(2)
Stabilization occurs
–0.4–6.0MHz
––4ms
when VDD is equal to
the minimum oscillator
voltage range.
Oscillation frequency
(1)
Stabilization time
(2)
XIN input frequency
VDD = 4.5 V to 5.5 V
V
DD
(1)
–0.4–6.0MHz
––10ms
= 1.8 V to 4.5 V
––30
–0.4–6.0MHz
XIN input high and low
–83.3––ns
level width (tXH, tXL)
RC
Oscillator
NOTES:
1.Oscillation frequency and X
2.Stabilization time is the interval required for oscillator stabilization after a power-on occurs, or when stop mode is
terminated.
13-6
X
X
IN
OUT
R
Frequency
input frequency data are for oscillator characteristics only.
IN
(1)
VDD = 5 V
R = 20 KΩ, VDD = 5 V
R = 39 KΩ, VDD = 3 V
2.Stabilization time is the interval required for oscillator stabilization after a power-on occurs.
XTINXT
C1C2
XTINXT
OUT
OUT
–3232.76835kHz
(1)
(2)
V
Stabilization time
XTIN input frequency
(1)
XTIN input high and
low level width (t
t
)
XTH
input frequency data are for oscillator characteristics only.
IN
XTL
,
= 4.5 V to 5.5 V
DD
V
= 1.8 V to 4.5 V
DD
–32–100KHz
–5–15
–1.02s
––10
µs
Table 13-5. Input/Output Capacitance
(TA = 25 °C, V
DD
=0 V )
ParameterSymbolConditionMinTypMaxUnits
C
C
OUT
IN
f = 1 MHz; Unmeasured pins
are returned to V
SS
––15pF
––15pF
Input
capacitance
Output
capacitance
I/O capacitance
C
IO
––15pF
13-7
Page 16
ELECTRICAL DATAS3C72N2/C72N4/P72N4
Table 13-6. A.C. Electrical Characteristics
(T
= – 40 °C to + 85 °C, V
A
= 1.8 V to 5.5 V)
DD
ParameterSymbolConditionsMinTypMaxUnits
Instruction cycle
(1)
time
t
CY
V
= 2.7 V to 5.5 V
DD
VDD = 1.8 V to 5.5 V
0.67–64
0.95–64
µs
With subsystem clock (fxt)114122125
TCL0 input
frequency
TCL0 input high,
low width
t
TIH0
f
TI0
, t
VDD = 2.7 V to 5.5 V
VDD = 1.8 V to 5.5 V
TIL0VDD
= 2.7 V to 5.5 V
VDD = 1.8 V to 5.5 V
0–1.5MHz
1MHz
0.48––
1.8
µs
Interrupt input
t
INTH
, t
INTL
INT0
(2)
––
high, low widthINT1, INT2, KS0–KS310
RESET Input Low
t
RSL
Input10––
Width
NOTES:
1.Unless otherwise specified, Instruction Cycle Time condition values assume a main system clock (fx) source.
2.Minimum value for INT0 is based on a clock of 2t
or 128/fx as assigned by the IMOD0 register setting.
CY
µs
µs
13-8
Page 17
S3C72N2/C72N4/P72N4ELECTRICAL DATA
Table 13-7. RAM Data Retention Supply Voltage in Stop Mode
(TA = – 40 °C to + 85 °C)
CPU CLOCK
1.5 MHz
1.0475 MHz
750 kHz
500 kHz
250 kHz
15.6 kHz
1
CPU CLOCK = 1/n x oscillator frequency (n = 4, 8, 64)
234567
SUPPLY VOLTAGE (V)
Figure 13-1. Standard Operating Voltage Range
Main OSC. Freq.
6 MHz
4.19 MHz
3 MHz
ParameterSymbolConditionsMinTypMaxUnit
Data retention supply voltage
Data retention supply current
Release signal set time
Oscillator stabilization wait
(1)
time
NOTES:
1.During oscillator stabilization wait time, all CPU operations must be stopped to avoid instability during oscillator startup.
2.Use the basic timer mode register (BMOD) interval timer to delay execution of CPU instructions during the wait time.
V
DDDR
I
DDDR
t
SREL
t
WAIT
Normal operation1.5–6.5V
V
Normal operation0––
Released by RESET–
Released by interrupt–
DDDR
= 2.0 V
–0.11
17
2
/ fx
(2)
µA
µs
–ms
–
13-9
Page 18
ELECTRICAL DATAS3C72N2/C72N4/P72N4
TIMING WAVEFORMS
INTERNAL RESET
OPERATION
V
RESET
V
DD
DD
STOP MODE
DATA RETENTION MODE
V
EXECUTION OF
STOP INSTRUCTION
DDDR
t
SREL
Figure 13-2. Stop Mode Release Timing When Initiated By RESET
IDLE MODE
STOP MODE
DATA RETENTION MODE
IDLE MODE
t
WAIT
NORMAL
OPERATING
MODE
OPERATING
MODE
13-10
V
EXECUTION OF
DDDR
STOP INSTRUCTION
POWER-DOWN MODE TERMINATING SIGNAL
(INTERRUPT REQUEST)
t
SREL
t
WAIT
Figure 13-3. Stop Mode Release Timing When Initiated By Interrupt Request
Page 19
S3C72N2/C72N4/P72N4ELECTRICAL DATA
0.8 V
0.2 V
DD
DD
MEASUREMENT
POINTS
0.8 V
0.2 V
DD
DD
Figure 13-4. A.C. Timing Measurement Points (Except for Xin and XTin)
1 / f
x
t
XL
X
in
t
XH
V
DD
0.1 V
– 0.1 V
XT
Figure 13-5. Clock Timing Measurement at X
1 / f
xt
t
XTL
in
t
Figure 13-6. Clock Timing Measurement at XT
XTH
in
in
V
DD
0.1 V
– 0.1 V
13-11
Page 20
ELECTRICAL DATAS3C72N2/C72N4/P72N4
1 / f
TI0
TCL0
RESET
t
TIL0
Figure 13-7. TCL0 Timing
t
RSL
t
TIH0
0.2 V
DD
0.8 V
0.2 V
DD
DD
13-12
Figure 13-8. Input Timing for RESET Signal
INT0, 1, 2, 4
KS0 to KS3
t
INTL
0.8 V
0.2 V
DD
DD
t
INTH
Figure 13-9. Input Timing for External Interrupts and Quasi-Interrupts
Page 21
S3C72N2/C72N4/P72N4MECHANICAL DATA
14MECHANICAL DATA
OVERVIEW
The S3C72N2/C72N4 microcontroller is available in a 64-pin QFP package (Samsung: 64-QFP-1420F).
Package dimensions are shown in Figure 14-1.
23.90 ± 0.3
14.00 ± 0.2
17.90 ± 0.3
#64
1.00
#1
20.00 ± 0.2
64-QFP-1420F
+0.10
0.40
- 0.05
± 0.15MAX
(1.00)
)
(1.00
0-8°
+0.10
0.15
- 0.05
0.10 MAX
0.80 ± 0.20
0.05~0.25
2.65 ± 0.10
3.00 MAX
NOTE: Dimensions are in millimeters.
Figure 14-1. 64-QFP-1420F Package Dimensions
0.80 ± 0.20
Page 22
S3C72N2/C72N4/P72N4S3P72N4 OTP
15S3P72N4 OTP
OVERVIEW
The S3P72N4 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
S3C72N2/C72N4 microcontroller. It has an on-chip EPROM instead of masked ROM. The EPROM is accessed
by a serial data format.
The S3P72N4 is fully compatible with the S3C72N2/C72N4, both in function and in pin configuration. Because of
its simple programming requirements, the S3P72N4 is ideal for use as an evaluation chip for the S3C72N4.
Table 15-1. Pin Descriptions Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
V
LC1
SDAT7I/OSerial data pin. Output port when reading and
input port when writing. Can be assigned as a
Input / push-pull output port.
V
LC2
TEST
SCLK8I/OSerial clock pin. Input only pin.
13IPower supply pin for EPROM cell writing
V
PP
(TEST)
(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)
RESETRESET
V
DD
/ V
SS
VDD / V
SS
16IChip initialization
9/10I
Logic power supply pin. VDD should be tied to
+5 V during programming.
Table 15-2. Comparison of S3P72N4 and S3C72N2/C72N4 Features
CharacteristicS3P72N4S3C72N2/C72N4
Program Memory4-Kbyte EPROM2-K / 4-Kbyte mask ROM
Operating Voltage (VDD)
OTP Programming Mode
2.0 V to 5.5 V at 4.19 MHz
1.8 V to 5.5 V at 3 MHz
VDD = 5 V, VPP (TEST) = 12.5 V
2.0 V to 5.5 V at 4.19 MHz
1.8 V to 5.5 V at 3 MHz
–
Pin Configuration64 QFP64 QFP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the Vpp (TEST) pin of the S3P72N4, 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 15-3 below.
1.D.C. electrical values for supply current (I
and through LCD voltage dividing resistors.
2.Data includes the power consumption for sub-system clock oscillation.
3.When the system clock mode register, SCMOD, is set to 0100B, the sub-system clock oscillation stops. The main system clock oscillation stops by the STOP instruction.
15-6
DD1
to I
) do not include current drawn through internal pull-up resistors
DD6
Page 28
S3C72N2/C72N4/P72N4S3P72N4 OTP
CPU CLOCK
1.5 MHz
1.0475 MHz
750 kHz
500 kHz
250 kHz
15.6 kHz
1
CPU CLOCK = 1/n x oscillator frequency (n = 4, 8, 64)
2 34 5 6 7
SUPPLY VOLTAGE (V)
Figure 15-2. Standard Operating Voltage Range
Main OSC. Freq.
6 MHz
4.19 MHz
3 MHz
15-7
Page 29
S3P72N4 OTPS3C72N2/C72N4/P72N4
I
OL
(mA)
35.00
V
= 5.5 V
DD
VDD= 4.5 V
3.500/div
V
= 3.3 V
DD
V
= 2.2 V
DD
.0000
.0000.2000/div
Figure 15-3. Port 2 IOL vs VOL Curve
V
2.000
L (V)
O
15-8
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.