Samsung's new SAM88RC 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. Timer/counters with
selectable operating modes are included to support real-time operations. Many SAM88RC microcontrollers have
an external interface that provides access to external memory and other peripheral devices. The sophisticated
interrupt structure recognizes up to eight interrupt levels. Each level can have one or more interrupt sources and
vectors. Fast interrupt processing (within a minimum six CPU clocks) can be assigned to specific interrupt levels.
S3C84A4X MICROCONTROLLER
The S3C84A4 single-chip microcontroller is fabricated using a highly advanced CMOS process. Its design is
based on the powerful SAM88RC CPU core. Stop and Idle power-down modes were implemented to reduce
power consumption. The size of the internal register file is logically expanded, increasing the addressable on-chip
register space to 784 bytes. A flexible yet sophisticated external interface is used to access up to 64-Kbytes of
program and data memory. The S3C84A4 is a versatile microcontroller that is ideal for use in a wide range of
general-purpose applications such as CD-ROM/DVD-ROM drives.
Using the SAM88RC modular design approach, the following peripherals were integrated with the SAM88RC
CPU core:
— Three configurable 8-bit general I/O ports
— One 5-bit general I/O ports
— Two 8-bit timers with interval timer
— Two 16-bit timers/counters with PWM operating modes 8-bit or capture modes
— Voltage level detector circuit embedded.
— Two embedded chip selection pins (CS0–CS1) or normal I/O ports
— Two programmable 8-bit PWM modules with corresponding output pins
— A/D converter with 4 selectable input pins
OTP
The S3C84A4 microcontroller is also avaiable in OTP(One Time Programmable) version, S3P84A4.
The S3P84A4 microcontroller has an on-chip 4K-byte one-time-programmable EPROM instead of masked ROM.
The S3P84A4 is comparable to S3C84A4, both in function and in pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C84A4/P84A4
FEATURES
CPU
•SAM88RC CPU core
Memory
•784-byte internal register file
•4-Kbyte internal program memory
External Interface
•64K-byte external data memory
•64K-byte external program memory area
(ROMless)
•60K-byte external program memory and 4K-byte
internal program memory
•Automatic wait control function by software.
ADC
•Can be used as a general input/output port
•8-bit resolution four channels
8-bit Timers
•Two 8-bit timers with interval timer mode
(Timer A and B)
Interrupts
•Two edge-driven external interrupts
•Two level-driven external interrupts
•Fast interrupt mode processing
PWM
•Four output channels
(PWM0, PWM1, TCPWM, TDPWM)
•8-bit resolution with a 4-bit prescaler
(PWM0, PWM1)
P0.0–P0.7I/OBit programmable port; input or output mode
P1.0–P1.7I/OBit programmable port; input or output mode
P2.0–P2.7I/OGeneral I/O port with normal input or push-pull
P3.0–P3.4I/OGeneral I/O port with bit programmable pins.
Pin
Type
Pin
Description
selected by software; normal input or push-pull
Software assignable pull-up.
Alternately, P0.0–P0.3 can be use as a ADC input
port with 8-bit resolution.
selected by software ; normal input or push-pull.
Software assignable pull-up. Respectively, each pin
can serve as:
P1.0 / timer D clock input (TDCK)
P1.1 / timer C clock input (TCCK)
P1.2 / timer D capture input (TDCAP)
P1.3 / timer C capture input (TCCAP)
P1.4 / timer C out (TCOUT) / PWM out (TCPWM)
P1.5 / timer D out (TDOUT) / PWM out (TDPWM)
P1.6 / PWM0 output port
P1.7 / PWM1 output port
output. Software assignable pull-up.
Bit programmable;
Alternately, P2.0– P2.3 can be used as inputs for
external interrupts,INT0– INT3( with noise filter and
interrupt control). INT0/INT1 are level interrupts
Normal input or push-pull output with software
assignable pull-up. Input or output mode is
selectable by software. P3.0-P3.1 can alternately be
used as outputs of high address (A16,A17).
P3.2–P3.3 can alternately be used as outputs for
embedded chip selection output.
P3.0 / A16
P3.1 / A17
P3.2 / CS0
P3.3 / CS1
1.'Conversion time' is the time required from the moment a conversion operation starts until it ends.
2.I
is an operating current during A/D conversion.
ADC
17-7
Page 20
ELECTRICAL DATAS3C84A4/P84A4
VDD
Reference
R
Voltage
Input
10 pF
+
-
C
103
VDD
Analog
Input Voltage
C
101
VSS
NOTE:The symbol "R" signifies an offset resistor with a value of from 50 to 100.
If this resistor is omitted, the absolute accuracy will be maximum of 3 LSBs.
AVREF
S3C84A4
ADC0-ADC3
17-8
Figure 17-4. Recommended A/D Converter Circuit for Highest Absolute Accuracy
Table 17-8. Main Oscillator Clock Stabilization Time (t
ST1
)
(TA = -40°C + 85°C, VDD = 4.5 V to 5.5 V)
OscillatorTest ConditionMinTypMaxUnit
CrystalVDD = 4.5 V to 5.5 V––10ms
CeramicStabilization occurs when VDD is equal to the minimum
––4ms
oscillator voltage range.
External clockXIN input high and low level width (tXH, tXL)50––ns
NOTE: Oscillation stabilization time (t
frequency after a power-on occurs, or when Stop mode is ended by a RESET signal. The RESET should therefore
be held at low level until the t
) is the time required for the CPU clock to return to its normal oscillation
ST1
time has elapsed.
ST1
17-9
Page 22
ELECTRICAL DATAS3C84A4/P84A4
1 / f
OSC1
X
IN
Figure 17-6. Clock Timing Measurement at X
Table 17-9. Characteristics of Voltage Level Detect circuit
(TA = – 40°C + 85°C) When Power off
ParameterSymbolConditionsMinTypMaxUnit
Operating Voltage of VLDV
Detect VoltageV
Current consumptionI
DD
DET
VLD
t
XL
t
XH
IN
V
DD
– 0.5
0.4 V
V
–4.5–5.5V
–3.13.74.1V
VDD = 5.5 V–100200uA
(TA = – 40°C + 85°C) When Power on
ParameterSymbolConditionsMinTypMaxUnit
Operating Voltage of VLDV
Detect VoltageV
Current consumptionI
17-10
DD
DET
VLD
–4.5–5.5V
–3.44.04.4V
VDD = 5.5 V–100200uA
Page 23
S3C84A4/P84A4ELECTRICAL DATA
fOSC
30 MHz
20 MHz
18 MHz
16 MHz
14 MHz
12 MHz
4 MHz
1234567
Supply Voltage (V)
Minimum Instruction Clock = 1/4 x oscillator frequency
Figure 17-7. Operating Voltage Range ( LVD Enable)
17-11
Page 24
S3C84A4/P84A4MECHANICAL DATA
18MECHANICAL DATA
OVERVIEW
The S3C84A4 microcontroller is available in a 64-pin QFP package (64-QFP-1420C) .
23.90 ± 0.30
17.90 ± 0.30
14.00 ± 0.20
#64
1.00
64-QFP-1420C
#1
20.00 ± 0.20
+ 0.10
0.40
- 0.05
0.15 MAX
(1.00)
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 18-1. 64-QFP-1420C Package Dimensions
18-1
Page 25
S3C84A4/P84A4S3P84A4 OTP
19S3P84A4 OTP
OVERVIEW
The S3P84A4 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the S3C84A4
microcontrollers. It has an on-chip EPROM instead of masked ROM. The EPROM is accessed by serial data
format.
S3C84A4 is fully compatible with S3C84A4, both in function and in pin configuration. As it has simple
programming requirements, S3P84A4 is ideal for use as an evaluation chip for the S3C84A4.