MC9S08SC4
MC9S08SC4
MC9S08SC4 8-Bit
Microcontroller Data Sheet
MC9S08SC4
948F-01
8-Bit HCS08 Central Processor Unit (CPU) • Breakpoint capability to allow single breakpoint setting
• Up to 40 MHz HCS08 CPU (central processor unit); up during in-circuit debugging
to 20 MHz bus frequency Peripherals
• HC08 instruction set with added BGND instruction • SCI — Serial Communication Interface
On-Chip Memory — Full-duplex non-return to zero (NRZ)
• 4 KB of FLASH with read/program/erase over full — LIN master extended break generation
operating voltage and temperature — LIN slave extended break detection
• 256 bytes of Random-access memory (RAM) — Wake-up on active edge
Power-Saving Modes • TPMx — Two 2-channel Timer/PWM modules (TPM1
• Two very low power stop modes and TPM2)
• Reduced power wait mode — 16-bit modulus or up/down counters
— Input capture, output compare, buffered
Clock Source Options edge-aligned or center-aligned PWM
• Oscillator (XOSC) — Loop-control Pierce oscillator;
• ADC — Analog to Digital Converter
Crystal or ceramic resonator range of 32 kHz to 38.4 kHz
or 1 MHz to 16 MHz — 8-channel, 10-bit resolution
• Internal Clock Source (ICS) — Internal clock source — 2.5 μs conversion time
module containing a frequency-locked loop (FLL) — Automatic compare function
controlled by internal or external reference; precision — Temperature sensor
trimming of internal reference allows 0.2 % resolution — Internal bandgap reference channel
and 2.0 % deviation over temperature and voltage;
supports bus frequencies from 2 MHz to 20 MHz. Input/Output
• 12 general purpose I/O pins (GPIOs)
System Protection • 8 interrupt pins with selectable polarity
• Watchdog computer operating properly (COP) reset with
• Hysteresis and configurable pull-up device on all input
option to run from dedicated 1 kHz internal clock source
pins; Configurable slew rate and drive strength on all
or bus clock
output pins.
• Low-voltage detection with reset or interrupt; selectable
trip points Package Options
• Illegal opcode detection with reset • 16-TSSOP
• Illegal address detection with reset Operating Parameters
• FLASH block protect • 4.5-5.5 V operation
• Reset on loss of clock • C,V, M temperature ranges available, covering -40 -
125 °C operation
Development Support
• Single-wire background debug interface
Freescale reserves the right to change the detail specifications as may be required to permit
improvements in the design of its products.
© Freescale Semiconductor, Inc., 2009-2010. All rights reserved.
Table of Contents
Chapter 1 3.9 Internal Clock Source (ICS) Characteristics . . . . . . . . 18
Device Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 3.10 ADC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.1 MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 3.11 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Chapter 2 3.11.1 Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . 21
Pins and Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 3.11.2 TPM Module Timing . . . . . . . . . . . . . . . . . . . . . 22
2.1 Device Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . .5 3.12 Flash Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 3 3.13 EMC Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 3.13.1 Radiated Emissions . . . . . . . . . . . . . . . . . . . . . 24
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 Chapter 4
3.2 Parameter Classification . . . . . . . . . . . . . . . . . . . . . . . . .7 Ordering Information and Mechanical Drawings . . . . . . . . . . 25
3.3 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . .7 4.1 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.4 Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . .8 4.1.1 Device Numbering Scheme . . . . . . . . . . . . . . . 25
3.5 ESD Protection and Latch-Up Immunity . . . . . . . . . . . . .9 4.2 Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.6 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 4.3 Mechanical Drawings. . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.7 Supply Current Characteristics . . . . . . . . . . . . . . . . . . .13 Chapter 5
3.8 External Oscillator (XOSC) Characteristics . . . . . . . . .16 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
PTA3/PIA3/ADP3
HCS08 CORE
PORT A
PTA2/PIA2/ADP2
BKGD/MS
PTA1/PIA1/TPM2CH0/ADP1
CPU BDC
RESET PTA0/PIA0/TPM1CH0/TCLK/ADP0
TCLK
HCS08 SYSTEM CONTROL 16-BIT TIMER/PWM TPM1CH0
MODULE (TPM1) TPM1CH1
RESETS AND INTERRUPTS PTB7/EXTAL
MODES OF OPERATION PTB6/XTAL
POWER MANAGEMENT TCLK
16-BIT TIMER/PWM TPM2CH0 PTB5/TPM1CH1
COP LVD MODULE (TPM2) PORT B
TPM2CH1 PTB4/TPM2CH1
PTB3/PIB3/ADP7
RxD
SERIAL COMMUNICATIONS PTB2/PIB2/ADP6
USER FLASH TxD
INTERFACE MODULE (SCI) PTB1/PIB1/TxD/ADP5
(MC9S08SC4 = 4096 BYTES)
PTB0/PIB0/RxD/ADP4
USER RAM
NOTES
1: VDDA/VREFH and VSSA/VREFL, are derived from VDD and VSS respectively.
RESET 1 16 PTA0/PIA0/TPM1CH0/TCLK/ADP0
BKGD/MS 2 15 PTA1/PIA1/TPM2CH0/ADP1
VDD 3 14 PTA2/PIA2/ADP2
VSS 4 13 PTA3/PIA3/ADP3
PTB7/EXTAL 5 12 PTB0/PIB0/RxD/ADP4
PTB6/XTAL 6 11 PTB1/PIB1/TxD/ADP5
PTB5/TPM1CH1 7 10 PTB2/PIB2/ADP6
PTB4/TPM2CH1 8 9 PTB3/PIB3/ADP7
Pin Priority
Number Lowest Highest
Pin Priority
Number Lowest Highest
P Those parameters are guaranteed during production testing on each individual device.
Those parameters are achieved by the design characterization by measuring a statistically relevant
C
sample size across process variations.
Those parameters are achieved by design characterization on a small sample size from typical devices
T under typical conditions unless otherwise noted. All values shown in the typical column are within this
category.
NOTE
The classification is shown in the column labeled “C” in the parameter tables where
appropriate.
Single-layer board
3 D 16-pin TSSOP θJA 130 °C/W
Thermal resistance1,2
Four-layer board
4 D 16-pin TSSOP θJA 87 °C/W
1
Junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting
site (board) temperature, ambient temperature, air flow, power dissipation of other components on the board,
and board thermal resistance.
2
Junction to Ambient Natural Convection
TA = Ambient temperature, °C
θJA = Package thermal resistance, junction-to-ambient, °C/W
PD = Pint + PI/O
Pint = IDD × VDD, Watts — chip internal power
PI/O = Power dissipation on input and output pins — user determined
For most applications, PI/O << Pint and can be neglected. An approximate relationship between PD and TJ (if PI/O is neglected)
is:
3.6 DC Characteristics
This section includes information about power supply requirements and I/O pin characteristics.
Table 3-6. DC Characteristics
resistance values for positive and negative clamp voltages, then use the larger of the two values.
7 The RESET pin does not have a clamp diode to V . Do not drive this pin above V .
DD DD
8
Maximum is highest voltage that POR will occur.
9 Simulated, not tested
10 Factory trimmed at V
DD = 5.0 V, Temp = 25°C
2
125°C
25°C Max 1.5V@20mA
–40°C
1.5
VOL (V)
1
0.5
0
0 5 10 15 20 25
IOL (mA)
a) VDD = 5V, High Drive
2
125°C
25°C Max 1.5V@4mA
–40°C
1.5
VOL (V)
0.5
0
0 1 2 3 4 5
IOL (mA)
a) VDD = 5V, Low Drive
2
125°C
25°C Max 1.5V@ –20mA
–40°C
1.5
0.5
0
0 –5 –10 –15 –20 –25
IOH (mA)
a) VDD = 5V, High Drive
2
125°C
25°C Max 1.5V@ –4mA
–40°C
1.5
VDD – VOH (V)
0.5
0
0 –1 –2 –3 –4 –5
IOH (mA)
a) VDD = 5V, Low Drive
VDD
Num C Parameter Symbol Typ1 Max2 Unit
(V)
10
FEI
FBELP
8
0
0 1 2 4 8 16 20
fbus (MHz)
Figure 3-5. Typical Run IDD vs. Bus Frequency (VDD = 5V)
4
Run IDD (mA)
0
–40 0 25 85 105 125
Temperature (°C)
Note: ICS is configured to FEI.
Figure 3-6. Typical Run IDD vs. Temperature (VDD = 5V; fbus = 8MHz)
50
STOP2
STOP3
40
STOP IDD (µA)
30
20
10
0
–40 0 25 85 105 125
Temperature (°C)
Figure 3-7. Typical Stop IDD vs. Temperature (VDD = 5V)
Table 3-8. Oscillator Electrical Specifications (Temperature Range = –40 to 125°C Ambient)
specifications. This data will vary based upon the crystal manufacturer and board design. The crystal should be characterized
by the crystal manufacturer.
4 4 MHz crystal.
MCU
EXTAL XTAL
RS
RF
C1 Crystal or Resonator C2
Input — RADIN — 3 5 kΩ —
Resistance
SIMPLIFIED
INPUT PIN EQUIVALENT
CIRCUIT ZADIN
SIMPLIFIED
Pad
ZAS leakage CHANNEL SELECT
due to CIRCUIT
ADC SAR
input ENGINE
RAS RADIN
protection
+
VADIN
–
CAS
VAS +
–
RADIN
INPUT PIN
RADIN
INPUT PIN
RADIN
Input Leakage 10 bit mode D EIL — ±0.2 ±2.5 LSB Pad leakage2
Error * RAS
8 bit mode — ±0.1 ±1
3.11 AC Characteristics
This section describes AC timing characteristics for each peripheral system.
2
This is the shortest pulse that is guaranteed to be recognized as a reset pin request. Shorter pulses are not guaranteed to
override reset requests from internal sources. Refer to Figure 3-9.
3
When any reset is initiated, internal circuitry drives the reset pin low for about 66 cycles of tcyc. After POR reset the bus clock
frequency changes to the untrimmed DCO frequency (freset = (fdco_ut)/4) because TRIM is reset to 0x80 and FTRIM is reset
to 0, and there is an extra divide-by-two because BDIV is reset to 0:1. After other resets trim stays at the pre-reset value.
4
This is the minimum pulse width that is guaranteed to pass through the pin synchronization circuitry. Shorter pulses may or
may not be recognized. In stop mode, the synchronizer is bypassed so shorter pulses can be recognized in that case.
5
Timing is shown with respect to 20% VDD and 80% VDD levels. Temperature range –40°C to 125°C.
textrst
RESET PIN
tCYC
ipg_clk
tTEXT
EXTERNAL
CLOCK
tTCLKH tTCLKL
tICPW
INPUT
CAPTURE
defines typical endurance, please refer to Engineering Bulletin EB619/D, Typical Endurance for Nonvolatile Memory.
4 Typical data retention values are based on intrinsic capability of the technology measured at high temperature and de-rated
to 25°C using the Arrhenius equation. For additional information on how Freescale defines typical data retention, please refer
to Engineering Bulletin EB618/D, Typical Data Retention for Nonvolatile Memory.
Level1
Parameter Symbol Conditions Frequency fOSC/fBUS Unit
(Max)
IEC Level N —
SAE Level 1 —
1
Data based on qualification test results.
Chapter 4
Ordering Information and Mechanical Drawings
4.1 Ordering Information
This section contains ordering information for MC9S08SC4 device.
Table 4-1. Device Numbering System
Memory Available
Device Number1
FLASH RAM Packages2
S 9 S08 SC 4 E0 M TG R
Status Tape and Reel Suffix (optional)
- S = Auto Qualified
Package Designator
Two letter descriptor
Main Memory Type (refer to Table 4-2).
- 9 = Flash-based
Temperature Option
Core - C = –40 to 85 °C
- V = –40 to 105 °C
S Family - M = –40 to 125 °C
Chapter 5
Revision History
To provide the most up-to-date information, the version of our documents on the World Wide Web will be the most current.
Your printed copy may be an earlier revision. To verify you have the latest information available, refer to:
http://freescale.com/
The following revision history table summarizes changes contained in this document.
Revision Revision
Description of Changes
Number Date
3 3/2010 • Updated TSSOP-16 package diagram, clarified ICS deviation, SCI LIN features at page
1.
• Updated Table 3-6, Table 3-7, Table 3-9, Table 3-12, Table 4-1.
• Updated Figure 3-5 and Figure 3-7.
Web Support:
http://www.freescale.com/support
MC9S08SC4
Rev.4
6/2010