Freescale Semiconductor MC68HC08KH12 User Manual

Page 61

Advertising
background image

MC68HC(7)08KH12

Rev. 1.1

Advance Information

Freescale Semiconductor

61

Advance Information — MC68HC(7)08KH12

Section 7. System Integration Module (SIM)

7.1 Contents

7.2

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

7.3

SIM Bus Clock Control and Generation . . . . . . . . . . . . . . . . . . 65

7.3.1

Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

7.3.2

Clock Start-Up from POR . . . . . . . . . . . . . . . . . . . . . . . . . . 66

7.3.3

Clocks in Stop Mode and Wait Mode . . . . . . . . . . . . . . . . . 66

7.4

Reset and System Initialization. . . . . . . . . . . . . . . . . . . . . . . . . 66

7.4.1

External Pin Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

7.4.2

Active Resets from Internal Sources . . . . . . . . . . . . . . . . . . 67

7.4.2.1

Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

7.4.2.2

Computer Operating Properly (COP) Reset. . . . . . . . . . . 69

7.4.2.3

Illegal Opcode Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

7.4.2.4

Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

7.4.2.5

Universal Serial Bus Reset . . . . . . . . . . . . . . . . . . . . . . . 70

7.5

SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

7.5.1

SIM Counter During Power-On Reset . . . . . . . . . . . . . . . . . 71

7.5.2

SIM Counter During Stop Mode Recovery . . . . . . . . . . . . . 71

7.5.3

SIM Counter and Reset States . . . . . . . . . . . . . . . . . . . . . . 71

7.6

Exception Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

7.6.1

Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

7.6.1.1

Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

7.6.1.2

SWI Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

7.6.2

Interrupt Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . 76

7.6.2.1

Interrupt Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . 77

7.6.2.2

Interrupt Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . 78

7.6.2.3

Interrupt Status Register 3 . . . . . . . . . . . . . . . . . . . . . . . . 78

7.6.3

Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

7.6.4

Break Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

7.6.5

Status Flag Protection in Break Mode. . . . . . . . . . . . . . . . . 79

Advertising