Samsung's SAM88RCRI family of 8-bit single-chip CMOS microcontrollers offer fast and efficient CPU, a wide
range of integrated peripherals, and supports OTP device.
A dual address/data bus architecture and bit- or nibble-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.
S3C921F/P921F MICROCONTROLLER
The S3C921F can be used for dedicated control functions in a variety of applications, and is especially designed
for application with voice synthesizer or etc.
The S3C921F/P921F single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built
around the powerful SAM88RCRI CPU core.
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 S3C921F/P921F has 64 Kbytes of
program ROM and 192 Kbytes of data ROM on-chip (S3C921F), and 720 bytes of RAM including 16 bytes of
working register and 128 bytes of LCD display RAM.
Using the SAM88RCRI design approach, the following peripherals were integrated with the SAM88RCRI core:
— Four configurable I/O ports including ports shared with segment/common drive outputs
— 8-bit programmable pins for external interrupts
— One 8-bit basic timer for oscillation stabilization and watch-dog functions
— One 8-bit and one 16-bit timer/counter with selectable operating modes
— Watch timer for real time
— Two PWM modules for direct speaker drive
OTP
The S3C921F microcontroller is also available in OTP (One Time Programmable) version. S3P921F
microcontroller has an on-chip 256 Kbyte one-time-programmable EPROM instead of masked ROM. The
S3P921F is comparable to S3C921F, both in function and in pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C921F/P921F
FEATURES
CPU
•SAM88RCRI CPU core
Memory
•64K × 8 bits program memory(ROM)
•192K × 8 bits data memory(ROM)
•592 × 8 bits data memory(RAM)
(Excluding LCD data memory)
Instruction Set
•41 instructions
•Idle and Stop instructions added for power-down
modes
32 I/O Pins
•I/O: 8 pins
•I/O: 24 pins(Sharing with segment drive outputs)
Interrupts
•15 interrupt source and 1 vector
•One interrupt level
8-Bit Basic Timer
•Watchdog timer function
•3 kinds of clock source
One 8-Bit Timer/Counter 0
•Programmable interval timer
•External event counter function
•PWM and Capture function
LCD Controller/Driver
•64 segments and 16 common terminals
•8, 12, and 16 common selectable
•Internal resistor circuit for LCD bias
Two PWM Modules
•5/6/7/8-bits PWM Selectable
•Direct speaker drive
•2-bit extendable
Voltage Level Detector
•Programmable low voltage detector
•Two criteria voltage(2.7 V, 4.0 V)
Two Power-Down Modes
•Idle: only CPU clock stops
•Stop: selected system clock and CPU clock stop
Oscillation Sources
•Crystal, ceramic, or RC for main clock
•Main clock frequency: 0.4 MHz - 8MHz
•32.768 kHz crystal oscillation circuit for
sub clock
Instruction Execution Times
•500nS at 8 MHz fx(minimum)
Operating Voltage Range
•2.4 V to 5.5 V at 0.4 - 3MHz
•2.7 V to 5.5 V at 0.4 - 4MHz
One 16-bit Timer/Counter 1
•One 16-bit Timer/Counter mode
•Two 8-bit Timer/Counters A/B mode
Watch Timer
•Interval time: 3.91mS, 0.25S, 0.5S, and 1S
at 32.768 kHz
BUZ
T0CK
T0
T1CK
TA
TB
COM0-COM7
COM8-COM15
SEG0-SEG47
SEG48-SEG55
SEG56-SEG63
Type
I/O
I/O
I/O
I/O
O
I
I/O
I/O
I/O
I/O
I/O
I/O
I/O
O
I/O
O
I/O
Pin DescriptionCircuit
I/O port with bit-programmable pins;
Schmitt trigger input or push-pull, opendrain output and software assignable pullups;
Alternately used for external interrupt
input(noise filters, interrupt enable and
pending control).
I/O port with nibble-programmable pins;
Schmitt trigger input or push-pull, open-
Number
E-223, 24
H-938 - 31COM8-
Pin
Numbers
25
26
27
28
29
30
Share
Pins
INT
BUZ/INT
T0CK/INT
T0/INT
T1CK/INT
TA/INT
TB/INT
COM15
drain output and software assignable pullups.
I/O port with bit-programmable pins;
Schmitt trigger input or push-pull, open-
H-846 - 39SEG56-
SEG63
drain output and software assignable pullups.
I/O port with nibble-programmable pins;
Schmitt trigger input or push-pull output
H-1054 - 47SEG48-
SEG55
and software assignable pull-ups.
PWM output pins.C13
–
14
LCD power supply pin.–11–
External interrupt input pins.E-223, 24
25
26
27
28
29
30
P1.0, P1.1
P1.2/BUZ
P1.3/T0CK
P1.4/T0
P1.5/T1CK
P1.6/TA
P1.7/TB
Output pin for buzzer signal.E-225P1.2/INT
Timer 0 clock input.E-226P1.3/INT
Capture input or interval/PWM output.E-227P1.4/INT
Timer 1/A external clock input.E-228P1.5
Timer 1/A clock output.E-229P1.6
Timer B clock output.E-230P1.7
LCD common data outputs.H-410 - 3–
LCD common data outputs.H-938 - 31P2.0 - P2.7
LCD segment data outputs.H-52-1
–
100-55
LCD segment data outputs.H-10
H-8
54 - 47
46 - 39
P4.0 - P4.7
P3.0 - P3.7
1-5
Page 6
PRODUCT OVERVIEWS3C921F/P921F
Table 1-1. Pin Descriptions (Continued)
Pin NamesPin
Pin DescriptionCircuit
Type
RESET
XTIN,XT
XIN,X
OUT
OUT
ISystem reset pinB22–
–Crystal oscillator pins for sub clock.–20, 21
–Main oscillator pins.–18, 17
RC/X-tal–Main oscillator type selection pin
("High" for RC osc. and "Low" for X-tal)
TESTITest input: it must be connected to V
VDD,V
SS
–Power input pins–15, 16
SS
Number
–12
–19
Pin
Numbers
Share
Pins
–
–
–
–
–
1-6
Page 7
S3C921F/P921F 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-4. Pin Circuit Type B
VDD
P-Channel
Out
N-Channel
Schmitt Trigger
Figure 1-5. Pin Circuit Type A-3
Figure 1-6. Pin Circuit Type C
1-7
Page 8
PRODUCT OVERVIEWS3C921F/P921F
VDD
Pull-up
VDD
Open-Drain
P-CH
Resistor
Resistor
Enable
Data
Output
Disable
External
Interrupt
Input
Noise
Filter
Figure 1-7. Pin Circuit Type E-2
Resistor
Enable
I/O
N-CH
VDD
Pull-up
Resistor
P-Channel
1-8
Data
Output
Disable
Circuit
Type C
Figure 1-8. Pin Circuit Type E-3
I/O
Page 9
S3C921F/P921F PRODUCT OVERVIEW
VLC1
VLC2
COM Data
VLC5
VSS
VLC1
VLC3
Out
Figure 1-9. Pin Circuit Type H-4
SEG Data
VLC4
VSS
Out
Figure 1-10. Pin Circuit Type H-5
1-9
Page 10
PRODUCT OVERVIEWS3C921F/P921F
VLC1
VLC2
COM
Output
Disable
VLC5
VSS
VLC1
VLC3
SEG
Output
Disable
VLC4
VSS
Figure 1-11. Pin Circuit Type H-6
Out
1-10
Figure 1-12. Pin Circuit Type H-7
Page 11
S3C921F/P921F PRODUCT OVERVIEW
VDD
Pull-up
VDD
Open-Drain
P-CH
Resistor
Resistor
Enable
Data
Output Disable 1
Output Disable 2
Open-Drain
N-CH
SEG
Circuit
Type H-7
Figure 1-13. Pin Circuit Type H-8
VDD
P-CH
I/O
VDD
Pull-up
Resistor
Resistor
Enable
Data
Output Disable 1
Output Disable 2
N-CH
COM
Circuit
Type H-6
Figure 1-14. Pin Circuit Type H-9
I/O
1-11
Page 12
PRODUCT OVERVIEWS3C921F/P921F
VDD
Pull-up
VDD
P-CH
Resistor
Resistor
Enable
Data
Output Disable 1
Output Disable 2
N-CH
SEG
Circuit
Type H-7
Figure 1-15. Pin Circuit Type H-10
I/O
1-12
Page 13
S3C921F/P921FELECTRICAL DATA
17ELECTRICAL DATA
OVERVIEW
In this chapter, S3C921F electrical characteristics are presented in tables and graphs. The information is
arranged in the following order:
— Absolute maximum ratings
— D.C. electrical characteristics
— Data retention supply voltage in Stop mode
— Stop mode release timing when initiated by an external interrupt
— Stop mode release timing when initiated by a Reset
— I/O capacitance
— A.C. electrical characteristics
— Input timing for external interrupts (port 1)
— Input timing for RESET
— Oscillation characteristics
— Oscillation stabilization time
17-1
Page 14
ELECTRICAL DATAS3C921F/P921F
Table 17-1. Absolute Maximum Ratings
(TA = 25°C)
ParameterSymbolConditionsRatingUnit
Supply voltageV
Input voltageV
Output voltageV
Output current
I
DD
IN
OH
Ports 1, 2, 3 and 4– 0.3 toVDD + 0.3V
O
All output pins– 0.3 to VDD + 0.3V
One I/O pin active– 18mA
1. Supply current does not include current drawn through internal pull-up resistors, PWM, or external output current loads.
2. I
3. I
4.Every values in this table is measured when bits 4-3 of the system clock control register (CLKCON.4-.3) is set to 11B.
DD1
DD3
and I
and I
include power consumption for sub clock oscillation.
DD2
are current when main clock oscillation stops and the sub clock is used.
DD4
17-5
Page 18
ELECTRICAL DATAS3C921F/P921F
Table 17-3. Data Retention Supply Voltage in Stop Mode
(TA = – 40 °C to + 85 °C)
ParameterSymbolConditionsMinTypMaxUnit
Data retention supply
V
DDDR
–
2.2–5.5V
voltage
Data retention supply
current
Oscillator stabilization
wait time
NOTES:
1.fx is the main oscillator frequency.
2.The duration of the oscillation stabilization time (t
the setting in the basic timer control register, BTCON.
I
DDDR
t
WAIT
Stop mode,
V
=2.2 V
DDDR
Released by RESET
Released by interrupt–
) when it is released by an interrupt is determined by
WAIT
––1µA
–
216/fx
(2)
(1)
–ms
–
Idle Mode
(Basic Timer Active)
~
VDD
Interrupt
Request
~
~
~
Execution of
STOP Instruction
Stop Mode
Data Retention Mode
VDDDR
Normal
Operating Mode
0.8 VDD
tWAIT
Figure 17-1. Stop Mode Release Timing When Initiated by an External Interrupt
17-6
Page 19
S3C921F/P921FELECTRICAL DATA
VDD
RESET
~
~
~
~
Execution of
STOP Instrction
Stop Mode
Data Retention Mode
VDDDR
RESET
Occurs
tSRL
0.2 VDD
Oscillation
Stabilization
TIme
0.7 VDD
tWAIT
Figure 17-2. Stop Mode Release Timing When Initiated by a RESETRESET
Normal
Operating Mode
17-7
Page 20
ELECTRICAL DATAS3C921F/P921F
Table 17-4. Input/Output Capacitance
(T
= – 40°C to + 85°C, V
A
DD
=0 V)
ParameterSymbolConditionsMinTypMaxUnit
Input
capacitance
Output
C
C
OUT
IN
f = 1 MHz; unmeasured pins
are connected to V
SS
––10pF
capacitance
I/O capacitanceC
IO
Table 17-5. A.C. Electrical Characteristics
(T
= – 40°C to + 85°C)
A
ParameterSymbolConditionsMinTypMaxUnit
Interrupt input,
High, Low width
RESET input Low
width
t
INTH
t
INTL
t
RSL
,
P1.0 – P1.7
V
= 5 V
DD
Input
VDD = 5 V
150200–ns
10––
µs
External
Interrupt
tINTHtINTL
0.8 VDD
0.2 VDD
NOTE:The unit tCPU means one CPU clock period.
Figure 17-3. Input Timing for External Interrupts (P1.0–P1.7)
tRSL
RESET
0.2 VDD
17-8
Figure 17-4. Input Timing for RESETRESET
Page 21
S3C921F/P921FELECTRICAL DATA
Table 17-6. Main Oscillation Characteristics
(TA = – 40°C + 85°C)
OscillatorClock
Configuration
Ceramic
XIN
XOUT
Oscillator
C1C2
Crystal
XIN
XOUT
Oscillator
C1C2
ParameterTest ConditionMinTypMaxUnits
Oscillation frequency
Stabilization time
(2)
Oscillation frequency
Stabilization time
(2)
(1)
RC/X-tal = 0 V0.4–8.0MHz
Stabilization occurs
––4ms
when VDD is equal to
the minimum
oscillator voltage
range.
(1)
RC/X-tal = 0 V0.4–8.0MHz
VDD = 4.5 V to 5.5 V––10ms
VDD = 1.8 V to 5.5 V––30
External
XINXOUT
XIN input frequency
(1)
RC/X-tal = 0 V0.4–8.0MHz
Clock
XIN input high and low
–62.0–1250ns
level width (tXH, tXL)
RC
XINXOUT
Frequency
Oscillator
R
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.
input frequency data are for oscillator characteristics only.
IN
(1)
VDD = 2.7 V to 5.5 V
RC/X-tal = V
DD
VDD = 2.4 V to 5.5 V
RC/X-tal = V
DD
–4–MHz
–2–
17-9
Page 22
ELECTRICAL DATAS3C921F/P921F
1/fx
tXtXL
XIN
VDD-0.1 V
0.1 V
Figure 17-5. Clock Timing Measurement at X
IN
17-10
Page 23
S3C921F/P921FELECTRICAL DATA
Table 17-7. Sub Oscillation Characteristics
(TA = – 40°C + 85°C, VDD = 2.4 V to 5.5 V)
OscillatorClock
ParameterTest ConditionMinTypMaxUnits
Configuration
Crystal
XTIN
XTOUT
Oscillation frequency
(1)
–3232.76835kHz
Oscillator
C1C2
Stabilization time
(2)
VDD = 4.5 V to 5.5 V–1.02s
VDD = 2.4 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–15us
XTIN
1/fxt
tXTHtXTL
VDD-0.1 V
0.1 V
Figure 17-6. Clock Timing Measurement at XT
IN
17-11
Page 24
ELECTRICAL DATAS3C921F/P921F
Table 17-8. PWM0/PWM1 Electrical Characteristics
( TA = – 40 °C + 85 °C)
ParameterSymbolConditionsMinTypMaxUnit
PWM Output
V
PWM0
VDD = 2.4 VI
= –8mAVDD – 0.5––V
PWMh0
Voltage
I
= 15 mA–0.5
PWMl0
V
PWM1
V
PWM2
V
PWM3
VDD = 2.4 VI
VDD = 2.4 VI
VDD = 2.4 VI
= –12mAVDD – 0.5–
PWMh1
I
= 20 mA–0.5
PWMl1
= –16mAVDD – 0.5–
PWMh2
I
= 25 mA–0.5
PWMl2
= –20mAVDD – 0.5–
PWMh3
I
= 30 mA–0.5
PWMl3
Table 17-9. VLD Electrical Characteristics
(T
= – 40 °C to + 85 °C, VDD = 2.4 V to 5.5 V)
A
ParameterSymbolConditionsMinTypMaxUnit
VLD VoltageV
VLD
BLDCON.4 = 0B2.42.73.0V
BLDCON.4 = 1B3.74.04.3
VLD Circuit Response
TBfw = 32.768 kHz––1.0mS
Time
VLD Operating CurrentIBL–50100uA
17-12
Page 25
S3C921F/P921FELECTRICAL DATA
fx
(Main oscillation
Clock
frequency)
8.32 kHz
2 MHz
1.0 MHz
750 kHz
126
2.4 2.7
Supply Voltage (V)
Instruction Clock = 1/4n x oscillator frequency (n = 1, 2, 8, 16)
5.5
4.5
Figure 17-7. Operating Voltage Range
8 MHz
4 MHz
3 MHz
400 kHz
17-13
Page 26
S3C921F/P921F MECHANICAL DATA
18MECHANICAL DATA
OVERVIEW
The S3C921F microcontroller is currently available in a 100-pin QFP package.
23.90± 0.30
17.90 ± 0.30
14.00 ± 0.20
#100
0.65
#1
20.00 ± 0.20
100-QFP-1420C
+ 0.10
- 0.05
0.30
0.15 MAX
(0.58)
0-8
+ 0.10
- 0.05
0.15
0.10 MAX
0.80 ± 0.20
0.05 MIN
2.65
± 0.10
NOTE: Dimensions are in millimeters.
Figure 19-1. 100-QFP-1420C Package Dimensions
3.00 MAX
0.80 ± 0.20
18-1
Page 27
S3C921F/P921F S3P921F OTP
19S3P921F OTP
OVERVIEW
The S3P921F single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the S3C921F
microcontroller. It has an on-chip OTP ROM instead of a masked ROM. The EPROM is accessed by serial data
format.
The S3P921F is fully compatible with the S3C921F, both in function in D.C. electrical characteristics and in pin
configuration. Because of its simple programming requirements, the S3P921F is ideal as an evaluation chip for
the S3C921F.
Table 19-1. Descriptions of Pins Used to Read/Write the EPROM
Main ChipDuring Programming
Pin NamePin NamePin No.I/OFunction
PWM0SDAT13I/OSerial data pin. Output port when reading and
input port when writing. Can be assigned as a
Input/push-pull output port.
PWM1SCLK14ISerial clock pin. Input only pin.
TEST
V
PP
19IPower 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
22IChip Initialization
15/16–
Logic power supply pin. V
should be tied to
DD
+5 V during programming.
Table 19-2. Comparison of S3P921F and S3C921F Features
CharacteristicS3P921FS3C921F
Program Memory64-Kbyte EPROM64-Kbyte mask ROM
Data Memory192-Kbyte EPROM192-Kbyte mask ROM
Operating Voltage (VDD)
OTP Programming Mode
2.4 V to 5.5 V2.4 V to 5.5 V
VDD = 5 V, V
(EA) = 12.5 V
PP
Pin Configuration100 QFP100 QFP
EPROM ProgrammabilityUser Program 1 timeProgrammed at the factory
OPERATING MODE CHARACTERISTICS
When 12.5 V is supplied to the VPP (EA) pin of the S3P921F, 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 21-3 below.
Table 19-3. Operating Mode Selection Criteria
VDDVPP
(EA)
REG/
MEMMEM
Address
(A17–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.
19-3
Page 30
S3P921F OTPS3C921F/P921F
fx
(Main oscillation
Clock
frequency)
2 MHz
1.0 MHz
750 kHz
8.32 kHz
126
2.4 2.7
Supply Voltage (V)
Instruction Clock = 1/4n x oscillator frequency (n = 1, 2, 8, 16)
5.5
4.5
Figure 19-2. Operating Voltage Range
8 MHz
4 MHz
3 MHz
400 kHz
19-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.