Texas Instruments TMS320DM643x 사용자 설명서

다운로드
페이지 98
www.ti.com
10.4.2.2 Synchronous Reset (SyncReset)
DSP Reset
Host: Assert the DSP local reset (Optional)
Clear the LRST bit in MDCTL39 to 0. This step is optional. This step asserts the DSP local reset, and
is included here so that the DSP does not start running immediately upon it is subsequently enable by
the host. Typically, the host only de-asserts local reset to the DSP after it makes sure that code is
properly loaded.
In the synchronous reset (SyncReset) state, the DSP’s module reset is asserted and its module clock is
enabled. You can use this state to reset the DSP. The following steps describe how to put the DSP in the
synchronous reset state:
Host: Notify the DSP to prepare for power-down.
DSP: Put the DSP in the IDLE state.
Set PDCCMD to 0001 5555h. PDCMD is a control register in the DSP power-down controller
module.
Note:
This register can only be written while the DSP is in supervisor mode.
Execute the IDLE instruction.
Host: Sync reset 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 1 to prepare the DSP module for a SyncReset 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 module is safely in the new state only
after the GOSTAT[0] bit is cleared to 0.
Host: Assert DSP local reset (Optional)
Clear the LRST bit in MDCTL39 to 0. This step is optional. This step asserts the DSP local reset
and is included here so that the DSP does not start running immediately upon it is subsequently
enabled by the host. Typically, software de-asserts local reset to the DSP after it makes sure that
code is properly loaded.
94
Reset
SPRU978E – March 2008