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 of Idle and Stop power-down modes by interrupt
— 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 of six CPU clocks) can be assigned to
specific interrupt levels.
S3C8847/C8849/P8849 MICROCONTROLLERS
The S3C8847 microcontroller has a 24-Kbyte on-chip program memory and the S3C8849 has a 32-Kbyte. Both
chips have a 272-byte general-purpose internal register file. The interrupt structure has nine interrupt sources
with nine interrupt vectors. The CPU recognizes seven interrupt priority levels.
Using a modular design approach, the following peripherals were integrated with the SAM87 core to make the
S3C8847/C8849/P8849 microcontrollers suitable for use in color television and other types of screen display
applications:
output pins)
— 4-bit resolution A/D converter (4 channels)
— 14-bit PWM output (Two channels: push-pull type, open-drain type)
— Basic timer (BT) with watchdog timer function
— One 8-bit timer/counter (T0) with interval timer and PWM mode
— 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 S3C8847 and the S3C8849 are available in versatile 42-pin SDIP package.
OTP
The S3C8847/C8849 microcontrollers are also available in OTP (One Time Programmable) version, named the
S3P8849. The S3P8849 microcontroller has an on-chip 32-Kbyte one-time-programmable EPROM instead of a
masked ROM. The KS88P8432 is comparable to the S3C8847/C8849, both in function and pin configuration.
1-1
Page 2
PRODUCT OVERVIEWS3C8847/C8849/P8849
FEATURES
CPU
•SAM87 CPU core
Memory
•24-Kbyte (S3C8847) or 32-Kbyte (S3C8849)
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
•9 interrupt sources with 9 vectors
•7 interrupt levels
•Fast interrupt processing for select levels
General I/O
•Four I/O ports (26 pins total)
•Six open-drain pins for up to 6 V loads
•Four open-drain pins for up to 5 V loads
Pulse Width Modulation Module
•14-bit PWM with two-channel output (push-pull
type, open-drain type)
•8-bit PWM with four-channel, push-pull and opendrain
•PWM counter and data capture input pin
•Frequency: 5.859 kHz to 23.437 kHz with a 6
MHz CPU clock
P0.0–P0.3I/OGeneral I/O port (4-bit), configurable for
digital input or n-channel open-drain, pushpull output.
Pins can withstand up to 5 V loads.
P0.4–P0.5General I/O port (2-bit), configurable for
digital input or push-pull output.
P0.6–P0.7General I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P0.6–P0.7 can withstand up to 5 V loads.
Multiplexed for alternative use as external
inputs, ADC2–ADC3.
P1.0–P1.3I/OGeneral I/O port (4-bit), configurable for
digital input or n-channel open-drain output.
P1.0–P1.3 can withstand up to 6 V loads.
Multiplexed for alternative use as external
interrupt inputs, INT0–INT3.
P1.4–P1.5General I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P1.4–P1.5 can withstand up to 6 V loads.
High current port(10mA)
P1.6–P1.7General I/O port (2-bit), configurable for
digital input or push-pull output.
Each pin has an alternative function.
P1.7: T0CK (Timer 0 clock input)
P2.0–P2.7I/OGeneral I/O port (8-bit). Input/output mode
or n-channel open-drain, push-pull output
mode are software configurable. Pins can
withstand up to 5 V loads.
Each pin has an alternative function.
P2.0: PWM5 (8-bit PWM output)
P2.1: PWM1 (14-bit PWM output)
P2.2: PWM2 (8-bit PWM output)
P2.3: PWM3 (8-bit PWM output)
P2.4: PWM4 (8-bit PWM output)
P2.5: PWM0 (14-bit PWM output)
P2.6: T0 (Timer 0 PWM and interval output)
P2.7: OSDHT (Halftone signal output)
P3.0–P3.1I/OGeneral I/O port (2-bit), configurable for
digital input or n-channel open-drain output.
P3.0–P3.1 can withstand up to 5 V loads.
Multiplexed for alternative use as external
inputs ADC0–ADC1.
Figure 1-5. Pin Circuit Type 3 (P0.4–P0.5, P1.6–P1.7, T0CK)
V
DD
DataOutput
V
SS
Figure 1-6. Pin Circuit Type 4 (Vblue, Vgreen, Vred, Vblank)
1-8
Page 9
S3C8847/C8849/P8849PRODUCT OVERVIEW
I/O
Data
V
SS
Input
NOTE:
Circuit type 5 can withstand up to 6 V loads.
Figure 1-7. Pin Circuit Type 5 (P1.4–P1.5)
Data
V
SS
Input
A/D In
NOTE:
Circuit type 6 can withstand up to 5 V loads.
I/O
Figure 1-8. Pin Circuit Type 6 (P3.0–P3.1, P0.6–P0.7, ADC0–ADC3)
1-9
Page 10
PRODUCT OVERVIEWS3C8847/C8849/P8849
I/O
Data
V
SS
Input
INTNoise Filter
NOTE:
Circuit type 7 can withstand up to 6 V loads.
Figure 1-9. Pin Circuit Type 7 (P1.0–P1.3, INT0–INT3)
200 K
Ω
Input
Noise
Filter
Figure 1-10. Pin Circuit Type 8 (RESETRESET)
1-10
Page 11
S3C8847/C8849/P8849ELECTRICAL DATA
15ELECTRICAL DATA
OVERVIEW
In this section, the S3C8847 and the S3C8849 electrical characteristics are presented in tables and graphs. The
information is arranged in the following order:
— Absolute maximum ratings
— D.C. electrical characteristics
— I/O capacitance
— A.C. electrical characteristics
— Input timing measurement points for t
— Data retention supply voltage in Stop mode
NF1
and t
NF2
— Stop mode release timing when initiated by RESET
— Main oscillator and L-C oscillator frequency
— Clock timing measurement points for X
— Main oscillator clock stabilization time (tST)
— A/D converter electrical characteristics
— Characteristic curves
IN
15-1
Page 12
ELECTRICAL DATAS3C8847/C8849/P8849
Table 15-1. Absolute Maximum Ratings
(TA = 25 °C)
ParameterSymbolConditionsRatingUnit
Supply VoltageV
Input VoltageV
Output VoltageV
Output Current
I
V
OH
DD
I1
I2
O
P1.0–P1.5 (open-drain)– 0.3 to+ 7V
All port pins except V
All output pins– 0.3 to VDD + 0.3V
One I/O pin active– 18mA
–– 0.3 to + 6.0V
I1
– 0.3 to VDD + 0.3
High
All I/O pins active– 60
Output Current
I
OL
One I/O pin active+ 30mA
Low
Total pin current for port 1+ 100
Total pin current for ports 0, 2, and 3+ 100
Figure 15-1. Input Timing Measurement Points for t
DD
DD
t
NF1H
NF1
and t
NF2
15-4
Page 15
S3C8847/C8849/P8849ELECTRICAL DATA
Table 15-5. Data Retention Supply Voltage in Stop Mode
(TA = – 20 °C to + 85 °C)
ParameterSymbolConditionsMinTypMaxUnit
Data Retention Supply
V
DDDR
Stop mode2–6V
Voltage
Data Retention Supply
Current
NOTES:
1.Supply current does not include the current drawn through internal pull-up resistors or external output current loads.
2.During the oscillator stabilization wait time (t
V
DD
I
DDDR
~
~
~
~
Stop mode,
V
= 2.0 V
DDDR
), all the CPU operations must be stopped.
WAIT
STOP MODE
DATA RETENTION MODE
––5µA
OSCILLATION
t
SREL
STABILIZATION
TIME
NORMAL
OPERATING
MODE
RESET
V
EXECUTION OF
STOP INSTRUCTION
NOTE:
t
is the same as 4096 x 16 x 1 / f
WAIT
DDDR
OSC
Figure 15-2. Stop Mode Release Timing When Initiated by a RESETRESET
t
WAIT
15-5
Page 16
ELECTRICAL DATAS3C8847/C8849/P8849
Table 15-6. Main Oscillator and L-C Oscillator Frequency
(TA = – 20 °C + 85 °C, V
= 4.5 V to 5.5 V)
DD
OscillatorClock CircuitConditionsMinTypMaxUnit
Crystal
C1
C2
X
X
IN
OUT
OSD block active568MHz
OSD block inactive0.568
Ceramic
C1
C2
X
X
IN
OUT
OSD block active568MHz
OSD block inactive0.568
External Clock
X
X
IN
OUT
OSD block active568MHz
OSD block inactive0.568
L-C Oscillator
C1
OSC
Recommend value;
C1 = C2 = 20 pF
IN
56.58MHz
OSC
C2
OUT
CPU Clock Frequency–0.0326.08MHz
1 / f
OSC
t
XL
X
IN
Figure 15-3. Clock Timing Measurement Points for X
t
XH
2.7 V
1.0 V
IN
15-6
Page 17
S3C8847/C8849/P8849ELECTRICAL DATA
Table 15-7. Main Oscillator Clock Stabilization Time
(T
= – 20 °C + 85 °C, VDD = 4.5 V to 5.5 V)
A
OscillatorSymbolTest ConditionMinTypMaxUnit
Crystal–VDD = 4.5 V to 6.0 V––20ms
Ceramic(Oscillation stabilization occurs when
10
VDD is equal to the minimum oscillator
voltage range.)
External ClockXIN input High and Low level width
65–100ns
(tXH, tXL)
Release Signal
t
SREL
Normal operation–1000–ns
Setup Time
Oscillation
Stabilization
Wait Time
(1)
t
WAIT
CPU clock = 8 MHz; Stop mode
released by RESET
CPU clock = 8 MHz; Stop mode
–8.3–ms
(2)
released by an interrupt
NOTES:
1.Oscillation stabilization time is the time required for the CPU clock to return to its normal oscillation frequency after a
power-on occurs, or when Stop mode is released.
2.The oscillation stabilization interval is determined by the basic timer (BT) input clock setting.
= – 20 °C to + 85 °C, VDD = 4.5 V to 5.5 V, VSS = 0 V)
A
ParameterSymbolConditionsMinTypMaxUnit
Absolute Accuracy
Conversion Time
(1)
(2)
Analog Input VoltageV
Analog Input
–CPU clock = 8 MHz––
t
CON
IAN
R
AN
–V
–2–
t
CPU
× 25
(3)
SS
± 0.5
LSB
–µs
–V
DD
V
MΩ
Impedance
NOTES:
1.Excluding quantization error, absolute accuracy values are within ± 1/2 LSB.
2.'Conversion time' is the time required from the moment a conversion operation starts until it ends.
3.The unit t
means one CPU clock period.
CPU
15-7
Page 18
S3C8847/C8849/P8849MECHANICAL DATA
16MECHANICAL DATA
OVERVIEW
The S3C8847 and the S3C8849 microcontrollers are available in 42-pin SIP package
(42-SDIP-600).
14.00 ± 0.2
(1.77)
0.50 ± 0.1
NOTE
4222
42-SDIP-600
#121
39.10 ± 0.2
1.00 ± 0.1
: Package dimensions are in millimeters.
1.778
15.24
0.51MIN3.50 ± 0.2
3.30 ± 0.35.08MAX
+0.1
– 0.05
0.25
0 ~ 15 °
Figure 16-1. 42-Pin SDIP Package Mechanical Data (42-SDIP-600)
16-1
Page 19
S3C8847/C8849/P8849S3P8849 OTP
17S3P8849 OTP
OVERVIEW
The S3P8849 single-chip CMOS microcontroller is the OTP (One Time Programmable)version of the
S3C8847/C8849microcontroller. It has an on-chip OTP ROM instead of a masked ROM. The EPROM is
accessed by serial data format.
The S3P8849 is fully compatible with the S3C8847/C8849, both in function and pin configuration. The simple
programming requirements of the S3P8849 make the device ideal for use as an evaluation chip for the
S3C8847/C8849.