www.ti.com
DSP Sleep Mode Management
7.4DSP Sleep Mode Management
The C64x+ DSP supports sleep mode management to reduce power:
∙DSP clock can be completely shut off
∙C64x+ Megamodule can be put in sleep mode
– C64x+ CPU can be put in sleep mode
On the DM643x DMP, sleep mode for the DSP internal memories (L1P, L1D, L2) is not supported.
7.4.1 DSP Sleep Modes
The C64x+ Megamodule of the DSP subsystem includes a
7.4.2 DSP Module Clock ON/OFF
As discussed in Section 7.4.1, the C64x+ Megamodule can clock gate its own components to save power. Additional power saving can be achieved by stopping the clock source to the C64x+ Megamodule by programming the power and sleep controller (PSC) to place the C64x+ Megamodule in Disable state. The C64x+ DSP cannot perform this programming task on its own, because the C64x+ DSP will not be able to complete the PSC programming sequence if the C64x+ DSP clock source is gated in the middle of the process. If stopping the clock source to the C64x+ DSP is desired for additional power saving, an external host is responsible for programming the PSC (for example, via HPI, PCI interfaces) to disable the C64x+ Megamodule. Similarly, in that case the external host is responsible for programming the PSC to enable the C64x+ Megamodule.
7.4.2.1DSP Module Clock ON
In the clock Enable state, the DSP’s module clock is enabled while DSP module reset is
∙Host: Enable clocks to the DSP.
–Wait for the GOSTAT[0] bit in PTSTAT to clear to 0. You must wait for the power domain to finish any previously initiated transitions before initiating a new transition.
–Set the NEXT bit in MDCTL39 to 3h to prepare the DSP module for an enable transition.
–Set the GO[0] bit in PTCMD to 1 to initiate the state transition.
–Wait for the GOSTAT[0] bit in PTSTAT to clear to 0. The domain is only safely in the new state after the GOSTAT[0] bit is cleared to 0.
–Wait for the STATE bit in MDSTAT39 to change to 3h. The module is only safely in the new state after the STATE bit in MDSTAT39 changes to reflect the new state.
∙Host: Wake the DSP.
–If transitioning from the disable state, trigger a DSP interrupt that has previously been configured as a
Note: This step only applies if you are transitioning from the disable state. If previously in the disable state, a
80 | Power Management |