Datasheet

MC9S08SG32 Data Sheet, Rev. 8
Freescale Semiconductor 11
Contents
Section Number Title Page
Chapter 1
Device Overview
1.1 Devices in the MC9S08SG32 Series............................................................................................... 21
1.2 MCU Block Diagram ...................................................................................................................... 22
1.3 System Clock Distribution .............................................................................................................. 24
Chapter 2
Pins and Connections
2.1 Device Pin Assignment ................................................................................................................... 25
2.2 Recommended System Connections ...............................................................................................27
2.2.1 Power ................................................................................................................................ 27
2.2.2 Oscillator (XOSC) ............................................................................................................ 28
2.2.3
RESET .............................................................................................................................. 28
2.2.4 Background / Mode Select (BKGD/MS).......................................................................... 29
2.2.5 General-Purpose I/O and Peripheral Ports........................................................................ 29
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...................................................................................................................................... 34
3.6.1 Stop3 Mode....................................................................................................................... 35
3.6.2 Stop2 Mode....................................................................................................................... 36
3.6.3 On-Chip Peripheral Modules in Stop Modes.................................................................... 36
Chapter 4
Memory
4.1 MC9S08SG32 Series Memory Map ............................................................................................... 39
4.2 Reset and Interrupt Vector Assignments......................................................................................... 40
4.3 Register Addresses and Bit Assignments........................................................................................ 41
4.4 RAM................................................................................................................................................ 48
4.5 FLASH ............................................................................................................................................ 48
4.5.1 Features............................................................................................................................. 49
4.5.2 Program and Erase Times ................................................................................................. 49
4.5.3 Program and Erase Command Execution ......................................................................... 50