
MC68HC08AZ32
MOTOROLA
System Integration Module (SIM)
69
System Integration Module (SIM)
SIM
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
SIM bus clock control and generation. . . . . . . . . . . . . . . . . . . . . . . . .72
Bus timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Clock start-up from POR or LVI reset. . . . . . . . . . . . . . . . . . . . . . .73
Clocks in STOP and WAIT mode . . . . . . . . . . . . . . . . . . . . . . . . . .73
Reset and system initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
External pin reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Active resets from internal sources. . . . . . . . . . . . . . . . . . . . . . . . .75
Power-on reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Computer operating properly (COP) reset . . . . . . . . . . . . . . . . .77
Illegal opcode reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Illegal address reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Low-voltage inhibit (LVI) reset . . . . . . . . . . . . . . . . . . . . . . . . . .78
SIM counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
SIM counter during power-on reset. . . . . . . . . . . . . . . . . . . . . . . . .79
SIM counter during STOP mode recovery . . . . . . . . . . . . . . . . . . .79
SIM counter and reset states . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Exception control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Hardware interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
SWI instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Break interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Status flag protection in break mode . . . . . . . . . . . . . . . . . . . . . . .84
Low-power modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
WAIT mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
STOP mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
SIM registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
SIM break status register (SBSR). . . . . . . . . . . . . . . . . . . . . . . . . .88
SIM reset status register (SRSR) . . . . . . . . . . . . . . . . . . . . . . . . . .89
SIM break flag control register (SBFCR) . . . . . . . . . . . . . . . . . . . .90
1-sim