English
Language : 

MC68HC08AS20 Datasheet, PDF (117/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Advance Information — MC68HC08AS20
Section 9. System Integration Module (SIM)
9.1 Contents
9.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
9.3 SIM Bus Clock Control and Generation . . . . . . . . . . . . . . . . . 121
9.3.1 Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
9.3.2 Clock Startup from POR or LVI Reset. . . . . . . . . . . . . . . . 121
9.3.3 Clocks in Stop Mode and Wait Mode . . . . . . . . . . . . . . . . 122
9.4 Reset and System Initialization. . . . . . . . . . . . . . . . . . . . . . . . 122
9.4.1 External Pin Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
9.4.2 Active Resets from Internal Sources . . . . . . . . . . . . . . . . . 124
9.4.2.1
9.4.2.2
Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Computer Operating Properly (COP) Reset. . . . . . . . . . 126
9.4.2.3
9.4.2.4
9.4.2.5
Illegal Opcode Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . .126
Low-Voltage Inhibit (LVI) Reset . . . . . . . . . . . . . . . . . . . 126
9.5 SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
9.5.1 SIM Counter During Power-On Reset . . . . . . . . . . . . . . . . 127
9.5.2 SIM Counter During Stop Mode Recovery . . . . . . . . . . . . 127
9.5.3 SIM Counter and Reset States . . . . . . . . . . . . . . . . . . . . . 127
9.6 Program Exception Control. . . . . . . . . . . . . . . . . . . . . . . . . . .128
9.6.1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
9.6.1.1 Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
9.6.1.2 SWI Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
9.6.2 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132
9.6.3 Break Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
9.6.4 Status Flag Protection in Break Mode. . . . . . . . . . . . . . . . 132
9.7 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
9.7.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
9.7.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
117