7.6
PSC Interrupts
7.6.1 Interrupt Events
7.6.1.1
Power Domain Emulation Events
7.6.1.2
Module State Emulation Events
PSC Interrupts
www.ti.com
Table 7-3. IcePick Emulation Commands (continued)
Power On and Enable Features
Power On and Enable Descriptions
Reset Features
Reset Descriptions
Force Active
Allows emulation to force the power
Block Reset
Allows emulation to block
domain into an on state and force the
software initiated local and
module into the enable state.
module resets.
Note:
When emulation tools assert the ForcePower or ForceActive states, state transition is
dependent on the ARM applying power and notifying the PSC. If the ARM does not complete
the process, then the state transition does not complete and the emulation tools may hang.
When emulation tools remove the above commands, the PSC immediately executes a state
transition based on the current values in the NEXT bit in PDCTL and the NEXT bit in MDCTL
register fields, as set by software.
The PSC has an interrupt that is tied to the ARM Interrupt Controller. This interrupt is named PSCINT in
the ARM interrupt map. The PSC interrupt is generated when certain IcePick emulation events occur.
The PSC interrupt is generated when any of the following events occur:
•
Power Domain Emulation Event
•
Module State Emulation Event
•
Module Local Reset Emulation Event
•
External Power Control Pending Event
These interrupt events are summarized in
and described in more detail in this section.
Table 7-4. PSC Interrupt Events
Interrupt Enable Bits
Interrupt Condition
Control Register
Status Bit
PDCTLx
EMUIHB
Interrupt occurs when the emulation alters the power domain state
MDCTLx
EMUIHB
Interrupt occurs when the emulation alters the module state
MDCTLx
EMURST
Interrupt occurs when the emulation alters the module's local reset
EPCPR
EPCx
Interrupt occurs during the power domain on/off sequence
A power domain emulation event occurs when emulation alters the state of a power domain. Status is
reflected in the EMUIHB bit in PDSTATx. In particular, a power domain emulation event occurs under the
following conditions:
•
When inhibit sleep is asserted by emulation and software attempts to transition the module out of the
on state
•
When force power is asserted by emulation and power domain is not already in the on state
•
When force active is asserted by emulation and power domain is not already in the on state
A module state emulation event occurs when emulation alters the state of a module. Status is reflected in
the EMUIHB bit in the MDSTAT[x]. In particular, a module state emulation event occurs under the
following conditions:
68
Power and Sleep Controller
SPRUFX7 – July 2008