English
Language : 

MC9S08QG8_09 Datasheet, PDF (11/314 Pages) Freescale Semiconductor, Inc – HCS08 Microcontrollers
Section Number
Contents
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 Device Pin Assignment ................................................................................................................... 23
2.2 Recommended System Connections ............................................................................................... 25
2.2.1 Power .................................................................................................................................26
2.2.2 Oscillator (XOSC) .............................................................................................................27
2.2.3 Reset (Input Only) .............................................................................................................27
2.2.4 Background / Mode Select (BKGD/MS)...........................................................................28
2.2.5 General-Purpose I/O and Peripheral Ports.........................................................................28
Chapter 3
Modes of Operation
3.1 Introduction ..................................................................................................................................... 33
3.2 Features ........................................................................................................................................... 33
3.3 Run Mode........................................................................................................................................ 33
3.4 Active Background Mode ............................................................................................................... 33
3.5 Wait Mode ....................................................................................................................................... 34
3.6 Stop Modes...................................................................................................................................... 35
3.6.1 Stop3 Mode........................................................................................................................35
3.6.2 Stop2 Mode........................................................................................................................36
3.6.3 Stop1 Mode........................................................................................................................37
3.6.4 On-Chip Peripheral Modules in Stop Modes.....................................................................37
Chapter 4
Memory Map and Register Definition
4.1 MC9S08QG8/4 Memory Map ........................................................................................................ 39
4.2 Reset and Interrupt Vector Assignments ......................................................................................... 40
4.3 Register Addresses and Bit Assignments........................................................................................ 41
4.4 RAM................................................................................................................................................ 45
4.5 FLASH ............................................................................................................................................ 46
4.5.1 Features ..............................................................................................................................47
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 5
Freescale Semiconductor
9