www.ti.com
PSC Interrupts
The DM643x DMP is a
6.6.1.1Module State Emulation Events
A module state emulation event occurs when emulation alters the state of a module. Status is reflected in the EMUIHB bit in MDSTATn. In particular, a module state emulation event occurs under the following conditions:
∙When inhibit sleep is asserted by emulation and software attempts to transition the module out of the enable state.
∙When force active is asserted by emulation and module is not already in the enable state.
6.6.1.2Local Reset Emulation Events
A local reset emulation event occurs when emulation alters the local reset of a module. Status is reflected in the EMURST bit in MDSTATn. In particular, a module local reset emulation event occurs under the following conditions:
∙When assert reset is asserted by emulation although software
∙When wait reset is asserted by emulation.
∙When block reset is asserted by emulation and software attempts to change the state of local reset.
6.6.2Interrupt Registers
The PSC interrupt enable bits are the EMUIHBIE bit in MDCTL39 and the EMURSTIE bit in MDCTL39.
Note: To interrupt the DSP, the power and sleep controller interrupt (PSCINT) must also be enabled in the DSP interrupt controller. See Section 2.4.1 for more information on the interrupt controller.
The PSC interrupt status bits are the M[39] bit in MERRPR1, the EMUIHB bit in MDSTAT39, and the EMURST bit in MDSTAT39. The status bit in MERRPR1 is read by software to determine which module has generated an emulation interrupt, and then software can read the corresponding status bits in MDSTAT39 to determine which event caused the interrupt.
The PSC interrupt clear bit is the M[39] bit in MERRCR1.
The PSC interrupt evaluation bit is the ALLEV bit in INTEVAL. When set, this bit forces the PSC interrupt logic to
See Section 6.7 for complete descriptions of all PSC registers.
Power and Sleep Controller | 67 |