S3P8849 [SAMSUNG]

SAM87 family of 8-bit single-chip CMOS microcontrollers; SAM87家庭的8位单芯片CMOS微控制器
S3P8849
型号: S3P8849
厂家: SAMSUNG    SAMSUNG
描述:

SAM87 family of 8-bit single-chip CMOS microcontrollers
SAM87家庭的8位单芯片CMOS微控制器

微控制器
文件: 总20页 (文件大小:152K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
S3C8847/C8849/P8849  
PRODUCT OVERVIEW  
1
PRODUCT OVERVIEW  
SAM87 PRODUCT FAMILY  
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:  
— Four programmable I/O ports (26 pins total: 16 general-purpose I/O pins; 10 n-channel, open-drain  
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  
PRODUCT OVERVIEW  
S3C8847/C8849/P8849  
FEATURES  
CPU  
Pulse Width Modulation Module  
SAM87 CPU core  
14-bit PWM with two-channel output (push-pull  
type, open-drain type)  
Memory  
8-bit PWM with four-channel, push-pull and open-  
drain  
24-Kbyte (S3C8847) or 32-Kbyte (S3C8849)  
internal program memory  
PWM counter and data capture input pin  
272-byte general-purpose register area  
Frequency: 5.859 kHz to 23.437 kHz with a 6  
MHz CPU clock  
Instruction Set  
78 instructions  
On-Screen Display (OSD)  
IDLE and STOP instructions added for power-  
down modes  
Video RAM: 252 ´ 13-bits  
Character generator ROM: 384 ´ 18 ´ 16-bits  
(384 display characters; fixed; 2, variable; 382)  
Instruction Execution Time  
750 ns (minimum) with an 8 MHz CPU clock  
252 display positions (12 rows ´ 21 columns)  
16-dot ´ 18-dot character resolution  
16 different character sizes  
Interrupts  
9 interrupt sources with 9 vectors  
Eight character colors  
7 interrupt levels  
Vertical direction fade-in/fade-out control  
Eight colors for character and frame background  
Fast interrupt processing for select levels  
General I/O  
Halftone control signal output; selectable for  
individual characters  
Four I/O ports (26 pins total)  
Synchronous polarity selector for H-sync and  
V-sync input  
Six open-drain pins for up to 6 V loads  
Four open-drain pins for up to 5 V loads  
Oscillator Frequency  
8-Bit Basic Timer  
5 MHz to 8 MHz external crystal oscillator  
Maximum 8 MHz CPU clock  
Three selectable internal clock frequencies  
Watchdog or oscillation stabilization function  
Operating Temperature Range  
Timer/Counters  
° °  
– 20 C to + 85 C  
One 8-bit timer/counter (T0) with three internal  
clocks or an external clock and interval timer  
mode or PWM mode.  
Operating Voltage Range  
4.5 V to 5.5 V  
One general-purpose 8-bit timer/counters with  
interval timer mode (timer A)  
Package Type  
42-pin SDIP  
A/D Converter  
Four analog input pins; 4-bit resolution  
3.125 µs conversion time (8 MHz CPU clock)  
1-2  
S3C8847/C8849/P8849  
PRODUCT OVERVIEW  
BLOCK DIAGRAM  
P0.0 - P0.7  
Port 0  
P1.0 - P1.7  
Port 1  
RESET  
INT0 - INT3  
Test  
X
SAM87 Bus  
IN  
Main  
Osc  
X
OUT  
Timer A  
Timer 0  
Port I/O and Interrupt  
Control  
OSC  
IN  
L-C Osc  
TO  
OSC  
OUT  
T0CK  
H-sync  
V-sync  
Vred  
Vgreen  
Vblue  
Vblank  
OSDHT  
PWM  
Block  
On-  
Screen  
Display  
SAM87 CPU  
PWM  
Counter  
and Data  
Capture  
CAPA  
ADC0  
ADC1  
ADC2  
ADC3  
24/32-KByte  
ROM  
272-Byte Register  
4-Bit  
ADC  
File  
PWM0  
PWM1  
14-Bit  
PWM  
SAM87 Bus  
PWM2  
PWM3  
PWM4  
PWM5  
8-Bit  
PWM  
Port 2  
Port 3  
P2.0 - P2.7  
P3.0 - P3.1  
Figure 1-1. Block Diagram  
1-3  
PRODUCT OVERVIEW  
S3C8847/C8849/P8849  
PIN ASSIGNMENTS  
P0.0  
P0.1  
P0.2  
P0.3  
P0.4  
VSS2  
CAPA  
P0.5  
VDD  
42  
41  
40  
39  
38  
37  
36  
35  
34  
33  
32  
31  
30  
29  
28  
27  
26  
25  
24  
23  
22  
P2.5/PWM0  
1
2
3
4
5
6
7
8
P2.1/PWM1  
P2.2/PWM2  
P2.3/PWM3  
P2.4/PWM4  
P2.0/PWM5  
P2.6/T0  
P1.7/T0CK  
P3.0/ADC0  
P3.1/ADC1  
P0.6/ADC2  
P0.7/ADC3  
TEST  
P1.0/INT0  
P1.1/INT1  
P1.2/INT2  
P1.3/INT3  
P1.4  
9
S3C8847/C8849  
42-SDIP  
RESET  
XOUT  
XIN  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
VSS1  
(Top View)  
OSCOUT  
OSCIN  
V-sync  
H-sync  
Vblank  
Vred  
P1.5  
P1.6  
P2.7/OSDHT  
Vgreen  
Vblue  
Figure 1-2. S3C8847/C8849/P8849 Pin Assignment Diagram  
1-4  
S3C8847/C8849/P8849  
PRODUCT OVERVIEW  
PIN DESCRIPTIONS  
Table 1-1. S3C8847/C8849/P8849 Pin Descriptions  
Pin Name  
Pin  
Type  
Pin Description  
Circuit  
Type  
Pin  
Numbers  
Share  
Pins  
(see pin  
description)  
P0.0–P0.3  
I/O  
General I/O port (4-bit), configurable for  
digital input or n-channel open-drain, push-  
pull output.  
2
39–42  
Pins can withstand up to 5 V loads.  
P0.4–P0.5  
P0.6–P0.7  
General I/O port (2-bit), configurable for  
digital input or push-pull output.  
3
6
38, 35  
11–12  
ADC2–ADC3  
INT0–INT3  
General 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.3  
I/O  
General 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.  
7
14–17  
P1.4–P1.5  
P1.6–P1.7  
P2.0–P2.7  
General 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)  
5
3
2
18–19  
20, 8  
T0CK  
General 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)  
PWM0–  
PWM5  
T0, OSDHT  
I/O  
General 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.  
1–7, 21  
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)  
ADC0–ADC1  
P3.0–P3.1  
I/O  
General 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.  
6
9–10  
1-5  
PRODUCT OVERVIEW  
S3C8847/C8849/P8849  
Table 1-1. S3C8847/C8849/P8849 Pin Descriptions (Continued)  
Pin Name  
PWM0–  
Pin  
Type  
Pin Description  
Output pin for 14-bit PWM circuit  
Output pin for 8-bit PWM circuit  
Analog inputs for 4-bit A/D converter  
Circuit  
Type  
Pin  
Numbers  
Share  
Pins  
O
2
2
6
1, 2  
3–6  
P2.5, P2.1  
PWM1  
PWM2–  
PWM5  
O
I
P2.2–P2.4,  
P2.0  
ADC0–ADC3  
9–12  
P3.0–P3.1,  
P0.6–P0.7  
INT0–INT3  
T0  
I
External interrupt input pins  
Timer 0 output (interval, PWM)  
Timer 0 clock input  
7
2
3
2
4
14–17  
P1.0–P1.3  
P2.6  
O
I
7
8
T0CK  
P1.7  
OSDHT  
O
O
Halftone control signal output for OSD  
21  
P2.7  
Vblue, Vgreen  
Vred, Vblank  
Digital blue, green, red, and video blank  
signal outputs for OSD  
22–25  
H-sync,  
V-sync  
I
H-sync, V-sync input for OSD  
1
26, 27  
28, 29  
OSCIN,  
OSCOUT  
I, O  
L-C oscillator pins for OSD clock frequency  
generation  
XIN, XOUT  
I, O  
System clock pins  
8
31, 32  
33  
I
System reset input pin  
RESET  
Test Pin (must be connected to VSS).  
TEST  
13  
Factory test mode is activated when 12V is  
applied.  
VDD, VSS1,  
VSS2  
I
Power supply pins  
1
34, 30, 37  
36  
CAPA  
Input for capture A module  
1-6  
S3C8847/C8849/P8849  
PRODUCT OVERVIEW  
PIN CIRCUITS  
Noise  
Filter  
Input  
Figure 1-3. Pin Circuit Type 1 (V-Sync H-Sync, CAPA)  
V
DD  
Data  
I/O  
Open-drain  
Output  
Disable  
V
SS  
Input  
Figure 1-4. Pin Circuit Type 2 (P2.0–P2.7, P0.0–P0.3, PWM0–PWM5, T0, OSDHT)  
1-7  
PRODUCT OVERVIEW  
S3C8847/C8849/P8849  
V
DD  
Data  
Input  
I/ O  
V
SS  
Figure 1-5. Pin Circuit Type 3 (P0.4–P0.5, P1.6–P1.7, T0CK)  
VDD  
Data  
Output  
VSS  
Figure 1-6. Pin Circuit Type 4 (Vblue, Vgreen, Vred, Vblank)  
1-8  
S3C8847/C8849/P8849  
PRODUCT OVERVIEW  
I/O  
Data  
V
SS  
Input  
Circuit type 5 can withstand up to 6 V loads.  
NOTE:  
Figure 1-7. Pin Circuit Type 5 (P1.4–P1.5)  
I/O  
Data  
V
SS  
Input  
A/D In  
Circuit type 6 can withstand up to 5 V loads.  
NOTE:  
Figure 1-8. Pin Circuit Type 6 (P3.0–P3.1, P0.6–P0.7, ADC0–ADC3)  
1-9  
PRODUCT OVERVIEW  
S3C8847/C8849/P8849  
I/O  
Data  
V
SS  
Input  
INT  
Noise Filter  
Circuit type 7 can withstand up to 6 V loads.  
NOTE:  
Figure 1-9. Pin Circuit Type 7 (P1.0–P1.3, INT0–INT3)  
200 K  
W
Noise  
Filter  
Input  
Figure 1-10. Pin Circuit Type 8 (RESET)  
1-10  
S3C8847/C8849/P8849  
ELECTRICAL DATA  
15 ELECTRICAL 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 tNF1 and tNF2  
— Data retention supply voltage in Stop mode  
— Stop mode release timing when initiated by RESET  
— Main oscillator and L-C oscillator frequency  
— Clock timing measurement points for XIN  
— Main oscillator clock stabilization time (tST  
)
— A/D converter electrical characteristics  
— Characteristic curves  
15-1  
ELECTRICAL DATA  
S3C8847/C8849/P8849  
Table 15-1. Absolute Maximum Ratings  
°
(TA = 25 C)  
Parameter  
Symbol  
Conditions  
Rating  
Unit  
Supply Voltage  
VDD  
– 0.3 to + 6.0  
– 0.3 to + 7  
V
Input Voltage  
VI1  
VI2  
VO  
IOH  
P1.0–P1.5 (open-drain)  
All port pins except VI1  
All output pins  
V
– 0.3 to VDD + 0.3  
– 0.3 to VDD + 0.3  
– 18  
Output Voltage  
V
Output Current  
High  
One I/O pin active  
mA  
All I/O pins active  
One I/O pin active  
– 60  
+ 30  
Output Current  
Low  
IOL  
mA  
Total pin current for port 1  
+ 100  
+ 100  
Total pin current for ports 0, 2, and 3  
Operating  
Temperature  
TA  
– 20 to + 85  
°
°
C
Storage  
Temperature  
TSTG  
– 65 to + 150  
C
Table 15-2. D.C. Electrical Characteristics  
°
°
(TA = – 20 C to + 85 C, VDD = 4.5 V to 5.5 V)  
Parameter  
Input High  
Voltage  
Symbol  
Conditions  
Min  
Typ  
Max  
Unit  
VIH1  
All input pins except VIH2  
0.8 VDD  
VDD  
V
X
X
VIH2  
VIL1  
VIL2  
VOH  
2.7 V  
,
IN OUT  
Input Low Voltage  
All input pins except VIL2  
XIN  
0.2 VDD  
1.0 V  
V
V
X
,
OUT  
Output High  
Voltage  
IOH = – 500 µA  
VDD – 0.8  
P0.0–P0.5, P1.6–P1.7, P2  
R, G, B, Vblank  
Output Low  
Voltage  
VOL1  
VOL2  
VOL3  
IOL = 4 mA  
P0.0–P0.5, P1.6–P1.7  
0.4  
0.8  
0.4  
V
IOL = 10 mA  
P1.4–P1.5  
IOL = 2 mA  
P1.0–P1.3, P3.0–P3.1,  
P0.6–P0.7  
VOL4  
IO = 1 mA  
L
0.4  
V
R, G, B, Vblank, P2  
15-2  
S3C8847/C8849/P8849  
ELECTRICAL DATA  
Table 15-2. D.C. Electrical Characteristics (Continued)  
°
°
(TA = – 20 C to + 85 C, VDD = 4.5 V to 5.5 V)  
Parameter  
Input High  
Leakage Current  
Symbol  
Conditions  
VIN = VDD  
All input pins except ILIH2  
and ILIH3  
Min  
Typ  
Max  
Unit  
ILIH1  
3
µA  
ILIH2  
ILIH3  
ILIL1  
VIN = VDD, OSCIN, OSCOUT  
10  
20  
VIN = VDD, XIN  
X
2.5  
10  
,
OUT  
Input Low  
Leakage Current  
VIN = 0 V  
– 3  
µA  
µA  
All input pins except ILIL2  
,
ILIL3, and RESET  
ILIL2  
VIN = 0 V,  
OSCIN, OSCOUT  
– 10  
ILIL3  
VIN = 0 V, XIN  
VOUT = VDD  
X
– 2.5  
– 10  
– 20  
3
,
OUT  
Output High  
Leakage Current  
ILOH1  
All output pins except ILOH2  
ILOH2  
ILOL  
VOUT = 6 V  
P1.0–P1.5  
10  
– 3  
20  
Output Low  
Leakage Current  
VOUT = 0 V  
All output pins  
7
µA  
Supply Current  
(note)  
IDD1  
Normal mode;  
VDD = 4.5 V to 5.5 V  
mA  
8-MHz CPU clock  
IDD2  
Idle mode;  
VDD = 4.5 V to 5.5 V  
8-MHz CPU clock  
2
1
10  
10  
IDD3  
Stop mode;  
VDD = 4.5 V to 5.5 V  
µA  
NOTE: Supply current does not include the current drawn through internal pull-up resistors or external output current loads.  
15-3  
ELECTRICAL DATA  
S3C8847/C8849/P8849  
Table 15-3. Input/output Capacitance  
°
°
(TA = – 20 C to + 85 C, VDD = 0 V)  
Parameter  
Input  
capacitance  
Symbol  
Conditions  
Min  
Typ  
Max  
Unit  
CIN  
f = 1 MHz; unmeasured pins  
are connected to VSS  
10  
pF  
Output  
capacitance  
COUT  
CIO  
I/O capacitance  
Table 15-4. A.C. Electrical Characteristics  
°
°
(TA = – 20 C to + 85 C, VDD = 4.5 V to 5.5 V)  
Parameter  
Symbol  
Conditions  
Min  
Typ  
Max  
Unit  
V-sync Pulse  
Width  
tVW  
4
µs  
H-sync Pulse  
Width  
tHW  
3
µs  
ns  
Noise Filter  
tNF1  
tNF2  
tNF3  
tNF4  
P1.0–P1.3  
350  
1000  
25  
RESET, H-sync, V-sync  
Glitch filter (oscillator block)  
CAPA  
5
tCAPA  
NOTE: f  
= f  
/128  
OSC  
CAPA  
1tCPU  
tNF1L  
tNF2  
tNF1H  
0.8VDD  
0.2VDD  
Figure 15-1. Input Timing Measurement Points for tNF1 and tNF2  
15-4  
S3C8847/C8849/P8849  
ELECTRICAL DATA  
Table 15-5. Data Retention Supply Voltage in Stop Mode  
°
°
(TA = – 20 C to + 85 C)  
Parameter  
Symbol  
Conditions  
Stop mode  
Min  
Typ  
Max  
Unit  
Data Retention Supply  
Voltage  
VDDDR  
2
6
V
Data Retention Supply  
Current  
IDDDR  
Stop mode,  
VDDDR = 2.0 V  
5
µA  
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 (tWAIT), all the CPU operations must be stopped.  
OSCILLATION  
STABILIZATION  
TIME  
t
SREL  
STOP MODE  
NORMAL  
OPERATING  
MODE  
DATA RETENTION MODE  
VDD  
VDDDR  
EXECUTION OF  
STOP INSTRUCTION  
RESET  
tWAIT  
t
is the same as 4096 x 16 x 1 / f  
OSC  
NOTE:  
WAIT  
Figure 15-2. Stop Mode Release Timing When Initiated by a RESET  
15-5  
ELECTRICAL DATA  
S3C8847/C8849/P8849  
Table 15-6. Main Oscillator and L-C Oscillator Frequency  
°
°
(TA = – 20 C + 85 C, VDD = 4.5 V to 5.5 V)  
Oscillator  
Crystal  
Clock Circuit  
Conditions  
OSD block active  
Min  
Typ  
Max  
Unit  
5
6
8
MHz  
C1  
XIN  
XOUT  
C2  
C1  
OSD block inactive  
OSD block active  
0.5  
5
6
6
8
8
Ceramic  
MHz  
MHz  
XIN  
XOUT  
C2  
OSD block inactive  
OSD block active  
0.5  
5
6
6
8
8
External Clock  
XIN  
XOUT  
OSD block inactive  
0.5  
5
6
8
8
L-C Oscillator  
Recommend value;  
C1 = C2 = 20 pF  
6.5  
MHz  
MHz  
C1  
OSC  
IN  
OSCOUT  
C2  
CPU Clock Frequency  
0.032  
6.0  
8
1 / f  
OSC  
tXL  
tXH  
X
IN  
2.7 V  
1.0 V  
Figure 15-3. Clock Timing Measurement Points for XIN  
15-6  
S3C8847/C8849/P8849  
ELECTRICAL DATA  
Table 15-7. Main Oscillator Clock Stabilization Time  
(TA = – 20 C + 85 C, VDD = 4.5 V to 5.5 V)  
°
°
Oscillator  
Crystal  
Symbol  
Test Condition  
VDD = 4.5 V to 6.0 V  
Min  
Typ  
Max  
Unit  
20  
10  
ms  
Ceramic  
(Oscillation stabilization occurs when  
VDD is equal to the minimum oscillator  
voltage range.)  
External Clock  
X
IN  
input High and Low level width  
65  
100  
ns  
(tXH, tXL)  
Release Signal  
Setup Time  
tSREL  
tWAIT  
Normal operation  
1000  
8.3  
ns  
Oscillation  
Stabilization  
Wait Time (1)  
CPU clock = 8 MHz; Stop mode  
ms  
released by RESET  
(2)  
CPU clock = 8 MHz; Stop mode  
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.  
Table 15-8. A/D Converter Electrical Characteristics  
°
°
(TA = – 20 C to + 85 C, VDD = 4.5 V to 5.5 V, VSS = 0 V)  
Parameter  
Symbol  
Conditions  
Min  
Typ  
Max  
Unit  
LSB  
µs  
Absolute Accuracy (1)  
Conversion Time (2)  
CPU clock = 8 MHz  
± 0.5  
t
t
CPU ´ 25  
CON  
(3)  
Analog Input Voltage  
V
VSS  
2
VDD  
V
IAN  
Analog Input  
Impedance  
R
AN  
MW  
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 tCPU means one CPU clock period.  
15-7  
S3C8847/C8849/P8849  
MECHANICAL DATA  
16 MECHANICAL DATA  
OVERVIEW  
The S3C8847 and the S3C8849 microcontrollers are available in 42-pin SIP package  
(42-SDIP-600).  
42  
22  
0 ~ 15 °  
42-SDIP-600  
#1  
21  
39.10 ± 0.2  
(1.77)  
1.778  
0.50 ± 0.1  
1.00 ± 0.1  
NOTE  
: Package dimensions are in millimeters.  
Figure 16-1. 42-Pin SDIP Package Mechanical Data (42-SDIP-600)  
16-1  
S3C8847/C8849/P8849  
S3P8849 OTP  
17 S3P8849 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.  
P0.0  
P0.1  
P0.2  
P0.3  
42  
41  
40  
39  
38  
37  
36  
35  
34  
33  
32  
31  
30  
29  
28  
27  
26  
25  
24  
23  
22  
P2.5/PWM0  
P2.1/PWM1  
SCLK/P2.2/PWM2  
SDAT/P2.3/PWM3  
P2.4/PWM4  
P2.0/PWM5  
P2.6/T0  
1
2
3
4
5
6
7
8
P0.4  
VSS2/VSS2  
CAPA  
P0.5  
VDD/VDD  
RESET/RESET  
XOUT  
P1.7/T0CK  
P3.0/ADC0  
P3.1/ADC1  
P0.6/ADC2  
P0.7/ADC3  
TEST/TEST  
P1.0/INT0  
P1.1/INT1  
P1.2/INT2  
P1.3/INT3  
9
S3P8849  
42-SDIP  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
XIN  
VSS1/VSS1  
OSCOUT  
OSCIN  
V-sync  
H-sync  
Vblank  
Vred  
(Top View)  
P1.4  
P1.5  
P1.6  
Vgreen  
Vblue  
P2.7/OSDHT  
Figure 17-1. S3P8849 Pin Assignment (42-SDIP)  
17-1  
S3P8849 OTP  
S3C8847/C8849/P8849  
Table 17-1. Descriptions of Pins Used to Read/Write the EPROM (S3P8849)  
Main Chip  
Pin Name  
During Programming  
I/O  
Pin Name  
Pin No.  
Function  
P2.3 (Pin 4)  
SDAT  
4
I/O  
Serial data pin (output when reading, Input when  
writing) Input and push-pull output port can be  
assigned  
P2.2 (Pin 3)  
TEST  
SCLK  
3
I/O  
I
Serial clock pin (Input only pin)  
VPP (TEST)  
13  
0 V: operating mode  
5 V: test mode  
12.5 V: OTP mode  
33  
I
I
5 V: operating mode, 0 V: OTP mode  
Logic power supply pin.  
RESET  
RESET  
VDD/VSS  
VDD/VSS  
34/30, 37  
Table 17-2. Comparison of S3P8849 and S3C8847/C8849Features  
Characteristic S3P8849 S3C8847/C8849  
32-K byte EPROM  
Program Memory  
24/32-K byte mask ROM  
4.5 V to 5.5 V  
Operating Voltage (VDD  
)
4.5 V to 5.5 V  
VDD = 5 V, TEST VPP = 12.5 V  
OTP Programming Mode  
Pin Configuration  
42 SDIP  
42 SDIP  
EPROM Programmability  
User Program 1 time  
Programmed at the factory  
OPERATING MODE CHARACTERISTICS  
When 12.5 V is supplied to the VPP (TEST) pin of the S3P8849, the EPROM programming mode is entered. The  
operating mode (read, write, or read protection) is selected according to the input signals to the pins listed in  
Table 16-3 below.  
Table 17-3. Operating Mode Selection Criteria  
VDD  
VPP  
(TEST)  
REG/  
MEM  
ADDRESS  
(A15–A0)  
R/W  
MODE  
5 V  
5 V  
0
0
0
1
0000H  
0000H  
0000H  
0E3FH  
1
0
1
0
EPROM read  
12.5 V  
12.5 V  
12.5 V  
EPROM program  
EPROM verify  
EPROM read protection  
NOTE: "0" means Low level; "1" means High level.  
17-2  

