The S3C72K8 singl-chip CMOS microcontroller has been designed for high performance using Samsung's
newest 4-bit CPU core, SAM48 (Samsung Arrageable Microcontrollers). With a two-channel comparator, up-to320-dot LCD direct drive capability, 8-bit timer/counter, watchdog timer and serial I/O, the S3C72K8 offers an
excellent design solution for a wide variety of applications which require LCD functions.
Up to 27 pins of the 80-pin QFP package can be dedicated to I/O. Seven vectored interrupts provide fast
response to internal and external events. In addition, the S3C72K8's advanced CMOS technology provides for
low power consumption and a wide operating voltage range.
OTP
The S3C72K8 microcontroller is also available is OTP (one time programmable) version, S3P72K8.
S3P72K8 microcontroller has an one-chop 8 Kbyte one time programmable EPROM instead of masked ROM.
The S3P72K8 is comparable to S3C72K8, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWS3C72K8/P72K8
FEATURES
Memory
— 8 K × 8-bit RAM
— 1,024 × 4-bit ROM
27 I/O Pins
— Input only: 4 pins
— I/O: 15 pins
— Output: maximum 8 pins for 1-bit level output
(sharing with segment driver outputs)
Comparator
— Two channel mode: internal reference
(4-bit resolution)
— One channel mode: external reference
LCD Controller/Driver
— 40 segments and 8 common terminals
— 3, 4 and 8 common selectable
— Internal resistor circuit for LCD bias
— All dot can be switched on/off
8-Bit Basic Timer
— 4 interval timer functions
— Watchdog timer
8-Bit Timer/Counter
— Programmable 8-bit timer
— External event counter
— Arbitrary clock frequency output
— External clock signal divider
— Serial I/O interface clock generator
8-Bit Serial I/O Interface
— 8-bit transmit/receive mode
Watch Timer
— Timer interval generation:
0.5 s, 3.9 ms at 32,768 Hz
— Four frequency outputs to BUZ pin
— Clock source generation for LCD
Interrupts
— Three internal vectored interrupts:
INTB, INTT0, INTS
— Four external vectored interrupts:
INT0, INT1, INT4, INTK
— Two quasi-interrupts: INT2, INTW
Memory-Mapped I/O Structure
— Data memory bank 15
Two Power-Down Modes
— Idle mode (only CPU clock stops)
— Stop mode (main system oscillation stops)
— Subsystem clock stop mode
Oscillation Sources
— Crystal, ceramic, or External RC for system clock
— Main system clock frequency: 0.4 MHz–6 MHz
— Subsystem clock frequency: 32,768 kHz
— CPU clock divider circuit (by 4, 8, or 64)
Instruction Execution Times
— 0.67 us at 6 MHz (minimum)
— 0.95 µs at 4.19 MHz (minimum)
— 122 µs at 32,768 kHz (minimum)
Operating Temperature
— – 40 °C to 85 °C
— 8-bit receive only mode
— LSB-first or MSB-first transmission selectable
— Internal or external clock source
Bit Sequential Carrier
— Support 16-bit serial data transfer in arbitrary
1-bit or 4-bit read/write and test is possible.
Individual pins are software configurable as input or
output.
DescriptionCircuit
Type
E–2 8
Pin
Number
9
10
11
Share Pin
K0/SCK
K1/SO
K2/SI
K3/BUZ
Individual pins are software configurable as opendrain or push-pull output.
4-bit pull-up resistors are software assignable; pull-up
resistors are automatically disabled for output pins.
P1.0
P1.1
P1.2
P1.3
I4-bit input port.
1-bit or 4-bit read and test are possible.
The 1-bit unit pull-up resistors are assigned to input
pins by software.
F–4
F–4
A–3
A–3
20
21
22
23
INT0/CIN0
INT1/CIN1
INT2
INT4
An interrupt is generated by digital input at P1.0,
P1.1.
P2.0–P2.3I/OSame as port 0 except that 8-bit read/write and test is
E–224–27–
possible.
P3.0
P3.1
P3.2
P3.3
P4.0
I/OSame as port 0 except that port 4 is 3-bit I/O port.E–232
P4.1
P4.2
P5.0–P5.7OOutput port for 1-bit dataH–1175–
SCK
I/OSerial I/O interface clock signalE–28P0.0/K0
28
29
30
31
33
34
80,1,2
–
–
LCDSY
LCDCK
CLO
TCL0
TCLO0
SEG32–
SEG39
SOI/OSerial data outputE–29P0.1/K1
SII/OSerial data inputE–210P0.2/K2
BUZI/O2 KHz, 4 KHz, 8 KHz or 16 KHz frequency output at
E–211P0.3/K3
the watch timer clock frequency of 32.768 kHz.
K0–K3I/OExternal interrupt. The triggering edge is selectable.E–28–11P0.0–P0.3
INT0
INT1
INT2IQuasi-interrupt with detection of rising or falling
IExternal interrupts. The triggering edge for INT0 and
INT1 is selectable.
F–420
21
P1.0/CIN0
P1.1/CIN1
A–322P1.2
edges
INT4IExternal interrupts with detection of rising and falling
A–323P1.3
edges
1-5
PRODUCT OVERVIEWS3C72K8/P72K8
Table 1-1. S3C72K8 Pin Descriptions (Continued)
Pin NamePin
Type
CIN0
I2-channel comparator input.
CIN1
CIN0: comparator input or external reference input
DescriptionCircuit
Type
F–420
Pin
Number
21
Share Pin
P1.0/INT0
P1.1/INT1
CIN1: comparator input only.
LCDSYI/OLCD synchronization clock output for display
E–230P3.2
expansion
LCDCKI/OLCD clock output for display expansionE–231P3.3
CLOI/OClock outputE–232P4.0
TCL0I/OExternal clock input for timer/counter 0E–233P4.1
TCLO0I/OTimer/counter 0 clock outputE–234P4.2
SEG32–
SEG39
SEG0–
OLCD segment signal outputH–1175–
P5.0–P5.7
80,1,2
OLCD segment signal outputH–643–74–
SEG31
COM0–
OLCD common signal outputH–635–42–
COM7
V
LC1–VLC5
–LCD power supply. Voltage dividing resistors are
–3–7–
assignable by mask option.
X
X
,
IN
OUT
–Crystal, ceramic or RC oscillator pins for system
–15, 14–
clock.
XT
IN
XT
OUT
V
DD
V
SS
RESET
,
–Crystal oscillator pins for subsystem clock.–17, 18–
–Main power supply–12–
–Ground–13–
IChip reset signal inputB19–
TESTIChip test signal input (must be connected to VSS)–16–
NOTE: Pull-up resistors for all I/O ports are automatically disabled if they are configured to output mode
1-6
S3C72K8/P72K8 PRODUCT OVERVIEW
PIN CIRCUIT DIAGRAMS
VDD
P-Channel
In
N-Channel
Figure 1-3. Pin Circuit Type A
VDD
Pull-Up
Resistor
P-Channel
In
Pull-Up
Resistor
Enable
Data
Output
Disable
VDD
Pull-Up
Resistor
In
Schmitt Trigger
Figure 1-5. Pin Circuit Type B
VDD
P-Channel
Out
N-Channel
Schmitt Trigger
Figure 1-4. Pin Circuit Type A-3
Figure 1-6. Pin Circuit Type 7
1-7
PRODUCT OVERVIEWS3C72K8/P72K8
VDD
Data
Output
Disable
PNE
Schmitt Trigger
VDD
Figure 1-7. Pin Circuit Type E-2
Pull-up
Resistor
Resistor
Enable
P-CH
I/O
N-CH
VDD
Resistor Enable
Schmitt Trigger
Digital In
EXT-REF
(P1.0 only)
Analog In
Comparator
Digital or Analog Selectable
by Software (P1MOD)
Figure 1-8. Pin Circuit Type F-4
Pull-up
Resistor
I/O
+
-
INT-REF
1-8
S3C72K8/P72K8 PRODUCT OVERVIEW
VDD
VLC1
VLC2
SEG/COM Data
Output Disable
VLC3
VLC4
VLC5
Out
Figure 1-9. Pin Circuit Type H-5
1-9
PRODUCT OVERVIEWS3C72K8/P72K8
VDD
VLC1
VLC2
SEG/COM
VLC3
VLC4
VLC5
Figure 1-10. Pin Circuit Type H-6
VDD
P-CH
Data
Out
Out
1-10
Output Disable 1
SEG
Output Disable 2
Figure 1-11. Pin Circuit Type H-11
Circuit
Type H-5
N-CH
N-CH
S3C72K8/P72K8ELECTRICAL DATA
15ELECTRICAL DATA
OVERVIEW
In this section, information on S3C72K8 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
— Comparator electrical characteristics
— A.C. electrical characteristics
— Operating voltage range
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
Miscellaneous Timing Waveforms
— A.C timing measurement points
— Clock timing measurement at X
— Clock timing measurement at XT
— TCL timing
— Input timing for RESET signal
— Input timing for external interrupts
— Serial data transfer timing
IN
IN
15-1
ELECTRICAL DATAS3C72K8/P72K8
Table 15-1. Absolute Maximum Ratings
(T
= 25 °C)
A
ParameterSymbolConditionsRatingUnits
Supply VoltageV
Input VoltageV
Output VoltageV
Output Current HighI
DD
I1
O
OH
All I/O pins active– 0.3 to V
One I/O pin active– 15mA
–– 0.3 to + 6.5V
+ 0.3V
DD
–– 0.3 to VDD + 0.3V
All I/O pins active– 35
Output Current LowI
OL
One I/O pin active+ 30 (Peak value)mA
(note)
+ 15
All I/O port, total+ 100 (Peak value)
(note)
+ 60
Operating TemperatureT
Storage TemperatureT
A
stg
–– 40 to + 85°
–– 65 to + 150°
C
C
NOTE: The values for Output Current Low ( IOL ) are calculated as Peak Value × Duty .
15-2
S3C72K8/P72K8ELECTRICAL DATA
Table 15-2. D.C. Electrical Characteristics
(T
= – 40 °C to + 85 °C, VDD = 2.0 V to 5.5 V)
A
ParameterSymbolConditionsMinTypMaxUnits
Input High
V
Ports 2, 3, P4.0 and P4.20.7 V
IH1
DD
–V
DD
V
Voltage
Input Low
V
V
V
Ports 0, 1, P4.1 and RESET
IH2
XIN, X
IH3
Ports 2, 3, P4.0 and P4.2––0.3 V
IL1
OUT
and XT
IN
0.8 V
DD
V
– 0.1V
DD
V
DD
DD
DD
V
Voltage
Output High
Voltage
V
V
V
IL2
IL3
OH1
Ports 0, 1, P4.1 and RESET
XIN, X
OUT
and XT
IN
VDD = 4.5 V to 5.5 V
IOH = – 3 mA
V
DD
– 2.0V
– 0.4–V
DD
0.2 V
0.1
DD
Ports 0, 2, 3 and 4
V
OH2
VDD = 4.5 V to 5.5 V
V
– 2.0––
DD
IOH = – 100 µA
Ports 5
Output Low
Voltage
V
OL1
V
= 4.5 V to 5.5 V
DD
IOL = 15 mA
–0.42V
Input High
Leakage
Current
Input Low
Leakage
Current
Output High
Leakage
Current
Output Low
Leakage
Current
V
I
LIH1
I
LIH2
I
LIL1
I
LIL2
I
LOH
I
LOL
OL2
Ports 0, 2, 3 and 4
VDD = 4.5 V to 5.5 V
IOH = – 100 µA
1.Currents in the following circuits are not included; on-chip pull-up resistors, internal LCD voltage dividing resistors,
output port drive currents, comparator.
2.Data includes power consumption for subsystem clock oscillation.
3.When the system clock control register, SCMOD, is set to 1001B, main system clock oscillation stops and the
subsystem clock is used.
4.Every values in this table is measured when the power control register (PCON) is set to "0011B".
0.12
15-5
ELECTRICAL DATAS3C72K8/P72K8
Table 15-3. Main System Clock Oscillator Characteristics
(T
= – 40 °C + 85 °C, VDD = 2.0 V to 5.5 V)
A
OscillatorClock
ParameterTest ConditionMinTypMaxUnits
Configuration
Ceramic
XIN
XOUTOscillation frequency
(1)
–0.4–6.0MHz
Oscillator
C1C2
Crystal
Oscillator
External
Clock
Stabilization time
XIN
XOUTOscillation frequency
C1C2
Stabilization time
XINXOUTX
input frequency
IN
XIN input high and low
level width (tXH, tXL)
(2)
(2)
Stabilization occurs
––4ms
when VDD is equal to
the minimum
oscillator voltage
range.
(1)
–0.4–6.0MHz
VDD = 4.5 V to 5.5 V––10ms
VDD = 2.7 V to 4.5 V––30
(1)
–0.4–6.0MHz
–83.3–1250ns
RC
Oscillator
XINXOUT
R
Frequency
R = 10 kΩ,
VDD = 5 V
R = 30 kΩ,
–2–MHz
–1–
VDD = 3 V
NOTES:
1.Oscillation frequency and X
2.Stabilization time is the interval required for oscillating stabilization after a power-on occurs, or when stop mode is
terminated.
15-6
input frequency data are for oscillator characteristics only.
VDD = 4.5 V to 5.5 V–1.02s
VDD = 2.0 V to 4.5 V––10
External
XTINXT
OUT
XTIN input frequency
(1)
–32–100kHz
Clock
XTIN input high and low
level width (t
NOTES:
1.Oscillation frequency and XT
2.Stabilization time is the interval required for oscillating stabilization after a power-on occurs.
input frequency data are for oscillator characteristics only.
IN
XTL
, t
XTH
)
–5–15
µs
15-7
ELECTRICAL DATAS3C72K8/P72K8
Table 15-5. Input/Output Capacitance
(TA = 25 °C, V
DD
=0 V )
ParameterSymbolConditionMinTypMaxUnits
Input
Capacitance
Output
C
C
OUT
IN
f = 1 MHz; Unmeasured
pins are returned to V
SS
––15pF
––15pF
Capacitance
I/O CapacitanceC
IO
––15pF
Table 15-6. Comparator Electrical Characteristics
(T
= – 40 °C + 85 °C, V
A
= 4.0 V to 5.5 V)
DD
ParameterSymbolConditionMinTypMaxUnits
Input Voltage Range––0–V
Reference Voltage RangeV
Input Voltage AccuracyV
Input Leakage CurrentI
CIN
REF
CIN
, I
REF
0V
–
– 33
DD
DD
± 150
V
V
mV
µA
15-8
S3C72K8/P72K8ELECTRICAL DATA
Table 15-7. A.C. Electrical Characteristics
(T
= – 40 °C to + 85 °C, V
A
= 2.0 V to 5.5 V)
DD
ParameterSymbolConditionsMinTypMaxUnits
Instruction Cycle
(note)
Time
t
CY
V
= 2.7 V to 5.5 V0.67–64
DD
µs
VDD = 2.0 V to 5.5 V0.95–64
With subsystem clock (fxt)114122125
TCL0 Input
f
TI0
, f
TI1
V
= 2.7 V to 5.5 V0–1.5MHz
DD
Frequency
VDD = 2.0 V to 5.5 V1
TCL0 Input High,
Low Width
SCK Cycle Time
SCK High, Low
Width
SI Setup Time to
SCK High
SI Hold Time to
SCK High
t
TIH0
t
TIH1
tKH, t
t
KCY
t
SIK
t
KSI
, t
, t
TIL0
TIL1
V
= 2.7 V to 5.5 V0.48––
DD
µs
VDD = 2.0 V to 5.5 V1.8
V
= 2.7 V to 5.5 V
DD
800––ns
External SCK source
Internal SCK source
V
= 2.0 V to 5.5 V
DD
650
3200
External SCK source
Internal SCK source
V
= 2.7 V to 5.5 V
KL
DD
3800
325––ns
External SCK source
t
Internal SCK source
VDD = 2.0 V to 5.5 V
KCY
/2 – 50
1600
External SCK source
t
Internal SCK source
V
= 2.7 V to 5.5 V
DD
/2 – 150
KCY
100––ns
External SCK source
Internal SCK source
VDD = 2.0 V to 5.5 V
150
150
External SCK source
Internal SCK source
V
= 2.7 V to 5.5 V
DD
500
400––ns
External SCK source
Internal SCK source
VDD = 2.0 V to 5.5 V
400
600
External SCK source
Internal SCK source
500
NOTE: Unless otherwise specified, Instruction Cycle Time condition values assume a main system clock ( fx ) source.
15-9
ELECTRICAL DATAS3C72K8/P72K8
Table 15-7. A.C. Electrical Characteristics (Continued)
(T
= – 40 °C to + 85 °C, V
A
= 2.0 V to 5.5 V)
DD
ParameterSymbolConditionsMinTypMaxUnits
Output Delay for
SCK to SO
t
KSO
V
= 2.7 V to 5.5 V
DD
External SCK source
Internal SCK source
V
= 2.0 V to 5.5 V
DD
––300ns
250
1000
External SCK source
1000
µs
µs
Interrupt Input
High, Low Width
RESET Input Low
t
INTH
t
RSL
, t
Internal SCK source
INT0, INT1, INT2, INT4,
INTL
10––
K0–K3
Input10––
Width
CPU Clock
1.5 MHz
1.05 MHz
15.6 kHz
Main Oscillator Frequency
(Divided by 4)
6 MHz
4.2 MHz
1234567
2.0 V 2.7 V
Supply Voltage (V)
CPU clock = 1/n x oscillator frequency (n = 4, 8 or 64)
Figure 15-1. Standard Operating Voltage Range
15-10
S3C72K8/P72K8ELECTRICAL DATA
Table 15-8. RAM Data Retention Supply Voltage in Stop Mode
(TA = – 40 °C to + 85 °C)
ParameterSymbolConditionsMinTypMaxUnit
Data retention supply voltageV
Data retention supply currentI
DDDR
DDDR
V
DDDR
–2.0–5.5V
= 2.0 V–0.110
µA
Release signal set timet
Oscillator stabilization wait
(1)
time
SREL
t
WAIT
Released by RESET
Released by interrupt–
NOTES:
1.During oscillator stabilization wait time, all CPU operations must be stopped to avoid instability during oscillator
start-up.
2.Use the basic timer mode register (BMOD) interval timer to delay execution of CPU instructions during the wait time.
–0––
–
17
2
/ fx
(2)
µs
–ms
–
15-11
ELECTRICAL DATAS3C72K8/P72K8
TIMING WAVEFORMS
Internal RESET
Operation
~
~
Stop Mode
Idle Mode
VDD
RESET
VDD
~
~
Execution of
STOP Instrction
Data Retention Mode
VDDDR
tWAIT
tSREL
Figure 15-2. Stop Mode Release Timing When Initiated By RESETRESET
Idle Mode
~
~
~
~
Execution of
STOP Instrction
Stop Mode
Data Retention Mode
VDDDR
tSREL
Normal Mode
Normal Mode
15-12
tWAIT
Power-down Mode Terminating Signal
(Interrupt Request)
Figure 15-3. Stop Mode Release Timing When Initiated By Interrupt Request
S3C72K8/P72K8ELECTRICAL DATA
0.8 VDD
Measurement
Points
0.2 VDD
0.8 VDD
0.2 VDD
Figure 15-4. A.C. Timing Measurement Points (Except for XIN and XTIN)
1/fx
tXHtXL
XIN
Figure 15-5. Clock Timing Measurement at X
IN
VDD - 0.1 V
0.1 V
XTIN
1/fxt
tXTHtXTL
Figure 15-6. Clock Timing Measurement at XT
VDD - 0.1 V
0.1 V
IN
15-13
ELECTRICAL DATAS3C72K8/P72K8
1/fTI
tTIHtTIL
TCL0
0.8 VDD
0.2 VDD
Figure 15-7. TCL Timing
tRSL
RESET
0.2 VDD
Figure 15-8. Input Timing for RESETRESET Signal
15-14
tINTHtINTL
INT0, 1, 2, 4,
K0 to K3
0.8 VDD
0.2 VDD
Figure 15-9. Input Timing for External Interrupts and Quasi-Interrupts
S3C72K8/P72K8ELECTRICAL DATA
tKCY
SCK
SI
SO
tKSO
tKL
tSIKtKSI
Input Data
Output Data
tKH
Figure 15-10. Serial Data Transfer Timing
0.8 VDD
0.2 VDD
0.8 VDD
0.2 VDD
15-15
S3C72K8/P72K8MECHANICAL DATA
16MECHANICAL DATA
OVERVIEW
The S3C72K8 microcontroller is currently available in a 80-pin QFP package.
23.90 ± 0.30
17.90 ± 0.30
14.00 ± 0.20
#80
0.80
#1
20.00 ± 0.20
80-QFP-1420C
0.35 + 0.10
0.15 MAX
(0.80)
0-8
+ 0.10
- 0.05
0.15
0.10 MAX
0.80 ± 0.20
0.05 MIN
2.65 ± 0.10
3.00 MAX
0.80 ± 0.20
NOTE: Dimensions are in millimeters.
Figure 16-1. 80-QFP-1420C Package Dimensions
16-1
S3C72K8/P72K8S3P72K8 OTP
17S3P72K8 OTP
OVERVIEW
The S3P72K8 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the S3C72K8
microcontroller. It has an on-chip OTP ROM instead of masked ROM. The EPROM is accessed by serial data
format.
The S3P72K8 is fully compatible with the S3C72K8, both in function and in pin configuration except ROM size.
Because of its simple programming requirements, the S3P72K8 is ideal for use as an evaluation chip for the
S3C72K8.
Table 17-1. Descriptions of Pins Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
P0.2SDAT10I/OSerial data pin. Output port when reading and
input port when writing. Can be assigned as a
Input/push-pull output port.
P0.3SCLK11ISerial clock pin. Input only pin.
TESTV
PP
16IPower 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)
RESETRESET
VDD/V
SS
VDD/V
SS
19IChip Initialization
12/13ILogic power supply pin. VDD should be tied to +5
V during programming.
Table 17-2. Comparison of S3P72K8 and S3C72K8 Features
CharacteristicS3P72K8S3C72K8
Program Memory8-Kbyte EPROM8-Kbyte mask ROM
Operating Voltage (VDD)2.0 V to 5.5 V2.0 V to 5.5 V
OTP Programming ModeVDD = 5 V, V
(TEST) = 12.5V
PP
Pin Configuration80 QFP80 QFP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the V
(TEST) pin of the S3P72K8, 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 17-3 below.
Table 17-3. Operating Mode Selection Criteria
V
DD
V
PP
(TEST)
REG/
MEM
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.
17-3
S3P72K8 OTPS3C72K8/P72K8
NOTES
17-4
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.