Samsung's S3C8 series 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. Among the major CPU features are:
— Efficient register-oriented architecture
— Selectable CPU clock sources
— Idle and Stop power-down mode release by interrupt
— Built-in basic timer with watchdog function
A 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 of six CPU clocks) can be assigned to
specific interrupt levels.
S3C821A/P821A MICROCONTROLLER
The S3C821A/P821A single-chip CMOS
microcontroller is fabricated using the highly
advanced CMOS process, based on Samsung’s
newest CPU architecture.
The S3C821A is a microcontroller with a 48-Kbyte
mask-programmable ROM embedded.
The S3P821A is a microcontroller with a 48-Kbyte
one-time-programmable ROM embedded.
Using a proven modular design approach, Samsung
engineers have successfully developed the
S3C821A/P821A by integrating the following
peripheral modules with the powerful SAM8 core:
— Six programmable I/O ports, including five 8-bit
ports and one 7-bit port, for a total of 47 pins.
— Twelve bit-programmable pins for external
interrupts.
— One 8-bit basic timer for oscillation stabilization
and watchdog functions (system reset).
— One 8-bit timer/counter and one 16-bit
timer/counter with selectable operating modes.
— Watch timer for real time.
— 4-input A/D converter
— Serial I/O interface
The S3C821A/P821A is versatile microcontroller for
cordless phone, pager, etc. They are currently
available in 80-pin TQFP and 80-pin QFP package.
OTP
The S3P821A is an OTP (One Time Programmable) version of the S3C821A microcontroller. The S3P821A
microcontroller has an on-chip 48-Kbyte one-time-programmable EPROM instead of a masked ROM. The
S3P821A is comparable to the S3C821A, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWS3C821A/P821A
FEATURES
CPU
•SAM8 CPU core
Memory
•Data memory: 1040-byte of internal register file
(Excluding LCD RAM)
•Program memory: 48-Kbyte internal program
memory (ROM)
External Interface
•64-Kbyte external data memory area
Instruction Execution Time
•750 ns at 8 MHz (minimum, Main oscillator)
•183 µs at 32,768 Hz (minimum, Sub oscillator)
Interrupts
•7 interrupt levels and 19 interrupt sources
•19 vectors
•Fast interrupt processing feature (for one
selected interrupt level)
I/O Ports
•Five 8-bit I/O ports (P0–P4) and one 7-bit I/O
port (P5) for a total of 47 bit-programmable pins
8-Bit Basic Timer
•One programmable 8-bit basic timer (BT) for
oscillation stabilization control or watchdog timer
(software reset) function
Watch Timer
•Time internal generation: 3.91 ms, 0.5 s at
32,768 Hz
•Four frequency outputs to BUZ pin
•Clock source generation for LCD
Timers and Timer/Counters
LCD Controller/Driver
•Up to 32 segment pins
•3, 4, and 8 common selectable
•Choice of duty cycle
•All dots can be switched on/off
•Internal resistor circuit for LCD bias
Serial Port
•One synchronous SIO
A/D Converter
•8-bit conversion resolution × 4 channel
•34 µs conversion time (4 MHz CPU clock, fxx/4)
Oscillation Sources
•Crystal, ceramic, or RC for main system clock
•Crystal or external oscillator for subsystem clock
•Main system clock frequency: 8 MHz
•Subsystem clock frequency: 32.768 kHz
Power-down Modes
•Main idle mode (only CPU clock stops)
•Sub idle mode
•Stop mode (main/sub system oscillation stops)
Operating Temperature Range
•– 40 °C to + 85 °C
Operating Voltage Range
•2.0 V to 5.5 V at 32 kHz (sub clock)-6 MHz
(main clock)
•2.2 V to 5.5 V at 8 MHz
Package Type
•80-pin TQFP, 80-pin QFP
•One 8-bit timer/counter (Timer 0) with three
operating modes: Interval, Capture, and PWM
•One 16-bit timer/counter (Timer 1) with two 8-bit
timer/counter modes
Pull-up resistors and open-drain outputs
are software assignable. Pull-up resistors
are automatically disabled for output
pins. Configurable as LCD segments/
external interface address and data lines
P1.0–1.7I/O4-bit-programmable I/O port.
Pull-up resistors and open-drain outputs
are software assignable. Pull-up resistors
are automatically disabled for output
pins. Configurable as LCD segments/
external interface address and data lines
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P3.0–P3.3
I/O1-bit-programmable I/O port.
Pull-up resistors are software assignable,
and automatically disabled for output
pins. P2.0–P2.3 can alternately be used
as external interface lines. P2.4–P2.7 are
configurable as alternate functions or
external interrupts at falling edge with
noise filters.
I/O1-bit-programmable I/O port.
Pull-up resistors are software assignable,
and automatically disabled for output
P3.4–P3.6
pins. P3.0–P3.3 can alternately be used
as ADC. P3.7 is configurable as an
alternate function.
P3.7
P4.0–P4.7I/O1-bit-programmable I/O port.
Pull-up resistors and open-drain outputs
are software assignable. Pull-up resistors
are automatically disabled for output
pins. P4.0–P4.7 are configurable as
external interrupts at a selectable edge
with noise filters.
P5.0
P5.1
P5.2
P5.3
P5.4–P5.6
I/O1-bit-programmable I/O port.
Pull-up resistors are software assignable,
and automatically disabled for output
pins.
P5.0–P5.3 are configurable as alternate
functions. If SCK and SI are used as
input, these pins have noise filters.