相关型号:

S3P8849-AQ

Microcontroller, 8-Bit, UVPROM, SAM87 CPU, 8MHz, CMOS, PDIP42
SAMSUNG

S3P9004

SAM87RI family of 8-bit single-chip CMOS microcontrollers
SAMSUNG

S3P9004-DP

Microcontroller, 8-Bit, UVPROM, SAM87RI CPU, 4MHz, CMOS, PDIP40
SAMSUNG

S3P9014

SAM87RI family of 8-bit single-chip CMOS microcontrollers
SAMSUNG

S3P921F

SAM88RCRI family of 8-bit single-chip CMOS microcontrollers
SAMSUNG

S3P921FXX-QX

Microcontroller, 8-Bit, OTPROM, 8MHz, CMOS, PQFP100, 14 X 20 MM, QFP-100
SAMSUNG

S3P9228

8-BIT CMOS MICROCONTROLLERS USERS MANUAL
SAMSUNG

S3P9228-AQ

Microcontroller, 8-Bit, UVPROM, SAM88RCRI CPU, 8MHz, CMOS, PDIP42
SAMSUNG

S3P9228-QZ

Microcontroller, 8-Bit, UVPROM, SAM88RCRI CPU, 8MHz, CMOS, PQFP44
SAMSUNG

S3P9228AZ0-AQ98

Microcontroller, 8-Bit, UVPROM, SAM88RCRI CPU, 8MHz, CMOS, PDIP42
SAMSUNG

S3P9228AZ0-QZ88

Microcontroller, 8-Bit, UVPROM, SAM88RCRI CPU, 8MHz, CMOS, PQFP44
SAMSUNG

S3P9234

8-Bit CMOS Microcontroller
SAMSUNG