Document
S3C8639/C863A/P863A
PRODUCT OVERVIEW
1
PRODUCT OVERVIEW
SAM8 PRODUCT FAMILY
Samsung's SAM8 family of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU with a wide range of integrated peripherals, in various mask-programmable ROM sizes. Analog its 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 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 of four CPU clocks) can be assigned to specific interrupt levels. S3C8639/C863A/P863A MICROCONTROLLERS S3C8639/C863A/P863A single-chip 8-bit microcontrollers are based on the powerful SAM8 CPU architecture. The internal register file is logically expanded to increase the on-chip register space. S3C8639/C863A/P863A contain 32/48 Kbytes of onchip program ROM. In line with Samsung's modular design approach, the following peripherals are integrated with the SAM8 core: — Four programmable I/O ports (total 27 pins) — One 8-bit basic timer for oscillation stabilization and watchdog functions — One 8-bit general-purpose timer/counter with selectable clock sources — One interval timer OTP S3C8639/C863A microcontrollers are also available in OTP (One Time Programmable) version named, S3P863A. S3P863A microcontroller has an on-chip 48-Kbyte one-time-programmable EPROM instead of masked ROM. S3P863A is comparable to S3C8639/C863A, both in function and pin configuration except its ROM size. — One 12-bit counter with selectable clock sources, including Hsync or Csync input — PWM block with seven 8-bit PWM circuits — Sync processor block (for Vsync and Hsync I/O, Csync input, and Clamp signal output) — DDC Multi-master and slave-only IIC-Bus — 4-channel A/D converter (8-bit resolution) S3C8639/C863A/P863A are a versatile microcontrollers which are ideal for use in multi-sync monitors or in general-purpose applications that require sophisticated timer/counter, PWM, sync signal processing, A/D converter, and multi-master IIC-bus support with DDC. They are available in a 42-pin SDIP or a 44-pin QFP package.
1-1
PRODUCT OVERVIEW
S3C8639/C863A/P863A
FEATURES
CPU
•
Low Voltage Reset (LVR)
•
SAM88RC CPU core
LVR level is 2.4 V ± 200 mV
Memory
•
Pulse Width Modulator (PWM)
•
S3C8639: 32-Kbyte internal program memory (ROM) S3C863A: 48-Kbyte internal program memory (ROM) S3C8639: 784-byte general-purpose register area S3C863A: 1040-byte general-purpose register area
8-bit PWM: 7-CH (6-bit basic frame with 2-bit extension)
Sync-Processor Block
•
•
Vsync-I, Hsync-I, Csync-I input and Vsync-O, Hsync-O, Clamp-O output pins Programmable Pseudo sync signal generation Auto SOG detection Auto H-/V-sync polarity detection Composite sync detection
• •
Instruction Set
• •
• •
78 instructions IDLE and STOP instructions added for power-down modes
DDC Multi-Master IIC-Bus 1-Ch
• •
Instruction Execution Time
•
Serial Peripheral Interface Support for Display Data Channel (DDC1/DDC2B/DDC2Bi/DDC2B+)
Minimum 333 ns (with 12 MHz CPU clock)
Interrupts
• • •
Slave Only IIC-Bus 1-Ch
•
Ten interrupt sources/vectors Eight interrupt level Fast interrupt feature
Serial Peripheral Interface
A/D Converter
•
4-channel; 8-bit resolution
General I/O
•
Four I/O Ports (total 27pins)
Oscillator Frequency
•
8 MHz to 12 MHz crystal operation Internal Max. 12 MHz CPU clock
8-Bit Basic Timer
•
•
Programmable timer for oscillation stabilization interval control or watchdog timer function Three selective internal clock frequencies
Operating Temperature Range
•
•
– 40 °C to + 85 °C
Timer/Counters
•
Operating Voltage Range
•
One 8-bit Timer/Counter with several clock sources (Capture mode) One 12-bit Counter with H-/C-sync and several clock sources One Interval Timer
3.0 V to 5.5 V
Package Types
•
•
42-pin SDIP, 44-pin QFP
•
1-2
S3C8639/C863A/P863A
PRODUCT OVERVIEW
BLOCK DIAGRAM
P0.0-P0.7/INT0-INT2
P2.0-P2.7
RESET
Port 0
Port 2
INT0-INT2 XIN XOUT PWM0 8-Bit PWM (7-Ch) PWM6 Vsync-I Hsync-I Csync-I Vsync-O Hsync-O Clamp-O SAM8 CPU SyncProcessor Main Osc I/O Port and Interrupt Control
VDD1, VDD2 VSS1, V SS2 TEST
Port 1
P1.0-P1.2
Port 3
P3.0-P3.7
ADC 32/48Kbyte ROM 784/1040Byte Register File
AD0-AD3
TM0CAP
8-Bit Counter (Timer M0)
Slave Only IIC-Bus
SCL1 SDA1
* S3C8639 - 32 Kbyte ROM - 784 Byte RAM * S3C863A - 48 Kbyte ROM - 1040 Byte RAM
12-Bit Counter (Timer M1)
Interval Timer (Timer M2)
Multi-master IIC-Bus and DDC1/2B/2Bi/2B+
SCL0
SDA0
Figure 1-1. Block Diagram
1-3
PRODUCT OVERVIEW
S3C8639/C863A/P863A
PIN ASSIGNMENTS
P0.0/INT0 P0.1/INT1 P0.2/INT2 P0.3 P0.4/TM0CAP P0.5 P0.6 P0.7 P1.0/SDA1 P1.1/SCL1 VDD1 VSS1 XOUT XIN TEST (GND) SDA0 SCL0
RESET
P1.2 P2.0/PWM0 P2.1/PWM1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
S3C8639 /C863A
(42-SDIP)
42 4.