Dsa 29642
Dsa 29642
This document contains information on a new product. Specifications and information herein
are subject to change without notice.
© Freescale Semiconductor, Inc., 2007-2008. All rights reserved.
Related Documentation
For the latest version of the documentation, check our website at:
http://www.freescale.com
MC9S08AC128 MCU Series Data Sheet, Rev. 1
2 Freescale Semiconductor
PORT A
BKGD/MS BDC CPU CYCLIC REDUNDANCY PTA4
PTA3
CHECK MODULE (CRC)
PTA2
PTA1
HCS08 SYSTEM CONTROL PTA0
INTERNAL CLOCK
RESET
GENERATOR (ICG) PTB7/AD1P7
RESETS AND INTERRUPTS
MODES OF OPERATION PTB6/AD1P6
POWER MANAGEMENT EXTAL PTB5/AD1P5
LOW-POWER OSC
PORT B
RQ/TPMCLK XTAL PTB4/AD1P4
PTB3/AD1P3
RTI COP PTB2/AD1P2
8-BIT KEYBOARD KBI1P7–KBI1P0 PTB1/TPM3CH1/AD1P1
IRQ LVD INTERRUPT MODULE (KBI1) PTB0/TPM3CH0/AD1P0
VDDAD PTC6
10-BIT PTC5/RxD2
VSSAD AD1P15–AD1P0
ANALOG-TO-DIGITAL PTC4
PORT C
VREFL
CONVERTER (ADC) PTC3/TxD2
VREFH
PTC2/MCLK
USERMEMORY SCL PTC1/SDA1
FLASH, RAM IIC MODULE (IIC1) SDA
PTC0/SCL1
(BYTES)
(AW128 = 128K, 8K)
(AW96 = 96K, 6K) SERIAL COMMUNICATIONS RXD1 PTD7/KBI1P7/AD1P15
INTERFACE MODULE (SCI1) TXD1 PTD6/TPM1CLK/AD1P14
VDD PTD5/AD1P13
VOLTAGE REGULATOR
PORT D
PTD4/TPM2CLK/AD1P12
VSS SERIAL COMMUNICATIONS RXD2
PTD3/KBI1P6/AD1P11
INTERFACE MODULE (SCI2) TXD2 PTD2/KBI1P5/AD1P10
PTJ7
PTJ6 PTD1/AD1P9
PTJ5 SPSCK1 PTD0/AD1P8
PORT J
PTJ4 MOSI1
PTJ3 SERIAL PERIPHERAL PTE7/SPSCK1
MISO1
PTJ2 INTERFACE MODULE (SPI1)
SS1 PTE6/MOSI1
PTJ1
PTJ0 SPSCK2 PTE5/MISO1
SERIAL PERIPHERAL MOSI2 PTE4/SS1
PORT E
PTH4/SPSCK2 PTE2/TPM1CH0
PTH3/TPM2CH5 TPM1CLK or TPMCLK PTE1/RxD1
PTH2/TPM2CH4 6-CHANNEL TIMER/PWM
MODULE (TPM1) TPM1CH0–TPM1CH5 PTE0/TxD1
PTH1/TPM2CH3
PTH0/TPM2CH2
PTF7
TPM2CLK or TPMCLK
PTG6/EXTAL 6-CHANNEL TIMER/PWM PTF6
PTG5/XTAL TPM2CH0–TPM2CH5 PTF5/TPM2CH1
PORT F
MODULE (TPM2)
PTF4/TPM2CH0
PORT G
PTG4/KBI1P4
PTG3/KBI1P3 PTF3/TPM1CH5
TPMCLK PTF2/TPM1CH4
PTG2/KBI1P2 2-CHANNEL TIMER/PWM
PTG1/KBI1P1 TPM3CH1 PTF1/TPM1CH3
MODULE (TPM3) PTF0/TPM1CH2
PTG0/KBIP0 TPM3CH0
- Pin not connected in 64-pin and 48-pin packages - Pin not connected in 48-pin package
PTD6/TPM1CLK/AD1P14
PTD4/TPM2CLK/AD1P12
PTD7/KBI1P7/AD1P15
PTD5/AD1P13
PTG4/KBI1P4
PTH5/MIOSI2
PTH4/SPCK2
PTH6/MISO2
PTG6/EXTAL
PTC2/MCLK
PTC1/SDA1
PTC5/RxD2
PTC0/SCL1
PTG5/XTAL
PTC3/TxD2
BKGD/MS
VDD (NC)
VREFH
VREFL
VSS
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
PTC4 1 60 PTG3/KBI1P3
IRQ/TPMCLK 2 59 PTD3/KBI1P6/AD1P11
RESET 3 58 PTD2/KBI1P5/AD1P10
PTF0/TPM1CH2 4 57 VSSAD
PTF1/TPM1CH3 5 56 VDDAD
PTF2/TPM1CH4 6 55 PTD1/AD1P9
PTF3/TPM1CH5 7 54 PTD0/AD1P8
PTF4/TPM2CH0 8 53 PTB7/AD1P7
PTC6 9 52 PTB6/AD1P6
PTF7 10 80-Pin 51 PTB5/AD1P5
PTF5/TPM2CH1 11 LQFP 50 PTB4/AD1P4
PTF6 12 49 PTB3/AD1P3
PTJ0 13 48 PTB2/AD1P2
PTJ1 14 47 PTB1/TPM3CH1/AD1P1
PTJ2 15 46 PTB0/TPM3CH0/AD1P0
PTJ3 16 45 PTH3/TPM2CH5
PTE0/TxD1 17 44 PTH2/TPM2CH4
PTE1/RxD1 18 43 PTH1/TPM2CH3
PTE2/TPM1CH0 19 42 PTH0/TPM2CH2
PTE3/TPM1CH1 20 41 PTA7
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
PTJ6
PTJ7
PTG0/KBI1P0
PTG1/KBI1P1
PTG2/KBI1P2
PTA0
PTJ4
PTJ5
PTA1
PTA2
PTA3
PTA4
PTA5
PTA6
packages.
Figure 2-2 shows the 64-pin package assignments for the MC9S08AC128 Series devices.
PTD4/AD1P12/TPM2CLK
PTD7/AD1P15/KBI1P7
PTD6//TPM1CLK
PTD5/AD1P13
PTG4/KBI1P4
PTG6/EXTAL
PTC2/MCLK
PTC5/RxD2
PTC1/SDA1
PTC0/SCL1
PTG5/XTAL
PTC3/TxD2
BKGD/MS
VREFH
VREFL
VSS
64 49
63 62 61 60 59 58 57 56 55 54 53 52 51 50
PTC4 1 48 PTG3/KBI1P3
IRQ/TPMCLK 2 47 PTD3/KBI1P6/AD1P11
RESET 3 46 PTD2KBI1P5/AD1P10
PTF0/TPM1CH2 4 45 VSSAD
PTF1/TPM1CH3 5 44 VDDAD
PTF2/TPM1CH4 6 43 PTD1/AD1P9
PTF3/TPM1CH5 7 42 PTD0/AD1P8
PTF4/TPM2CH0 8 41 PTB7/AD1P7
64-Pin QFP
PTC6 9 40 PTB6/AD1P6
PTF7 10 39 PTB5/AD1P5
PTF5/TPM2CH1 11 38 PTB4/AD1P4
PTF6 12 37 PTB3/AD1P3
PTE0/TxD1 13 36 PTB2/AD1P2
PTE1/RxD1 14 35 PTB1/TPM3CH1/AD1P1
PTE2/TPM1CH0 15 34 PTB0/TPM3CH0/AD1P0
PTE3/TPM1CH1 16 33 PTA7
18 19 20 21 22 23 24 25 26 27 28 29 30 31
17 32
Note: Pin names in bold
PTA4
PTA5
PTA6
PTA3
PTG2/KBI1P2
PTA0
PTA1
PTA2
PTE7/SPSCK1
VDD
PTG0/KBI1P0
PTG1/KBI1P1
PTE4/SS1
PTE5/MISO1
PTE6/MOSI1
VSS
Figure 2-3 shows the 44-pin LQFP pin assignments for the MC9S08AC128 Series device.
PTG6/EXTAL
PTC2/MCLK
PTC5/RxD2
PTC1/SDA1
PTC0/SCL1
PTG5/XTAL
PTC3/TxD2
BKGD/MS
VREFH
VREFL
VSS
44 34
43 42 41 40 39 38 37 36 35
PTC4 1
33 PTG3/KBI1P3
IRQ/TPMCLK 2 32 PTD3/KBI1P6/AD1P11
RESET 3 31 PTD2/KBI1P5/AD1P10
PTF0/TPM1CH2 4 30 VSSAD
PTF1/TPM1CH3 5 29 VDDAD
PTF4/TPM2CH0 6
44-Pin LQFP
28 PTD1/AD1P9
PTF5/TPM2CH1 7 27 PTD0/AD1P8
PTE0/TxD1 8 26 PTB3/AD1P3
PTE1/RxD1 9 PTB2/AD1P2
25
PTE2/TPM1CH0 10 PTB1/TPM3CH1/AD1P1
24
PTE3/TPM1CH1 11
23 PTB0/TPM3CH0/AD1P0
13 14 15 16 17 18 19 20 21
12 22
PTE4/SS1
PTE5/MISO1
PTE6/MOSI1
PTE7/SPSCK1
VSS
VDD
PTG0/KBI1P0
PTG1/KBI1P1
PTG2/KBI1P2
PTA0
PTA1
P Those parameters are guaranteed during production testing on each individual device.
Those parameters are achieved by the design characterization by measuring a
C
statistically relevant sample size across process variations.
Those parameters are achieved by design characterization on a small sample size from
T typical devices under typical conditions unless otherwise noted. All values shown in
the typical column are within this category.
D Those parameters are derived mainly from simulations.
NOTE
The classification is shown in the column labeled “C” in the parameter tables where
appropriate.
80-pin LQFP
1s 61
2s2p 47
64-pin QFP
1s θJA 57 °C/W
2s2p 43
44-pin LQFP
1s 73
2s2p 56
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
3 1s - Single Layer Board, one signal layer
4 2s2p - Four Layer Board, 2 signal and 2 power layers
Series Resistance R1 0 Ω
Machine Storage Capacitance C 200 pF
Number of Pulse per pin – 3
Minimum input voltage limit – 2.5 V
Latch-up
Maximum input voltage limit 7.5 V
3.6 DC Characteristics
This section includes information about power supply requirements, I/O pin characteristics, and power supply current in various
operating modes.
VDD–VOH (V)
Average of IOH
–6.0E-3
–5.0E-3 –40°C
25°C
–4.0E-3 125°C
IOH (A)
–3.0E-3
–2.0E-3
–1.0E-3
000E+0
0 0.3 0.5 0.8 0.9 1.2 1.5
VSupply–VOH
Figure 3-1. Typical IOH (Low Drive) vs VDD–VOH at VDD = 3 V
IOH (A)
–10.0E-3
–8.0E-3
–6.0E-3
–4.0E-3
–2.0E-3
000.0E-3
0 0.3 0.5 0.8 0.9 1.2 1.5
VSupply–VOH
Figure 3-2. Typical IOH (High Drive) vs VDD–VOH at VDD = 3 V
Average of IOH
–7.0E-3
–6.0E-3 –40°C
25°C
–5.0E-3 125°C
–4.0E-3
IOH (A)
–3.0E-3
–2.0E-3
–1.0E-3
000E+0
0.00 0.30 0.50 0.80 1.00 1.30 2.00
VDD–VOH (V)
VSupply–VOH
Figure 3-3. Typical IOH (Low Drive) vs VDD–VOH at VDD = 5 V
–25.0E-3
–20.0E-3 –40°C
25°C
125°C
IOH (A)
–15.0E-3
–10.0E-3
–5.0E-3
000.0E+3
0.00 0.30 0.50 0.80 1.00 1.30 2.00
VSupply–VOH
Figure 3-4. Typical IOH (High Drive) vs VDD–VOH at VDD = 5 V
4 5 4.9 5.105
2 C Run supply current measured at
RIDD mA –40 to 125°C
(CPU clock = 16 MHz, fBus = 8 MHz) 3 3.5 3.70
18
14
12
10
IDD
4
1 MHz, ADC off, FEE, 25°C
0
2.2 2.6 3.0 3.4 3.8 4.2 4.6 5.0 5.4
VDD
Note: External clock is square wave supplied by function generator. For FEE mode, external reference frequency is 4 MHz
Figure 3-5. Typical Run IDD for FBE and FEE Modes, IDD vs. VDD
–40°C
Stop2 IDD (A) 25°C
55°C
85°C
Average of Measurement IDD
–8.0E-3
–7.0E-3
–6.0E-3
–5.0E-3
IDD (A)
–4.0E-3
–3.0E-3
–2.0E-3
–1.0E-3
000E+0
1.8 2 2.5 3 3.5 4 4.5 5
VDD (V)
Figure 3-6. Typical Stop 2 IDD
–40°C
Stop3 IDD (A) 25°C
55°C
85°C
Average of Measurement IDD
–8.0E-3
–7.0E-3
–6.0E-3
–5.0E-3
IDD (A)
–4.0E-3
–3.0E-3
–2.0E-3
–1.0E-3
000E+0
1.8 2 2.5 3 3.5 4 4.5 5
VDD (V)
Figure 3-7. Typical Stop3 IDD
Temp Sensor
25 °C VTEMP25 — 1.396 — V
Voltage
1
Typical values assume VDDAD = 5.0 V, Temp = 25°C, fADCK = 1.0MHz unless otherwise stated. Typical values are for reference
only and are not tested in production.
2 dc potential difference.
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
Table 3-9. 5 Volt 10-bit ADC Characteristics (VREFH = VDDAD, VREFL = VSSAD)
ADC asynchronous clock source High speed (ADLPC = 0) P fADACK 2 3.3 5 MHz
tADACK = 1/fADACK
Low power (ADLPC = 1) 1.25 2 3.3
Table 3-9. 5 Volt 10-bit ADC Characteristics (VREFH = VDDAD, VREFL = VSSAD)
ICG
EXTAL XTAL
RS
RF
Crystal or Resonator
C1
C2
Table 3-10. ICG DC Electrical Specifications (Temperature Range = –40 to 125°C Ambient)
3
Loss of reference frequency is the reference frequency detected internally, which transitions the ICG into self-clocked mode if it
is not in the desired range.
4
Loss of DCO frequency is the DCO frequency detected internally, which transitions the ICG into FLL bypassed external mode
(if an external reference exists) if it is not in the desired range.
5
This parameter is characterized before qualification rather than 100% tested.
6
Proper PC board layout procedures must be followed to achieve specifications.
7
This specification applies to the period of time required for the FLL to lock after entering FLL engaged internal or external modes.
If a crystal/resonator is being used as the reference, this specification assumes it is already running.
8
Jitter is the average deviation from the programmed frequency measured over the specified interval at maximum fICGOUT.
Measurements are made with the device powered by filtered supplies and clocked by a stable external clock signal. Noise
injected into the FLL circuitry via VDDA and VSSA and variation in crystal oscillator frequency increase the CJitter percentage for
a given interval.
9
See Figure 3-9
Variable
3V
5V
3.10 AC Characteristics
This section describes ac timing characteristics for each peripheral system. For detailed information about how clocks for the
bus are generated, see Chapter 10, “Internal Clock Generator (S08ICGV4).”
the reset pin about 38 bus cycles later to distinguish external reset requests from internal requests.
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
BKGD/MS
RESET
tMSH
tMSSU
tIHIL
IRQ/KBIP7-KBIP4
IRQ/KBIPx
tILIH
tTPMext
tclkh
TPMxCLK
tclkl
tICPW
TPMxCHn
TPMxCHn
tICPW
Operating frequency3
Master fop fBus/2048 fBus/2 Hz
Slave fop dc fBus/4
1 Cycle time
Master tSCK 2 2048 tcyc
Slave tSCK 4 — tcyc
SS1
(OUTPUT)
2 1 3
SCK 5
(CPOL = 0)
(OUTPUT) 4
SCK 5
(CPOL = 1)
(OUTPUT) 4
6 7
MISO
(INPUT) MSB IN2 BIT 6 . . . 1 LSB IN
10 10 11
MOSI
(OUTPUT) MSB OUT2 BIT 6 . . . 1 LSB OUT
NOTES:
1. SS output mode (MODFEN = 1, SSOE = 1).
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB.
Figure 3-15. SPI Master Timing (CPHA = 0)
SS(1)
(OUTPUT)
1
2 3
SCK
(CPOL = 0) 5
(OUTPUT) 4
SCK 5
(CPOL = 1)
4
(OUTPUT)
6 7
MISO
(INPUT) MSB IN(2) BIT 6 . . . 1 LSB IN
10 11
MOSI
(OUTPUT) MSB OUT(2) BIT 6 . . . 1 LSB OUT
NOTES:
1. SS output mode (MODFEN = 1, SSOE = 1).
2. LSBF = 0. For LSBF = 1, bit order is LSB, bit 1, ..., bit 6, MSB.
Figure 3-16. SPI Master Timing (CPHA = 1)
SS
(INPUT)
1 3
SCK
(CPOL = 0) 5
(INPUT) 4
2
SCK
(CPOL = 1) 5
(INPUT) 4 9
8 10 11
MISO SEE
(OUTPUT) SLAVE MSB OUT BIT 6 . . . 1 SLAVE LSB OUT NOTE
6 7
MOSI
(INPUT) MSB IN BIT 6 . . . 1 LSB IN
NOTE:
1. Not defined but normally MSB of character just received
Figure 3-17. SPI Slave Timing (CPHA = 0)
SS
(INPUT)
1 3
2
SCK
(CPOL = 0) 5
(INPUT) 4
SCK 5
(CPOL = 1) 4
(INPUT)
10 11 9
MISO SEE
(OUTPUT) NOTE SLAVE MSB OUT BIT 6 . . . 1 SLAVE LSB OUT
8 6 7
MOSI
(INPUT) MSB IN BIT 6 . . . 1 LSB IN
NOTE:
1. Not defined but normally LSB of character just received
Figure 3-18. SPI Slave Timing (CPHA = 1)
Program/erase endurance4
9 C TL to TH = –40°C to + 125°C 10,000 — — cycles
T = 25°C — 100,000 —
how Freescale Semiconductor defines typical endurance, please refer to Engineering Bulletin EB619/D, Typical
Endurance for Nonvolatile Memory.
5
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 Semiconductor 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 1 —
SAE Level 4 —
Table 3-17.
1
Data based on qualification test results. Not tested in production.
B Self-recovering The MCU does not perform as designed during exposure. The MCU returns
failure automatically to normal operation after exposure is removed.
C Soft failure The MCU does not perform as designed during exposure. The MCU does not return to
normal operation until exposure is removed and the RESET pin is asserted.
D Hard failure The MCU does not perform as designed during exposure. The MCU does not return to
normal operation until exposure is removed and the power to the MCU is cycled.
E Damage The MCU does not perform as designed during and after exposure. The MCU cannot
be returned to proper operation due to physical damage or other permanent
performance degradation.
The following revision history table summarizes changes contained in this document.
Initial release of a separate data sheet and reference manual. Removed PTH7,
clarified SPI as one full and one master-only, added missing RoHS logo, updated
1 9/2008
back cover addresses, and incorporated general release edits and updates.
Added some finalized electrical characteristics.
E-mail:
[email protected]
Europe, Middle East, and Africa: Information in this document is provided solely to enable system and software implementers to use
Freescale Halbleiter Deutschland GmbH
Technical Information Center Freescale Semiconductor products. There are no express or implied copyright licenses granted
Schatzbogen 7 hereunder to design or fabricate any integrated circuits or integrated circuits based on the information
81829 Muenchen, Germany
+44 1296 380 456 (English) in this document.
+46 8 52200080 (English)
+49 89 92103 559 (German) Freescale Semiconductor reserves the right to make changes without further notice to any products
+33 1 69 35 48 48 (French) herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the
[email protected]
suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any
Japan: liability arising out of the application or use of any product or circuit, and specifically disclaims any
Freescale Semiconductor Japan Ltd.
Headquarters and all liability, including without limitation consequential or incidental damages. “Typical” parameters
ARCO Tower 15F which may be provided in Freescale Semiconductor data sheets and/or specifications can and do
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064 vary in different applications and actual performance may vary over time. All operating parameters,
Japan including “Typicals” must be validated for each customer application by customer’s technical experts.
0120 191014 or +81 3 5437 9125
[email protected] Freescale Semiconductor does not convey any license under its patent rights nor the rights of others.
Freescale Semiconductor products are not designed, intended, or authorized for use as components
Asia/Pacific:
Freescale Semiconductor China Ltd. in systems intended for surgical implant into the body, or other applications intended to support or
Exchange Building 23F sustain life, or for any other application in which the failure of the Freescale Semiconductor product
No. 118 Jianguo Road
Chaoyang District could create a situation where personal injury or death may occur. Should Buyer purchase or use
Beijing 100022 Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall
China
+86 010 5879 8000 indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and
[email protected] distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney
For Literature Requests Only: fees arising out of, directly or indirectly, any claim of personal injury or death associated with such
Freescale Semiconductor Literature Distribution unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was
Center
P.O. Box 5405 negligent regarding the design or manufacture of the part.
Denver, Colorado 80217
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other
1-800-441-2447 or 1-303-675-2140
Fax: 1-303-675-2150 product or service names are the property of their respective owners.
© Freescale Semiconductor, Inc. 2007-2008.
MC9S08AC128, Rev. 1
09/2008
Preliminary — Subject to Change
Find price and stock options from leading distributors for
MC9S08AC128 on Findchips.com:
https://findchips.com/search/MC9S08AC128
https://findchips.com/detail/mc9s08ac128/Freescale-Semicondu
ctor