MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
Freescale Semiconductor
9
Contents
Section Number
Title
Page
Chapter 1
Device Overview
1.1
Introduction .....................................................................................................................................19
1.1.1
Devices in the MC9S08QG8/4 Series ...............................................................................19
1.1.2
MCU Block Diagram ........................................................................................................20
Chapter 2
External Signal Description
2.1
2.2
Device Pin Assignment ...................................................................................................................23
Recommended System Connections ...............................................................................................25
2.2.1
Power ................................................................................................................................25
2.2.2
Oscillator (XOSC) ............................................................................................................26
2.2.3
Reset (Input Only) .............................................................................................................26
2.2.4
Background / Mode Select (BKGD/MS) ..........................................................................27
2.2.5
General-Purpose I/O and Peripheral Ports ........................................................................27
Chapter 3
Modes of Operation
3.1
3.2
3.3
3.4
3.5
3.6
Introduction .....................................................................................................................................31
Features ...........................................................................................................................................31
Run Mode ........................................................................................................................................31
Active Background Mode ................................................................................................................31
Wait Mode .......................................................................................................................................32
Stop Modes ......................................................................................................................................33
3.6.1
Stop3 Mode .......................................................................................................................33
3.6.2
Stop2 Mode .......................................................................................................................34
3.6.3
Stop1 Mode .......................................................................................................................35
3.6.4
On-Chip Peripheral Modules in Stop Modes ....................................................................35
Chapter 4
Memory Map and Register Definition
MC9S08QG8/4 Memory Map ........................................................................................................37
Reset and Interrupt Vector Assignments .........................................................................................38
Register Addresses and Bit Assignments ........................................................................................39
RAM ................................................................................................................................................43
FLASH ............................................................................................................................................43
4.5.1
Features .............................................................................................................................44
4.5.2
Program and Erase Times .................................................................................................44
4.5.3
Program and Erase Command Execution .........................................................................45
4.1
4.2
4.3
4.4
4.5