SAMSUNG S3C8444

Product Overview
Address Spaces
Addressing Modes
Control Registers
Interrupt Structure
Instruction Set
S3C8444
1
PRODUCT OVERVIEW
PRODUCT OVERVIEW
SAM8 PRODUCT FAMILY
Samsung's new SAM8 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.
A dual address/data bus architecture and a large number of bit- or nibble-configurable I/O ports provide a flexible
programming environment for applications with varied memory and I/O requirements.
Timer/counters with selectable operating modes are included to support real-time operations. Many SAM8
microcontrollers have an external interface that provides access to external memory and other peripheral
devices.
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 six CPU clocks) can be assigned to
specific interrupt levels.
S3C8444 MICROCONTROLLER
The S3C8444 single-chip microcontroller is fabricated using a highly advanced CMOS process. Its design is
based on the powerful SAM8 CPU core. Stop and Idle power-down modes were implemented to reduce power
consumption. The size of the internal register file is logically expanded, increasing the addressable on-chip
register space to 1040 bytes. A flexible yet sophisticated external interface is used to access up to 64-Kbytes of
program and data memory. The S3C8444 is a versatile microcontroller that is ideal for use in a wide range of
general-purpose applications such as CD-ROM/DVD-ROM drives.
Using the SAM8 modular design approach, the following peripherals were integrated with the SAM8 CPU core:
1–1
PRODUCT OVERVIEW
— Six configurable 8-bit general I/O ports
— One 8-bit n-channel, open-drain output port
— One 8-bit input port for A/D converter input or
digital input
S3C8444
The S3C8444 is a versatile microcontroller that is
ideal for use in a wide range of general-purpose
ROM-less applications such as CD-ROM/DVD-ROM
drivers.
— Full-duplex serial data port with one
synchronous and three asynchronous (UART)
operating modes
— Two 8-bit timers with interval timer or PWM
mode
— Two 16-bit timer/counters with four
programmable operating modes
— Two programmable 8-bit PWM modules with
corresponding output pins
— One 8-bit capture module with CAP input pin
— A/D converter with 8 selectable input pins
Figure 1–1. S3C8444 Microcontroller
1–2
S3C8444
FEATURES
PRODUCT OVERVIEW
General I/O
•
Six 8-bit general I/O ports (ports 0,1,2,3,4, and
5)
•
One 8-bit n-channel, open-drain output port
(port 6)
•
One 8-bit input port (for ADC input or port 7
digital input)
CPU
•
SAM8 CPU core
Memory
•
1040-byte of internal register file
•
4-kbyte internal program memory area
External Interface
Serial Port
•
Full-duplex serial data port (UART)
•
Four programmable operating modes
•
64-Kbyte external data memory area
•
64-Kbyte external program memory (ROMless)
PWM and Capture
•
60-Kbyte external program memory (normal)
•
Two output channels (PWM0, PWM1)
•
8-bit resolution with 2-bit prescaler
•
97.66-kHz frequency (25-MHz CPU clock)
•
Capture module with CAP input pin
Instruction Set
•
78 instructions
•
IDLE and STOP instructions
Instruction Execution Time
•
240 ns at 25 MHz fOSC (minimum)
Interrupts
•
20 interrupt sources and 19 interrupt vectors
•
Seven interrupt levels
•
Fast interrupt processing (level0 and 3-7 only)
Timer/Counters
•
Two 8-bit timers with interval timer or PWM
mode (timers A and B)
•
Two 16-bit timer/counters with four
programmable operating modes (timers C and
D)
Analog-to-Digital Converter
•
Eight analog input pins
•
8-bit conversion resolution
•
7.68-µs conversion speed (25-MHz CPU clock)
Operating Temperature Range
•
– 20°C to + 85°C
Operating Voltage Range
•
4.5 V to 5.5 V
Package Type
•
80-pin QFP, 80–pin TQFP
1–3
PRODUCT OVERVIEW
S3C8444
BLOCK DIAGRAM
EXTERNAL ADDRESS/DATA BUS
P0.0–P0.7
(A8–A15)
PORT 0
P1.0–P1.7
(AD0–AD7)
P2.0–P2.5
(Control Signal)
PORT 1
PORT 2
RESET
EA
SAM8 BUS
P2.6
P2.7
PORT 3
P3.0–P3.7
PORT 4
P4.0–P4.7
PORT2
PORT I/O & INTERRUPT
CONTROL
TA
TB
TIMERS
A and B
P5.0–P5.3
SAM8 CPU
PORT 5
P5.4–P5.7
TCCK
TDCK
TCG
TDG
TIMERS
C and D
RxD
TxD
SERIAL
PORT
1040-BYTE
REGISTER FILE
PORT 6
VDD1 ,VSS1
VDD2 ,VSS2
SAM8 BUS
AVSS
AVREF
A/D
CONVERTER
ADC0 /P7.0 –
ADC7 /P7.7
PWM
MODULE
PWM0
Figure 1–2. S3C8444 Block Diagram
1–4
P6.0–P6.7
PWM1
CAPTURE (P3.6)
S3C8444
PRODUCT OVERVIEW
PIN ASSIGNMENTS
EA
P1.7 / AD7
P1.6 / AD6
P1.5 / AD5
P1.4 / AD4
P1.3 / AD3
P1.2 / AD2
65
66
67
68
69
70
71
72
73
75
76
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
74
P1.1 / AD1
P1.0 / AD0
VDD1 (int.)
P0.7 / A15
P0.6 / A14
77
78
79
80
P3.0 / TCCK / INT0
P0.5 / A13
P0.4 / A12
P0.3 / A11
P0.2 / A10
P0.1 / A9
P0.0 / A8
P5.7
P5.6
P5.5
P5.4
P5.3
P5.2
P5.1
P5.0
VDD2 (ext. )
P2.7 / TB
P2.6 / TA
P2.5 / PM
P2.4 / MR
P2.3 / DM
P2.2 / MW
P2.1 / DS
P2.0 / AS
RxD
TxD
PWM1
PWM0
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
S3C8444
80-QFP
(TOP VIEW)
RESET
NC
AS
VSS1 (int.)
XOUT
XIN
P6.0
P6.1
P6.2
P6.3
P6.4
P6.5
P6.6
P6.7
P7.7 / ADC7
P7.6 / ADC6
P7.5 / ADC5
P7.4 / ADC4
P7.3 / ADC3
AV SS
P7.2 / ADC2
P7.1 / ADC1
AV REF
P7.0 / ADC0
40
39
38
P4.7 / INT11
P4.6 / INT10
P4.5 / INT9
P4.4 / INT8
P4.1 / INT5
P4.0 / INT4
VSS2 (ext.)
P4.3 / INT7
P4.2 / INT6
P3.7 / WAIT
37
36
35
34
33
32
P3.6 / CAP
P3.5
P3.4
P3.3 / TDG / INT3
P3.2 / TCG / INT2
P3.1 / TDCK / INT1
31
30
29
28
27
26
25
Figure 1–3. S3C8444 Pin Assignments
1–5
AS
NC
RESET
EA
P1.7 / AD7
P1.6 / AD6
P1.5 / AD5
P1.4 / AD4
P1.3 / AD3
P1.2 / AD2
P1.1 / AD1
P1.0 / AD0
VDD1 (int.)
P0.7 / A15
P0.6 / A14
P0.5 / A13
P0.4 / A12
P0.3 / A11
P0.2 / A10
P0.1 / A9
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
P7.0 / ADC0
P4.7 / INT11
P4.6 / INT10
P4.5 / INT9
P4.4 / INT8
P4.3 / INT7
P4.2 / INT6
P4.1 / INT5
P4.0 / INT4
VSS2 (ext.)
P3.7 / WAIT
P3.6 / CAP
P3.5
P3.4
P3.3 / TDG / INT3
P3.2 / TCG / INT2
P3.1 / TDCK / INT1
P3.0 / TCCK / INT0
PWM0
PWM1
Figure 1–4. S3C8444 Pin Assignments
1–6
Vss1 (int.)
XOUT
XIN
P6.0
P6.1
P6.2
P6.3
P6.4
P6.5
P6.6
P6.7
P7.7 / ADC7
P7.6 / ADC6
P7.5 / ADC5
P7.4 / ADC4
P7.3 / ADC3
AV SS
P7.2 / ADC2
P7.1 / ADC1
AV REF
S3C8444
(TOP VIEW)
80-TQFP
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
P0.0 / A8
P5.7
P5.6
P5.5
P5.4
P5.3
P5.2
P5.1
P5.0
V DD2 (ext. )
P2.7 / TB
P2.6 / TA
P2.5 / PM
P2.4 / MR
P2.3 / DM
P2.2 / MW
P2.1 / DS
P2.0 / AS
RxD
TxD
S3C8444
PRODUCT OVERVIEW
PIN ASSIGNMENTS (Continued)
S3C8444
PRODUCT OVERVIEW
PIN DESCRIPTIONS
Table 1–1. S3C8444 Pin Descriptions
Pin
Name
Pin
Type
Pin
Description
Circuit
Type
QFP Pin
Number
Share
Pins
P0.0 - P0.7
I/O
Nibble programmable port; input or output mode
selected by software; Schmitt trigger input or pushpull, open-drain output with software assignable
pull-ups; alternately configurable as external
interface address lines A8 - A15.
3
2, 1,
80-75
A8 - A15
P1.0 - P1.7
I/O
Same general characteristics as port 0; alternately
configurable as external interface address/data
lines AD0 - AD7.
3
73-66
AD0 - AD7
P2.0 - P2.7
I/O
General I/O port with Schmitt trigger input or pushpull output. bit programmable;
P2.0 / Address Strobe (AS)
P2.1 / Data Strobe (DS)
P2.2 / Memory Write (MW)
P2.3 / Data Memory select (DM)
P2.4 / Memory Read (MR)
P2.5 / Program Memory select (PM)
P2.6 / timer A output (TA)
P2.7 / timer B output (TB)
5
19 - 12
AS, DS,
MW, DM,
MR, PM,
TA, TB
P3.0 - P3.7
I/O
General I/O port with bit programmable pins.
Schmitt trigger input or push-pull output with
software assignable pull-ups. Input or output mode
is selectable by software. P3.0 - P3.3 are alternately
used as inputs for external interrupts INT0-INT3,
respectively (with noise filters and interrupt control):
P3.0 / timer C clock input (TCCK) / INT0
P3.1 / timer D clock input (TDCK) / INT1
P3.2 / timer C gate input (TCG) / INT2
P3.3 / timer D gate input (TDG) / INT3
P3.6 / Capture data input (CAP)
P3.7 / WAIT for slow memory interface
4
24-31
(See pin
description)
P4.0 - P4.7
I/O
General I/O port with bit programmable pins.
Schmitt trigger input or push-pull, open-drain output
with software assignable pull-ups. Input or output
mode is selectable by software. P4.0-P4.7 can
alternately be used as inputs for external interrupts
INT4-INT11, respectively (with noise filters and
interrupt control)
4
33-40
INT4 INT11
1–7
PRODUCT OVERVIEW
S3C8444
Table 1–1. S3C8444 Pin Descriptions (Continued)
Pin
Name
Pin
Type
Pin
Description
Circuit
Type
QFP Pin
Number
Share
Pins
P5.0–P5.7
I/O
General I/O port with nibble programmable
pins. Schmitt trigger input or push-pull,
open-drain output mode. Mode and pull-ups
are assigned by software.
3
10–3
—
P6.0–P6.7
O
N-channel, open-drain output port; the pin
circuits can withstand loads up to 9 volts.
8
58–51
—
ADC0–ADC7
I
Analog input pins for A/D converter module.
Alternatively used as general-purpose
digital input port 7.
2
41, 43–44,
46–50
AVREF, AVSS
—
A/D converter reference voltage and
ground
—
42, 45
—
RxD
I/O
Serial data RxD pin for receive input and
transmit output (mode 0)
6
20
—
TxD
O
Serial data TxD pin for transmit output and
shift clock input (mode 0)
7
21
—
PWM0,
PWM1
O
Pulse width modulation output pins
7
23, 22
—
TA, TB
O
Output pins for timer A and timer B
5
13, 12
P2.6, P2.7
INT0–INT11
I
External interrupt input pins
4
24–27,
33–40
P3.0–P3.3,
P4.0–P4.7
TCCK, TDCK
I
External clock input for timer C and timer D
4
24, 25
P3.0, P3.1
TCG, TDG
I
Gate input pins for timer C and timer D
4
26, 27
P3.2, P3.3
CAP
I
Capture data input for PWM module
4
30
P3.6
WAIT
I
Input pin for the slow memory timing signal
from the external interface
4
31
P3.7
RESET
I
System reset pin (pull-up resistor: 220 kΩ)
1
64
—
EA
I
External access (EA) pin with two modes:
5 V input: normal ROM-less operation with
external interface (0 V is not allowed)
9 V–10 V input: for factory test mode
—
65
—
P7.0–P7.7
VDD1, VSS1
—
Power input pins for CPU operation
(internal)
—
74, 61
—
VDD2, VSS2
—
Power input pins for port output (external)
—
11, 32
—
XIN, XOUT
—
Main oscillator pins
—
59, 60
—
AS
O
Address strobe
7
62
—
NC
—
No connection pins (connect to VSS)
—
62, 63
—
NOTE
1–8
VDD1 must be connected to VDD2 in users application circuit, VSS1 & VSS2 also.
S3C8444
PRODUCT OVERVIEW
PIN CIRCUITS
Table 1–2. Pin Circuit Assignments for the S3C8444
Circuit Number
1
Circuit Type
Input
S3C8444 Assignments
2
3
4
Input
I/O
I/O
A/D converter input pins, ADC0–ADC7
Port 0, 1, and 5
5
I/O
6
7
I/O
Output
Port 2 (AS, DS, MW, DM, MR, PM, TA,TB)
Serial port RxD pin
8
Output
RESET pin
Ports 3 and 4, TCCK, TDCK, TCG, TDG, CAP, WAIT, INT0–INT11
Serial port TxD pin, PWM0, PWM1 and AS
Port 6 (n-channel, open-drain output with high current capability)
1–9
PRODUCT OVERVIEW
S3C8444
INPUT
BUFFER
V DD
PULL-UP
RESISTOR
(Typical 230 kΩ )
IN
+
–
ADC
LOGIC
INPUT
V REF
Figure 1–5. Pin Circuit Type 1 (RESET
RESET)
1–10
Figure 1–6. Pin Circuit Type 2 (ADC0–ADC7)
S3C8444
PRODUCT OVERVIEW
VDD
PULL-UP
RESISTOR
(Typical 46 kΩ )
PULL-UP
ENABLE
VDD
DATA
IN / OUT
OPENDRAIN
OUTPUT
DISABLE
VSS
INPUT
Figure 1–7. Pin Circuit Type 3 (Ports 0,1, and 5)
1–11
PRODUCT OVERVIEW
S3C8444
VDD
PULL-UP
RESISTOR
(Typical 46 k Ω)
PULL-UP
ENABLE
VDD
DATA
IN / OUT
OUTPUT
DISABLE
VSS
INPUT
EXTERNAL
INTERRUPT
INPUT
NOISE
FILTER
Figure 1–8. Pin Circuit Type 4
(Ports 3 and 4, TCCK, TDCK, TCG, TDG, CAP, WAIT, INT0–INT11)
1–12
S3C8444
PRODUCT OVERVIEW
V DD
SELECTION BITS
FOR PORTS OR
OTHER FUNCTIONS
DATA
IN / OUT
OPENDRAIN
OUTPUT
DISABLE
VSS
INPUT
OTHER
FUNCTION
Figure 1–9. Pin Circuit Type 5 (Port 2, AS, DS, MW, DM, MR,
MR PM,
PM TA and TB)
1–13
PRODUCT OVERVIEW
S3C8444
VDD
EDGE DETECTION
VDD
R
(46 k Ω)
DATA
IN / OUT
OUTPUT
DISABLE
VSS
INPUT
NOISE FILTER
a
Figure 1–10. Pin Circuit Type 6 (Serial RxD Pin)
1–14
S3C8444
PRODUCT OVERVIEW
VDD
OUTPUT
DATA
DATA
OUTPUT
VSS
VSS
Figure 1–11. Pin Circuit Type 7
(AS, serial TxD Pin, PWM0, PWM1)
NOTE: Circuit type 8 can withstand up to 9-volt loads.
Figure 1–12. Pin Circuit Type 8 (Port 6)
1–15
S3C8444
16
ELECTRICAL DATA
ELECTRICAL DATA
In this section, S3C8444 electrical characteristics are presented in tables and graphs. The information is
arranged in the following order:
— Absolute maximum ratings
— DC electrical characteristics
— AC electrical characteristics
— Input timing for external interrupts (ports 3 and 4)
— Input timing for RESET
— I/O capacitance
— Data retention supply voltage in Stop mode
— Stop mode release timing initiated by RESET
— A./D Converter Electrical Characteristics
— Serial port timing characteristics in mode 0 (10 MHz)
— Serial clock waveform
— Serial port timing in mode 0 (shift register mode)
— External memory timing characteristics (10 MHz)
— External memory read and write timing
— Recommended A/D converter circuit for highest absolute accuracy
— Main oscillator frequency (fOSC1)
— Main oscillator clock stabilization time (tST1)
— Clock timing measurement at XIN
— Suboscillator clock stabilization time (tST2)
— Characteristic curves
16–1
ELECTRICAL DATA
S3C8444
Table 16–1. Absolute Maximum Ratings
(TA = 25°C)
Parameter
Symbol
Conditions
Supply voltage
VDD
Input voltage
VI1
Port 6 only (open-drain)
VI2
All ports except port 6
Output voltage
VO
Output current
high
IOH
Output current low
IOL
Rating
Unit
– 0.3 to +7.0
V
– 0.3 to +10
V
– 0.3 to VDD + 0.3
– 0.3 to VDD + 0.3
V
One I/O pin active
– 18
mA
All I/O pins active
– 60
One I/O pin active
30
Total pin current for ports 0, 2, 3, 4, 6
100
Total pin current for ports 1 and 5
200
mA
Operating
temperature
TA
– 20 to + 85
°C
Storage
temperature
TSTG
– 65 to + 150
°C
Table 16–2. D.C. Electrical Characteristics
(TA = – 20°C to + 85°C, VDD = 4.5 V to 5.5 V)
Parameter
Symbol
Conditions
Input high
VIH1
All input pins except VIH2
voltage
VIH2
XIN
Input low voltage
VIL1
All input pins except VIL2
VIL2
XIN
Output high
voltage
16–2
Min
Typ
Max
Unit
0.8 VDD
–
VDD
V
–
0.2 VDD
V
VDD – 0.5
–
0.4
VOH1
VDD = 4.5 V to 5.5 V
IOH = – 1 mA
Port 1 only
VDD – 1.0
VOH2
VDD = 4.5 V to 5.5V
IOH = – 200 µA
All output pins except port 1
VDD – 1.0
–
–
V
S3C8444
ELECTRICAL DATA
Table 16–2. D.C. Electrical Characteristics (Continued)
(TA = – 20°C to + 85°C, VDD = 4.5 V to 5.5 V)
Parameter
Output low
voltage
Input high leakage
current
Input low leakage
current
Symbol
Conditions
Min
Typ
Max
Unit
VOL1
VDD = 4.5 V to 5.5 V
IOL = 2 mA
All output pins except port 5
–
–
0.4
V
VOL2
VDD = 4.5 V to 5.5 V
IOL = 1.5 mA
Port 5
ILIH1
VIN = VDD
All input pins except XIN
–
–
3
µA
ILIH2
VIN = VDD
XIN
ILIL1
VIN = 0 V
All input pins except XIN,
20
–
–
–3
µA
and RESET
Output high
leakage current
ILIL2
VIN = 0 V
XIN
ILOH1
VOUT = VDD
All output pins except for
port 6
ILOH2
Port 6 (open-drain)
VOUT = 9 V
– 20
–
–
5
µA
20
Output low
leakage current
ILOL
VOUT = 0 V
–
–
–5
µA
Pull-up resistor
RL1
VIN = 0 V; VDD = 5 V ± 10%
Ports 0, 1, 4, 5, and RxD
30
46
80
kΩ
RL2
VIN = 0 V; VDD = 5 V ± 10%
120
230
320
–
35
50
RESET only
Supply current (1)
IDD1
IDD2
IDD3
VDD = 5 V ± 10%
25 MHz crystal oscillator
VDD = 5 V ± 10%
10 MHz crystal oscillator
30
Idle mode: VDD = 5 V ± 10%
25 MHz crystal oscillator
11
Idle mode: VDD = 5 V ± 10%
10 MHz crystal oscillator
5
Stop mode;
VDD = 5 V ± 10%
3
mA
25
20
µA
NOTE: Supply current does not include current drawn through internal pull-up resistors or external output current loads.
16–3
ELECTRICAL DATA
S3C8444
Table 16–3. A.C. Electrical Characteristics
(TA = – 20°C to + 85°C, VDD = 4.5 V to 6.0V)
Parameter
Interrupt input
high, low width
RESET input low
width
Symbol
tINTH,
tINTL
tRSL
Conditions
Min
Typ
Max
Unit
P3.0–P3.3, P4.0–P4.7
3
–
–
tCPU
Input
22
–
–
tCPU
NOTES:
1. The unit tCPU means one CPU clock period.
2. The oscillator frequency is the same as CPU clock frequency.
tINTL
tINTH
0.8 VDD
0.2 VDD
Figure 16–1. Input Timing for External Interrupts (Ports 3 and 4)
tRSL
RESET
0.2 V DD
Figure 16–2. Input Timing for RESET
16–4
S3C8444
ELECTRICAL DATA
Table 16–4. Input/Output Capacitance
(TA = – 20°C to + 85°C, VDD = 0 V )
Parameter
Symbol
Conditions
Min
Typ
Max
Unit
Input
capacitance
CIN
f = 1 MHz; unmeasured pins
are returned to VSS
–
–
10
pF
Output
capacitance
COUT
I/O capacitance
CIO
Table 16–5. Data Retention Supply Voltage in Stop Mode
(TA = – 20°C to + 85°C)
Parameter
Symbol
Data retention
supply voltage
VDDDR
Data retention
supply current
IDDDR
Conditions
VDDDR = 2 V
Min
Typ
Max
Unit
2
–
6
V
–
–
5
µA
OSCILLATION
STABILIZATION
TIME
RESET
OCCURS
NORMAL
OPERATING
MODE
STOP MODE
DATA RETENTION MODE
VDD
VDDDR
EXECUTION OF
STOP INSTRUCTION
RESET
0.2 V DD
NOTE: t WAIT is the same as 4096 x 32 x 1 / f OSC .
t WAIT
Figure 16–3. Stop Mode Release Timing Initiated by RESET
16–5
ELECTRICAL DATA
S3C8444
Table 16–6. A/D Converter Electrical Characteristics
(TA = – 20°C to + 85°C, VDD = 4.5 V to 6.0 V, VSS = 0 V)
Parameter
Symbol
Conditions
Resolution
Absolute
accuracy (1)
Conversion
time (2)
VDD = 5.12 V
CPU clock = 18 MHz
AVREF = 5.12 V
AVSS = 0 V
tCON
Min
Typ
Max
Unit
8
8
8
bit
–
–
|3|
LSB
tCPU ×
–
–
µs
192 (3)
Analog reference
voltage
AVREF
2.56
–
VDD
V
Analog ground
AVSS
VSS
–
–
V
Analog input
voltage
VIAN
AVSS
–
AVREF
V
Analog input
impedance
RAN
2
–
–
M½
NOTES:
1. Excluding quantization error, absolute accuracy equals ± 1/2 LSB.
2. 'Conversion time' is the time required from the moment a conversion operation starts until it ends.
3. tCPU is the CPU clock period.
Table 16–7. Serial Port Timing Characteristics in Mode 0 (10 MHz)
(TA = – 20°C to + 85°C, VDD = 4.5 V to 6.0V, VSS = 0 V)
Parameter
Symbol
Min
Typ
Max
Unit
tSCK
500
tCPU × 6
700
ns
Output data setup to clock rising edge
tS1
300
tCPU × 5
–
Clock rising edge to input data valid
tS2
–
–
300
Output data hold after clock rising edge
tH1
50
tCPU
–
Input data hold after clock rising edge
tH2
0
–
–
tHIGH,
tLOW
200
tCPU × 3
400
Serial port clock cycle time
Serial port clock high, low width
NOTES:
1. All times are in ns and assume a 10 MHz input frequency.
2. The unit tCPU means one CPU clock period.
3. The oscillator frequency is identical to the CPU clock frequency.
16–6
S3C8444
ELECTRICAL DATA
t HIGH
0.8 VDD
0.2 VDD
tLOW
tSCK
Figure 16–4. Serial Clock Waveform
16–7
SHIFT
CLOCK
DATA
OUT
DATA
IN
NOTE:
t S1
D0
tSCK
VALID
t H1
tS2
D1
VALID
tH2
D2
VALID
D3
t H1
t S2
t S1
t SCK
Input data hold after clock rising edge
Output data hold after clock rising edge
Clock rising edge to input data valid
Output data setup to clock rising edge
Serial port clock cycle time
VALID
The symbols shown in this diagram are defined as follows:
t H2
D4
VALID
D5
VALID
D6
VALID
D7
VALID
16–8
S3C8444
ELECTRICAL DATA
Figure 16–5. Serial Port Timing in Mode 0 (Shift Register Mode)
S3C8444
ELECTRICAL DATA
Table 16–8. External Memory Timing Characteristics (10 MHz)
(TA = – 20°C to + 85°C, VDD = 4.5 V to 6.0 V)
Number
Symbol
Parameter
Normal Timing
Extended Timing
Min
Max
Min
Max
1
tdA (AS)
Address valid to AS ↑ delay
10
–
50
–
2
tdAS (A)
AS ↑ to address float delay
35
–
85
–
3
tdAS (DR)
AS ↑ to read data required valid
–
140
–
335
4
twAS
AS low width
35
–
85
–
5
tdA (DS)
Address float to DS ↓
0
–
0
–
6a
twDS (read)
DS (read) low width
125
–
275
–
6b
twDS (write)
DS (write) low width
65
–
165
–
7
tdDS (DR)
DS ↓ to read data required valid
–
80
–
255
8
thDS (DR)
Read data to DS ↑ hold time
0
–
0
–
9
tdDS (A)
DS ↑ to address active delay
20
–
70
–
10
tdDS (AS)
DS ↑ to AS ↓ delay
30
–
80
–
11
tdDO (DS)
Write data valid to DS (write) ↓ delay
10
–
50
–
12
tdAS (W)
AS ↑ to wait delay
–
90
–
335
13
thDS (W)
DS ↑ to wait hold time
0
–
0
–
14
tdRW (AS)
R/W valid to AS ↑ delay
20
–
70
–
15
tdDS (DW)
DS ↑ to write data not valid delay
20
–
70
–
NOTES:
1. All times are in ns and assume a 10 MHz input frequency.
2. Wait states add 100 ns to the time of numbers 3, 6a, 6b, and 7.
3. Auto-wait states add 100 ns to the time of number 12.
16–9
ELECTRICAL DATA
S3C8444
R/ W
14
PORT A
A8–A15, DM
DM
3
PORT AD
A0–A7
1
9
D0–D7 OUT
2
D0–D7
IN
OUT
11
10
AS
8
5
4
7
DS
6
WAIT (P3.7)
15
WAIT WINDOW
12
13
Figure 16–6. External Memory Read and Write Timing
(See Table 15–7 for a description of each timing point.)
16–10
S3C8444
ELECTRICAL DATA
VDD
REFERENCE
VOLTAGE
INPUT
R
AVREF
10 µF
+
–
C 103
ANALOG
INPUT PIN
VDD
ADC0–ADC7
S3C8444
C 101
AVSS
VSS
NOTE: The symbol 'R' signifies an offset resistor with a value of from 50 to 100 Ohms.
If this resistor is omitted, the absolute accuracy will be maximum of 4 LSBs.
Figure 16–7. Recommended A/D Converter Circuit for Highest Absolute Accuracy
16–11
ELECTRICAL DATA
S3C8444
Table 16–9. Main Oscillator Frequency (fOSC1)
(TA = – 20°C + 85°C, VDD = 4.5 V to 6.0 V)
Oscillator
Crystal
Clock Circuit
C1
XIN
Test Condition
Min
Typ
Max
Unit
CPU clock oscillation
frequency
1
–
18
MHz
CPU clock oscillation
frequency
1
–
18
MHz
XIN input frequency
1
–
18
MHz
XOUT
C2
Ceramic
C1
XIN
XOUT
C2
External clock
a
XIN
XOUT
a
Table 16–10. Recommended Oscillator Constants
(TA = – 20°C + 85°C, VDD = 4.5 V to 6.0 V)
Manufacturer
TDK
Product Name
Oscillator Voltage
Range (V)
Remarks
C1
C2
MIN
MAX
CCR20.0MS6
5
5
4.5
5.5
SMD Type
CCR24.0M6
5
5
4.5
5.5
SMD Type
CCR25.0M6
–
5
4.5
5.5
SMD Type
NOTE: On-chip C: 30pF ±20% built in.
16–12
Load Cap (pF)
S3C8444
ELECTRICAL DATA
Table 16–11. Main Oscillator Clock Stabilization Time (tST1)
(TA = – 20°C + 85°C, VDD = 4.5 V to 6.0 V)
Oscillator
Test Condition
Min
Typ
Max
Unit
Crystal
VDD = 4.5 V to 6.0 V
–
–
20
ms
Ceramic
Stabilization occurs when VDD is equal to the minimum
oscillator voltage range.
–
–
10
ms
External clock
XIN input high and low level width (tXH, tXL)
25
–
500
ns
NOTE: Oscillation stabilization time (tST1) 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 ended by a RESET signal. The RESET should therefore
be held at low level until the tST1 time has elapsed (see Figure 15–3).
1 / f OSC1
tXL
tXH
VDD – 0.5 V
XIN
0.4 V
Figure 16–8. Clock Timing Measurement at XIN
16–13
ELECTRICAL DATA
S3C8444
CHARACTERISTIC CURVES
NOTE
The characteristic values shown in the following graphs are based on actual test measurements. They do
not, however, represent guaranteed operating values.
(T A = 25 °C)
38
f OSC = 25 MHz
36
I DD1 (mA)
34
f OSC = 20 MHz
32
f OSC = 10 MHz
30
28
26
24
22
4.5
5.0
VDD (V)
Figure 16–9. IDD1 vs VDD
16–14
5.5
S3C8444
ELECTRICAL DATA
(T A = 25 °C)
13
12
11
I DD2 (mA)
10
f OSC = 25 MHz
9
f OSC = 20 MHz
8
7
f OSC = 10 MHz
6
5
4
4.5
5.0
5.5
V DD (V)
Figure 16–10. IDD2 vs VDD
(T A = 25 °C)
280
260
240
IDD3 (nA)
220
200
180
160
140
120
100
4.5
5.0
5.5
V DD (V)
Figure 16–11. IDD3 vs VDD
16–15
ELECTRICAL DATA
S3C8444
(T A = 25 °C)
18
16
I OL (mA)
14
12
VDD = 5.5 V
10
VDD = 4.5 V
8
6
4
2
0
0.2
0.4
0.6
V OL1 (V)
Figure 16–12. IOL vs VOL1
16–16
0.8
1.0
1.2
S3C8444
ELECTRICAL DATA
(T A = 25 °C)
18
16
I OL (mA)
14
12
VDD = 5.5 V
10
VDD = 4.5 V
8
6
4
2
0
0.2
0.4
0.6
0.8
1.0
1.2
V OL2 (V)
Figure 16–13. IOL vs VOL2
16–17
ELECTRICAL DATA
S3C8444
(TA = 25 °C)
-12
-11
-10
-9
VDD = 5.5 V
-8
I OH (mA)
-7
-6
-5
VDD = 4.5 V
-4
-3
-2
-1
0
2.4
3.0
3.6
V OH2 (V)
Figure 16–14. IOH vs VOH2
16–18
4.2
4.8
5.4
S3C8444
MECHANICAL DATA
17
MECHANICAL DATA
23.90 ± 0.3
0~8°
20.00 ± 0.2
+0.10
14.00 ± 0.2
0.10 MAX
80-QFP-1420C
0.80 ± 0.20
17.90 ± 0.3
0.15 - 0.05
(1.00)
#80
#1
0.80
0.05 MIN
2.65 ± 0.10
0.35 ± 0.1
(0.80)
3.00 MAX
± 0.15 MAX
0.80 ± 0.20
NOTE: Dimensions are in millimeters.
Figure 17–1. S3C8444 QFP Standard Package Dimensions (in Millimeters)
17–1
MECHANICAL DATA
S3C8444
14.00BSC
0~7°
12.00BSC
0.09~0.20
0.65 ± 0. 15
12.00BSC
14.00BSC
0.10 MAX
80-TQF P-1212-AN
0.25GAUGE PLANE
#80
0.05~0.15
1.00 ± 0.05
#1
1.20 MAX
0.50
0 .17~0.27
(1.25)
± 0.08 MAX M
NOTE: Dimensions are in millimeters.
Figure 17–2. S3C8444 TQFP Standard Package Dimensions (in Millimeters)
17–2
S3C8444
18
DEVELOPMENT TOOLS
DEVELOPMENT TOOLS
OVERVIEW
Samsung provides a powerful and easy-to-use development support system in turnkey form. The development
support system is configured with a host system, debugging tools, and support software. For the host system, any
standard computer that operates with MS-DOS as its operating system can be used. Two types of debugging
tools including hardware and software are provided: the in-circuit emulator, SMDS2, developed for S3C1, S3C7,
S3C8 families of microcontrollers, and even more sophisticated and powerful in-circuit emulator, SMDS2+, for
S3C7, S3C8 families of microcontrollers. The SMDS2+ is a new and improved version of SMDS2. In the future
SMDS2+ will replace SMDS2 and eventually SMDS2 will not be supported. Samsung also offers support
software that includes debugger, assembler, and a program for setting options.
DEVELOPMENT TOOLS VERSIONS
As of the date of this publication, two versions of the SMDS are being supported:
— SMDS2 Version 5.3 (S/W) and SMDS2 Version 1.3 (H/W); last release: October, 1995.
— SHINE Version 1.0 (S/W) and SMDS2+ Version 1.0 (H/W); last release: January, 1997.
SMDS V5.3
SMDS V5.3 is an assembly level debugger with user-friendly host interfacing that uses in-circuit
emulator,SMDS2.
SHINE
Samsung Host Interface for iN-circuit Emulator, SHINE, is a multi-window based debugger for SMDS2+. SHINE
provides pull-down and pop-up menus, mouse support, function/hot keys, and context-sensitive hyper-linked
help. It has an advanced, multiple-windowed user interface that emphasizes ease of use. Each window can be
sized, moved, scrolled, highlighted, added, or removed completely.
SAMA ASSEMBLER
The Samsung Arrangeable Microcontroller (SAM) Assembler, SAMA, is a universal assembler, and generates
object code in standard hexadecimal format. Assembled program code includes the object code that is used for
ROM data and required SMDS program control data. To assemble programs, SAMA requires a source file and
an auxiliary definition (DEF) file with device specific information.
SASM88
The SASM88 is an relocatable assembler for Samsung's S3C8-series microcontrollers. The SASM88 takes a
source file containing assembly language statements and translates into a corresponding source code, object
code and comments. The SASM88 supports macros and conditional assembly. It runs on the MS-DOS operating
system. It produces the relocatable object code only, so the user should link object file. Object files can be linked
with other object files and loaded into memory.
18–1
DEVELOPMENT TOOLS
S3C8444
HEX2ROM
HEX2ROM file generates ROM code from HEX file which has been produced by assembler. ROM code must be
needed to fabricate a microcontroller which has a mask ROM. When generating the ROM code (.OBJ file) by
HEX2ROM, the value 'FF' is filled into the unused ROM area upto the maximum ROM size of the target device
automatically.
TARGET BOARDS
Target boards are available for all S3C8-series microcontrollers. All required target system cables and adapters
are included with the device-specific target board.
IBM-PC AT
or
Compatible
RS-232C
Internal BUS
5-Volt
Power
Supply
Main Board
Personality
Board
Front
Panel
Board
POD
TB8444
Target
Board
Target
Application
System
Target Cable
Figure 18–1. SMDS Product Configuration (SMDS2)
18–2
EVA
Chip
S3C8444
DEVELOPMENT TOOLS
IBM-PC AT or Compatible
RS-232C
SMDS2+
Target
Application
System
PROM/MTP Writer Unit
RAM Break/Display Unit
Bus
Target
Cable
Trace/Timer Unit
SAM8 Base Unit
Power Supply Unit
POD
TB8444
Target
Board
EVA
Chip
Figure 18–2. SMDS Product Configuration (SMDS2+)
18–3
DEVELOPMENT TOOLS
S3C8444
TB8444 TARGET BOARD
The TB8444 target board is used for the S3C8444 microcontroller. It is supported by the SMDS2 or SMDS2+
development system.
TB8444
GND
SW1
On
U1
Off
VCC
To User_VCC
25
P7.0
J101
1
1
2
40 39
U3
39
External
Triggers
2
40-Pin Connector
144 QFP
S3E8440
EVA Chip
CN1
J102
40-Pin Connector
1
AVREF
P7.1
P7.2
P7.3
P7.4
+
P7.5
+
P7.6
Idle
P7.7
Stop
AVSS
RESET1
CH1
CH2
SM1296A
Figure 18–3. TB8444Target Board Configuration
18–4
40
S3C8444
DEVELOPMENT TOOLS
Table 18–1. Power Selection Settings for TB8444
'To User_Vcc' Settings
Operating Mode
Comments
To User_Vcc
OFF
TB8444
ON
a
VCC
Target
System
VSS
The SMDS2/SMDS2+ main
board supplies VCC to the
target board (evaluation chip)
and the target system.
VCC
SMDS2/SMDS2+
To User_Vcc
OFF
TB8444
ON
a
External
VCC
VSS
Target
System
The SMDS2/SMDS2+ main
board supplies VCC only to
the target board (evaluation
chip). The target system must
have its own power supply.
VCC
SMDS2/SMDS2+
NOTE: The following symbol in the 'To User_Vcc' Setting column indicates the electrical short configuration:
a
Table 18–2. Using Single Header Pins as the Input Path for External Trigger Sources
Target Board Part
EXTERNAL
TRIGGERS
Comments
Connector from
external trigger
sources of the
application system
CH1
CH2
You can connect an external trigger source to one of the two external
trigger channels (CH1 or CH2) for the SMDS2/SMDS2+ breakpoint
and trace functions.
18–5
DEVELOPMENT TOOLS
S3C8444
Table 18–3. Analog Pin Connection Switch Settings (TB8444)
Analog Pin Switch
Operating Mode
DIP SW1: ON
ANALOG SIGNALS
•
•
•
TARGET
BOARD
TARGET
SYSTEM
DIP SW1: OFF
TARGET
BOARD
ADC0
|
ADC7
•
•
•
•
•
•
TARGET
SYSTEM
HOLES DRILLED
FOR DIRECT CONNECTION
NOTE: Analog signals coming into the target board can easily introduce noise into the analog converter circuit. This can
cause invalid conversion results. To reduce noise, you can use the analog pin switches to provide the shortest
possible path for analog signals. To do this, turn all DIP switches to the OFF position. Then, connect the analog
signal lines directly via the holes of the corresponding analog pins.
IDLE LED
The Green LED is ON when the evaluation chip(S3E8440) is in idle mode.
STOP LED
The Red LED is ON when the evaluation chip(S3E8440) is in stop mode.
18–6
S3C8444
DEVELOPMENT TOOLS
J101
2
3
4
5
6
7
8
9
10
11
12
13
DR
15
DW
17
AS
19
TXD
PWM0
P3.1/TDCK/INT1
P3.3/TDG/INT3
P3.5
P3.7/WAIT
P4.0/INT4
P4.2/INT6
P4.4/INT8
P4.6/INT10
21
23
25
27
14
16
18
20
22
24
26
28
29
30
31
32
33
34
35
36
37
38
39
40
A8
P5.6
P5.4
P5.2
P5.0
P2.7/TB
P7.0/ADC0
P7.1/ADC1
AVSS
P7.4/ADC4
P7.6/ADC6
P6.7
PM
P6.5
DM
P6.3
DS
P6.1
PXD
NC(XIN)
PWM1
VSS1
P3.0/TCCK/INT0
NC
P3.2/TCG/INT2
EA
P3.4
AD6
P3.6/CAP
AD4
VSS2
AD2
P4.1/INT5
AD0
P4.3/INT7
A15
P4.5/INT9
A13
P4.7/INT11
A11
62
AVREF
P7.2/ADC2
P7.3/ADC3
P7.5/ADC5
P7.7/ADC7
P6.6
P6.4
P6.2
P6.0
NC(XOUT)
NC
64
RESET
66
AD7
AD5
AD3
AD1
VDD1
A14
A12
A10
41
42
43
44
45
46
47
48
49
50
51
52
53
55
57
59
61
63
65
67
40-PIN CONNECTOR
1
40-PIN CONNECTOR
A9
P5.7
P5.5
P5.3
P5.1
VDD2
P2.6/TA
J102
54
56
58
60
68
69
70
71
72
73
74
75
76
77
78
79
80
Figure 18–4. 40-Pin Connectors for TB8444 (S3C8444, 80-QFP Package)
18–7
DEVELOPMENT TOOLS
S3C8444
TARGET BOARD
40-PIN CONNECTORS
J101
1
2
TARGET SYSTEM
J102
80-QFP Adapter
Order Code: SM6402
41 42
Target Cable for 80 QFP Adapter
Part Name: CS80QF
Order Code: SM6501
39 40
79 80
NOTE: Two 40-pin flat cables can be used instead of the target cable and the 80-QFP adapter
to connect the target board and the target system.
Figure 18–5. TB8444 Cable for 80-QFP Adapter
18–8