Samsung's SAM87 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. Important CPU features include:
— Efficient register-oriented architecture
— Selectable CPU clock sources
— Release by interrupt of Idle and Stop power-down modes
— Built-in basic timer circuit 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 six CPU clocks) can be assigned to
specific interrupt levels.
S3C8835/C8837/P8837
The S3C8835 microcontroller has 16 K bytes of on-chip program memory and the S3C8837 has 24 K bytes. Both
chips have a 272-byte general-purpose internal register file. The interrupt structure has seven interrupt sources
with six interrupt vectors. The CPU recognizes six interrupt priority levels.
Using a modular design approach, the following peripherals were integrated with the SAM87 core to make the
S3C8835/C8837/P8837 suitable for use in color television and other types of screen display applications:
— Four programmable I/O ports (26 pins total: 16 general-purpose I/O pins; 8 n-channel, open-drain output pins)
— 2 channel A/D converter (4-bit resolution)
— 14-bit PWM output (one channels: push-pull type)
— Basic timer (BT) with watchdog timer function
— One 8-bit timer/counter (T0) with interval timer
— One 8-bit general-purpose timer/counter (TA) with prescalers
— On-screen display (OSD) with a wide range of programmable features including halftone control signal output
The S3C8835/C8837 are available in a versatile 42-pin SDIP package.
OTP
The S3C8835/C8837 microcontroller is also available in OTP (One Time Programmable) version, S3P8837.
S3P8837 microcontroller has an on-chip 24K-byte one-time-programmable EPROM instead of masked ROM.
The S3P8837 is comparable to S3C8835/C8837, both in function and in pin configuration.
1-1
PRODUCT OVERVIEWS3C8835/C8837/P8837
FEATURES
CPU
•SAM87 CPU core
Memory
•16-K byte (S3C8835) or 24K- byte (S3C8837)
internal program memory
•272-byte general-purpose register area
Instruction Set
•78 instructions
•IDLE and STOP instructions added for powerdown modes
Instruction Execution Time
•750 ns (minimum) with an 8-MHz CPU clock
Interrupts
•7 interrupt sources with 6 vectors
•6 interrupt levels
•Fast interrupt processing for select levels
General I/O
Pulse Width Modulation Module
•14-bit PWM with one-channel output (push-pull
type)
•PWM counter and data capture input pin
•Frequency: 5.859 kHz to 23.437 kHz with a
6-MHz CPU clock
P0.0–P0.7I/OGeneral I/O port (8-bit), configurable for
digital input or push-pull output.
P1.0–P1.1I/OGeneral I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P1.0–P1.1 can withstand up to 6-volt loads.
Multiplexed for alternative use as external
interrupt inputs INT0–INT1.
P1.2–P1.5General I/O port (4-bit), configurable for
digital input or n-channel open-drain output.
P1.2–P1.5 can withstand up to 6-volt loads.
High current port (10mA).
P1.6–P1.7General I/O port (2-bit), configurable for
digital input or push-pull output.
P2.0–P2.4,
P2.6
I/OGeneral I/O port (6-bit). I/O mode or
n-channel open-drain, push-pull output
mode is software configurable. Pins can
withstand up to 5-volt loads.
P2.2: OTP serial clock pin
P2.3: OTP serial data pin
P2.5, P2.7General I/O port (2-bit). I/O mode or
n-channel open-drain, push-pull output
mode is software configurable. Pins can
withstand up to 5-volt loads.
Each pin has an alternative function.
P2.5: PWM0 (14-bit PWM output)
P2.7: OSDHT (Halftone signal output)