01.08.2013 Views

Chapter 08 Power, Reset, and Clock Management (PRCM).pdf

Chapter 08 Power, Reset, and Clock Management (PRCM).pdf

Chapter 08 Power, Reset, and Clock Management (PRCM).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.ti.com <strong>Power</strong>, <strong>Reset</strong>, <strong>and</strong> <strong>Clock</strong> <strong>Management</strong><br />

Table 8-1. Master Module St<strong>and</strong>by-Mode Settings (continued)<br />

St<strong>and</strong>by Mode Value Selected Mode Description<br />

0x2 Smart-st<strong>and</strong>by<br />

The module asserts the st<strong>and</strong>by request<br />

based on its internal activity status. The<br />

st<strong>and</strong>by signal is asserted only when all<br />

ongoing transactions are complete <strong>and</strong><br />

the module is idled. The <strong>PRCM</strong> module<br />

can then gate the clocks to the module.<br />

The module asserts the st<strong>and</strong>by request<br />

based on its internal activity status. The<br />

st<strong>and</strong>by signal is asserted only when all<br />

ongoing transactions are complete <strong>and</strong><br />

the module is idle. The <strong>PRCM</strong> module can<br />

0x3 Smart-st<strong>and</strong>bywakeup-capable mode then gate the clocks to the module. The<br />

module may generate (master-related)<br />

wake-up events when in STANDBY state.<br />

The mode is relevant only if the<br />

appropriate module mwakeup output is<br />

implemented.<br />

The st<strong>and</strong>by status of a master module is indicated by the<br />

CM___CLKCTRL[x]. STBYST bit in the <strong>PRCM</strong> module.<br />

8.1.3.2.2 Slave Idle Protocol<br />

Table 8-2. Master Module St<strong>and</strong>by Status<br />

STBYST Bit Value Description<br />

0x0 The module is functional.<br />

0x1 The module is in st<strong>and</strong>by mode<br />

This hardware protocol allows the <strong>PRCM</strong> module to control the state of a slave module. The <strong>PRCM</strong><br />

module informs the slave module, through assertion of an idle request, when its clocks (interface <strong>and</strong><br />

functional) can be gated. The slave can then acknowledge the request from the <strong>PRCM</strong> module <strong>and</strong> the<br />

<strong>PRCM</strong> module is then allowed to gate the clocks to the module. A slave module is said to be in IDLE state<br />

when its clocks are gated by the <strong>PRCM</strong> module. Similarly, an idled slave module may need to be<br />

wakened because of a service request from a master module or as a result of an event (called a wake-up<br />

event; for example, interrupt or DMA request) received by the slave module. In this situation the <strong>PRCM</strong><br />

module enables the clocks to the module <strong>and</strong> then deasserts the idle request to signal the module to wake<br />

up. Although the protocol is completely hardware-controlled, software must configure the clockmanagement<br />

behavior for the slave module. This is done by setting the module register bit field<br />

_SYSCONFIG. SIDLEMODE or _SYSCONFIG. IDLEMODE. The behavior, listed in<br />

the Idle Mode Value column, must be configured by software.<br />

Table 8-3. Module Idle Mode Settings<br />

Idle Mode Value Selected Mode Description<br />

0x0 Force-idle<br />

The module unconditionally acknowledges<br />

the idle request from the <strong>PRCM</strong> module,<br />

regardless of its internal operations. This<br />

mode must be used carefully because it<br />

does not prevent the loss of data at the<br />

time the clock is switched off.<br />

The module never acknowledges any idle<br />

request from the <strong>PRCM</strong> module. This<br />

mode is safe from a module point of view<br />

because it ensures that the clocks remain<br />

0x1 No-idle active. However, it is not efficient from a<br />

power-saving perspective because it does<br />

not allow the <strong>PRCM</strong> module output clock<br />

to be shut off, <strong>and</strong> thus the power domain<br />

to be set to a lower power state.<br />

SPRUH73E–October 2011–Revised May 2012 <strong>Power</strong>, <strong>Reset</strong>, <strong>and</strong> <strong>Clock</strong> <strong>Management</strong> (<strong>PRCM</strong>)<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated<br />

635

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!