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
Page 3
PRODUCT OVERVIEWS3C8444
— 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
— 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
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.
Figure 1–1. S3C8444 Microcontroller
1–2
Page 4
S3C8444PRODUCT OVERVIEW
FEATURES
CPU
•SAM8 CPU core
Memory
•1040-byte of internal register file
•4-kbyte internal program memory area
External Interface
•64-Kbyte external data memory area
•64-Kbyte external program memory (ROMless)
•60-Kbyte external program memory (normal)
Instruction Set
•78 instructions
•IDLE and STOP instructions
Instruction Execution Time
•240 ns at 25 MHz f
Interrupts
•20 interrupt sources and 19 interrupt vectors
•Seven interrupt levels
•Fast interrupt processing (level0 and 3-7 only)
(minimum)
OSC
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)
Serial Port
•Full-duplex serial data port (UART)
•Four programmable operating modes
PWM and Capture
•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
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
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)
P0.0 - P0.7I/ONibble programmable port; input or output mode
P1.0 - P1.7I/OSame general characteristics as port 0; alternately
P2.0 - P2.7I/OGeneral I/O port with Schmitt trigger input or push-
P3.0 - P3.7I/OGeneral I/O port with bit programmable pins.
P4.0 - P4.7I/OGeneral I/O port with bit programmable pins.
Pin
Type
Pin
Description
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.
configurable as external interface address/data
lines AD0 - AD7.
pull 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)
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
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)
Circuit
Type
32, 1,
373-66AD0 - AD7
519 - 12
424-31(See pin
433-40INT4 -
QFP Pin
Number
80-75
Share
A8 - A15
AS, DS,
MW, DM,
MR, PM,
TA, TB
description)
INT11
Pins
1–7
Page 9
PRODUCT OVERVIEWS3C8444
Table 1–1. S3C8444 Pin Descriptions (Continued)
Pin
Name
P5.0–P5.7
P6.0–P6.7
ADC0–ADC7
AV
, AV
REF
SS
RxD
TxD
PWM0,
PWM1
TA, TB
INT0–INT11
TCCK, TDCK
TCG, TDG
CAP
WAIT
RESET
EA
V
, V
DD1
SS1
V
, V
DD2
SS2
XIN, X
OUT
AS
NC
Pin
Type
I/O
General I/O port with nibble programmable
Pin
Description
Circuit
Type
QFP Pin
Number
310–3—
pins. Schmitt trigger input or push-pull,
open-drain output mode. Mode and pull-ups
are assigned by software.
O
N-channel, open-drain output port; the pin
858–51—
circuits can withstand loads up to 9 volts.
I
Analog input pins for A/D converter module.
Alternatively used as general-purpose
2. 'Conversion time' is the time required from the moment a conversion operation starts until it ends.
3. t
is the CPU clock period.
CPU
Table 16–7. Serial Port Timing Characteristics in Mode 0 (10 MHz)
(T
= – 20°C to + 85°C, V
A
= 4.5 V to 6.0V, VSS = 0 V)
DD
ParameterSymbolMinTypMaxUnit
Serial port clock cycle timet
Output data setup to clock rising edget
Clock rising edge to input data validt
Output data hold after clock rising edget
Input data hold after clock rising edget
Serial port clock high, low widtht
SCK
S1
S2
H1
H2
HIGH
t
LOW
,
500
300
t
CPU
t
CPU
× 6
× 5
––300
50t
CPU
0––
200
t
CPU
× 3
DD
REF
V
V
700ns
–
–
400
NOTES:
1. All times are in ns and assume a 10 MHz input frequency.
2. The unit t
3. The oscillator frequency is identical to the CPU clock frequency.
means one CPU clock period.
CPU
16–6
Page 23
S3C8444ELECTRICAL DATA
t
HIGH
0.8 V
DD
0.2 V
DD
t
LOW
t
SCK
Figure 16–4. Serial Clock Waveform
16–7
Page 24
ELECTRICAL DATAS3C8444
CLOCK
DATA
DATA
OUT
SHIFT
IN
NOTE: The symbols sho
t
t
t
t
t
D0D1D2D3D4D5D6D7
H2
Output
Clock r
Output
Input d
data hold after clock rising edge
ata hold after clock rising edge
Serial
port clock cycle time
data setup to clock rising edge
ising edge to input data valid
wn in this diagram are defined as follows:
VALIDVALIDVALIDVALIDVALIDVALIDVALIDVALID
t
S2
t
H2
t
SCK
S1
S2
H1
S1
t
SCK
t
H1
16–8
Figure 16–5. Serial Port Timing in Mode 0 (Shift Register Mode)
AS ↑ to address float delay
AS ↑ to read data required valid
AS low width
Address float to DS ↓
DS (read) low width
DS (write) low width
DS ↓ to read data required valid
Read data to DS ↑ hold time
DS ↑ to address active delay
DS ↑ to AS ↓ delay
Write data valid to DS (write) ↓ delay
AS ↑ to wait delay
DS ↑ to wait hold time
R/W valid to AS ↑ delay
DS ↑ to write data not valid delay
10–50–
35–85–
–140–335
35–85–
0–0–
125–275–
65–165–
–80–255
0–0–
20–70–
30–80–
10–50–
–90–335
0–0–
20–70–
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
Page 26
ELECTRICAL DATAS3C8444
R/
W
14
PORT A
DM
A8–A15,
3
DM
9
PORT ADD0–D7A0–A7
12
AS
4
DS
(P3.7)
WAIT
Figure 16–6. External Memory Read and Write Timing
(See Table 15–7 for a description of each timing point.)
INOUTD0–D7 OUT
1011
5
7
6
WAIT WINDOW
12
8
15
13
16–10
Page 27
S3C8444ELECTRICAL DATA
V
DD
REFERENCE
VOLTAGE
INPUT
ANALOG
INPUT PIN
: The symbol 'R' signifies an offset resistor with a value of from 50 to 100 Ohms.
NOTE
Figure 16–7. Recommended A/D Converter Circuit for Highest Absolute Accuracy
10 µF
If this resistor is omitted, the absolute accuracy will be maximum of 4 LSBs.
ManufacturerProduct NameLoad Cap (pF)Oscillator Voltage
Range (V)
C1C2MINMAX
TDKCCR20.0MS6554.55.5
CCR24.0M6554.55.5
CCR25.0M6–54.55.5
NOTE: On-chip C: 30pF ±20% built in.
Remarks
SMD Type
SMD Type
SMD Type
16–12
Page 29
S3C8444ELECTRICAL DATA
Table 16–11. Main Oscillator Clock Stabilization Time (t
ST1
)
(TA = – 20°C + 85°C, VDD = 4.5 V to 6.0 V)
OscillatorTest ConditionMinTypMaxUnit
CrystalVDD = 4.5 V to 6.0 V––20ms
CeramicStabilization occurs when VDD is equal to the minimum
––10ms
oscillator voltage range.
External clockXIN input high and low level width (tXH, tXL)25–500ns
NOTE: Oscillation stabilization time (t
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 t
) is the time required for the CPU clock to return to its normal oscillation
ST1
time has elapsed (see Figure 15–3).
ST1
1 / f
OSC1
t
XL
t
XH
IN
V
DD
X
IN
Figure 16–8. Clock Timing Measurement at X
– 0. 5
0.4 V
V
16–13
Page 30
ELECTRICAL DATAS3C8444
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.
(TA = 25 °C)
38
f
= 25 MHz
36
OSC
34
32
(mA)
30
DD1
I
28
26
24
22
4.5
5.05.5
VDD (V)
Figure 16–9. IDD1 vs VDD
f
OSC
f
OSC
= 20 MHz
= 10 MHz
16–14
Page 31
S3C8444ELECTRICAL DATA
(TA = 25 °C)
13
12
11
10
9
(mA)
8
DD2
I
7
6
5
4
280
4.5
(TA = 25 °C)
f
= 25 MHz
OSC
f
= 20 MHz
OSC
f
= 10 MHz
OSC
5.05.5
VDD (V)
Figure 16–10. IDD2 vs VDD
260
240
220
200
(nA)
DD3
180
I
160
140
120
100
4.5
5.05.5
VDD (V)
Figure 16–11. IDD3 vs VDD
16–15
Page 32
ELECTRICAL DATAS3C8444
(TA = 25 °C)
18
16
14
12
(mA)
OL
10
I
8
6
4
2
VDD = 5.5 V
VDD = 4.5 V
0
0.2
0.4
V
0.60.81.0
(V)
OL1
1.2
Figure 16–12. IOL vs VOL1
16–16
Page 33
S3C8444ELECTRICAL DATA
(TA = 25 °C)
18
16
14
12
(mA)
OL
10
I
8
6
4
2
VDD = 5.5 V
VDD = 4.5 V
0
0.2
0.4
V
0.60.81.0
(V)
OL2
1.2
Figure 16–13. IOL vs VOL2
16–17
Page 34
ELECTRICAL DATAS3C8444
(TA = 25 °C)
-12
-11
-10
-9
-8
-7
-6
(mA)
OH
-5
I
-4
-3
-2
-1
0
2.4
VDD = 5.5 V
VDD = 4.5 V
3.0
3.64.24.8
V
(V)
OH2
Figure 16–14. IOH vs VOH2
5.4
16–18
Page 35
S3C8444MECHANICAL DATA
17MECHANICAL DATA
23.90
± 0.3
17.90 ± 0.3
14.00 ± 0.2
#80
0.80
#1
20.00
± 0.2
80-QFP-1420C
0.35
± 0.1
± 0.15 MAX
(0.80)
(1.00)
0~8°
0.15
0.10 MAX
0.80 ± 0.20
0.05 MIN
2.65
± 0.10
3.00 MAX
+0.10
- 0.05
0.80
± 0.20
: Dimensions are in millimeters.
NOTE
Figure 17–1. S3C8444 QFP Standard Package Dimensions (in Millimeters)
17–1
Page 36
MECHANICAL DATAS3C8444
14.00BSC
12.00BSC
0BSC
14.0
12.00BSC
#80
#1
0.50
80-TQFP-1212-AN
0.17~0.27
± 0.08 MAX M
(1.25)
0~7°
0.09~0.20
0.10 MAX
0.65 ± 0.15
0.25GAUGE PLANE
0.05~0.15
± 0.05
1.00
1.20 MAX
17–2
NOTE
: Dimensions are in millimeters.
Figure 17–2. S3C8444 TQFP Standard Package Dimensions (in Millimeters)
Page 37
S3C8444DEVELOPMENT TOOLS
18DEVELOPMENT 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
Page 38
DEVELOPMENT TOOLSS3C8444
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
5-Volt
Power
Supply
Front
Panel
Board
Target
Application
System
Internal BUS
Main Board
Personality
Board
POD
TB8444
Target
Board
18–2
Target Cable
Figure 18–1. SMDS Product Configuration (SMDS2)
EVA
Chip
Page 39
S3C8444DEVELOPMENT TOOLS
IBM-PC AT or Compatible
SMDS2+RS-232C
PROM/MTP Writer Unit
RAM Break/Display Unit
Bus
Trace/Timer Unit
SAM8 Base Unit
Power Supply Unit
POD
Figure 18–2. SMDS Product Configuration (SMDS2+)
Target
Application
System
Target
Cable
TB8444
Target
Board
EVA
Chip
18–3
Page 40
DEVELOPMENT TOOLSS3C8444
40-Pin Connector
TB8444 TARGET BOARD
The TB8444 target board is used for the S3C8444 microcontroller. It is supported by the SMDS2 or SMDS2+
development system.
TB8444
To User_VCC
OffOn
RESET1
25
CN1
1
External
Triggers
CH1
Stop+Idle
+
U3U1
144 QFP
S3E8440
EVA Chip
SW1
P7.7
P7.6
AVSS
3940
P7.5
P7.4
P7.3
P7.2
P7.1
J101
21
40-Pin Connector
GNDVCC
P7.0
AVREF
J102
21
3940
18–4
CH2
SM1296A
Figure 18–3. TB8444Target Board Configuration
Page 41
S3C8444DEVELOPMENT TOOLS
Table 18–1. Power Selection Settings for TB8444
'To User_Vcc' SettingsOperating ModeComments
To User_Vcc
OFFON
a
To User_Vcc
OFFON
a
TB8444
VCC
SMDS2/SMDS2+
TB8444
VCC
VSS
External
VCC
VSS
Target
System
Target
System
The SMDS2/SMDS2+ main
board supplies VCC to the
target board (evaluation chip)
and the 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 PartComments
Connector from
EXTERNAL
TRIGGERS
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
Page 42
DEVELOPMENT TOOLSS3C8444
Table 18–3. Analog Pin Connection Switch Settings (TB8444)
Analog Pin SwitchOperating Mode
DIP SW1: ON
ANALOG SIGNALS
TARGET
BOARD
•
•
•
TARGET
SYSTEM
DIP SW1: OFF
TARGET
BOARD
ADC0
|
ADC7
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.
•
•
•
HOLES DRILLED
FOR DIRECT CONNECTION
•
•
•
TARGET
SYSTEM
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.