Datasheet

Table Of Contents
MC68HC908GP20Rev 2.1 Advance Information
Freescale Semiconductor 287
Advance Information MC68HC908GP20
Section 19. System Integration Module (SIM)
19.1 Contents
19.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
19.3 SIM Bus Clock Control and Generation . . . . . . . . . . . . . . . . .291
19.3.1 Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
19.3.2 Clock Startup from POR or LVI Reset. . . . . . . . . . . . . . . .292
19.3.3 Clocks in Stop Mode and Wait Mode . . . . . . . . . . . . . . . .292
19.4 Reset and System Initialization. . . . . . . . . . . . . . . . . . . . . . . .292
19.4.1 External Pin Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293
19.4.2 Active Resets from Internal Sources. . . . . . . . . . . . . . . . .294
19.4.2.1 Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
19.4.2.2 Computer Operating Properly (COP) Reset. . . . . . . . . .296
19.4.2.3 Illegal Opcode Reset . . . . . . . . . . . . . . . . . . . . . . . . . . .296
19.4.2.4 Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . .296
19.4.2.5 Low-Voltage Inhibit (LVI) Reset . . . . . . . . . . . . . . . . . . .297
19.4.2.6 Monitor Mode Entry Module Reset (MODRST) . . . . . . .297
19.5 SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .297
19.5.1 SIM Counter During Power-On Reset. . . . . . . . . . . . . . . .297
19.5.2 SIM Counter During Stop Mode Recovery . . . . . . . . . . . .298
19.5.3 SIM Counter and Reset States . . . . . . . . . . . . . . . . . . . . .298
19.6 Exception Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .298
19.6.1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .298
19.6.1.1 Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . .301
19.6.1.2 SWI Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302
19.6.1.3 Interrupt Status Registers . . . . . . . . . . . . . . . . . . . . . . .302
19.6.2 Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
19.6.3 Break Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
19.6.4 Status Flag Protection in Break Mode. . . . . . . . . . . . . . . .305
19.7 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305
19.7.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305
19.7.2 Stop Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307