
2.2.2 Module States
2.2.3 Local Reset
2.3 Executing State Transitions
2.3.1 Power Domain State Transitions
www.ti.com
Power/Sleep Controller
A module can be in one of two states: Enable or SwRstDisable. As shown in Table 3 , these two statescorrespond to combinations of module reset asserted or de-asserted and module clock on or off. Note thatmodule reset is defined to completely reset a given module, such that all hardware is put back into itsdefault state. For more information on module reset, see Curie Chip Architecture (XXXX-SYS-FS-001)Revision XXXX.
Table 3. Module States
Module State Module Reset Module Clock
Enable De-asserted ONSwRstDisable Asserted OFF
The module states are defined as follows:•Enable: A module in the Enable state has its module reset de-asserted and its clock on. This is thenormal run-time state for a given module.•SwRstDisable: A module in the SwResetDisable state has its module reset asserted and its clockOFF. This state is not expected to be initiated by software.
In addition to module reset described in the previous section, the C64x+ CPU can be reset using a speciallocal reset. When local reset is asserted, the internal memories (L1P, L1D, and L2) for the core are stillaccessible. The local reset only resets the corresponding C64x+ core, not the rest of the chip. Local resetis intended to be used by the watchdog timers to reset the C64x+ core in the event of an error. Theprocedures for asserting and de-asserting local reset are as follows (Y denotes the module domainnumber):
•Set MDCTL[Y].LRSTZ to 0x0 to assert local reset.•Set MDCTL[Y].LRSTZ to 0x1 to de-assert local reset. The 64x+ core immediately executes programinstructions after reset is de-asserted. Note that the boot sequence does not re-occur unless there is achip-level reset. Execution of code previously in L2 begins execution.
This section describes how to execute state transitions for power domains and modules. Examples showhow to enable only power domains, only modules, or a combination. Although you have complete controlof the sequencing, for TI recommendations, see Section 2.3.4 .
This section describes the basic procedure for transitioning the state of a power domain which, in the caseof the C6457 device is limited to the memories located in a particular domain. The majority of the moduleson the chip are always in the ON state. The PSC handles all required internal operations to wakememories for the controlled power domains.
Note: As mentioned previously, in the C6457 device there are multiple power domains. TheAlwaysOn power domain is always in the ON state when the chip is powered-on, andtherefore it is not possible to transition this domain to the OFF state. Conversely, the otherdomains are in the OFF states when the chip is powered-on. Transitions from ON to OFF arenever allowed.
The procedure for power domain state transitions follows (X denotes the power domain number, Ydenotes the module domain number):•Wait for PTSTAT.GOSTAT[X] to clear to 0x0. Wait for any previously initiated transitions to finishbefore initiating a new transition.
SPRUGL4 – March 2009 TMS320C6457 DSP Power/Sleep Controller (PSC) 9Submit Documentation Feedback