| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
CR16MFS5 Datasheet(PDF) 36 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
CR16MFS5 Datasheet(HTML) 36 Page - National Semiconductor (TI) |
|
36 / 99 page ![]() www.national.com 36 10.5.4 Disabling the High-Frequency Clock In systems where the low-frequency crystal is available and is used to generate the Slow Clock (SLCLK), power con- sumption can be reduced further in the Power Save or Idle mode by disabling the high-frequency clock. This is accom- plished by writing a 1 to the PMCSR.DHF bit before execut- ing the WAIT instruction that puts the device in the Power Save or Idle mode. The high-frequency clock is turned off only after the device enters the Power Save or Idle mode. The CPU operates on the low-frequency clock in Power Save mode. It can turn off the high-frequency clock at any time by writing a 1 to the PMCSR.DHF bit. The high-frequency oscillator is always enabled in Active mode and always disabled in Halt mode, regardless of the PMCSR.DHF bit setting. Immediately following power-up and entry into the Active mode, the software must wait for the low-frequency clock to become stable before it can put the device in the Power Save mode. It should monitor the PMCSR.OLFC bit for this pur- pose. Once this bit is set to 1, the slow clock is stable and the Power Save mode can be entered. 10.5.5 Entering the Halt Mode Entry into the Halt mode is accomplished by writing a 1 to the PMCSR.HALT bit and then executing a WAIT instruction. The Halt mode can be entered only from the Active or Power Save mode. For entry from the Active mode, the PMC- SR.WBPSM bit must be set before the WAIT instruction is ex- ecuted. 10.5.6 Software-Controlled Transition to Active Mode A transition from the Power Save mode to the Active mode can be accomplished by either a software command or a hardware wake-up event. The software method is to write a 0 to the PMCSR.PSM bit. The value of the register bit chang- es only after the transition to the Active mode is completed. If the high-frequency oscillator is disabled for Power Save op- eration, the oscillator must be enabled and allowed to stabi- lize before the transition to Active mode. To enable the high- frequency oscillator, the software writes a 0 to the PMC- SR.DHF bit. Before writing a 0 to the PMCSR.PSM bit, the software should first monitor the PMCSR.OHFC bit to deter- mine whether the oscillator has stabilized. 10.5.7 Wake-Up Transition to Active Mode A hardware wake-up event switches the device directly from Power Save, Idle, or Halt mode to the Active mode. When a wake-up event occurs, the on-chip hardware performs the following steps: 1. Clears the PMCSR.DHF bit, thus enabling the high-fre- quency clock (if it was disabled). 2. Waits for the PMCSR.OHFC bit to be set, which indi- cates that the high-frequency clock is operating and is stable. 3. Switches the device into the Active mode. 10.5.8 Power Mode Switching Protection The Power Management Module has several mechanisms to protect the device from malfunctions caused by missing or unstable clock signals. The PMCSR.OHFC and PMCSR.OLFC bits indicate the cur- rent status of the high-frequency and low-frequency clock os- cillators, respectively. The software can check the appropriate bit before it changes to an operating mode that requires the clock. A status bit set to 1 indicates an operating, stable clock. A status bit cleared to 0 indicates a clock that is disabled, not available, or not yet stable. During a power mode transition, if there is a request to switch to a mode that uses clock with the status bit cleared to 0, the switch is delayed until that bit is set to 1 by the hardware. When the system is built without an external crystal network for the low-frequency clock, the high-frequency clock is divid- ed by a prescaler factor to produce the low-frequency clock. In this situation, the high-frequency clock is disabled only in the Halt mode, and cannot be disabled for the Power Save or Idle mode, regardless of the software command issued. Without an external crystal network for the low-frequency clock, the device comes out of the Halt or Idle mode and en- ters the Active mode with the high-speed oscillator used as the clock. The device can still enter the Power Save from the Active mode by using the high-frequency-clock divider to generate the slow clock (PMCSR.DHF=0). Note: For correct operation in the absence of a low-frequen- cy crystal, the X2CKI pin must be tied low (not left floating) so the hardware can detect the absence of the crystal. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |