| 数据搜索系统,热门电子元器件搜索 |
|
ST92F124 数据表(PDF) 130 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 数据表(HTML) 130 Page - STMicroelectronics |
|
130 / 429 page ![]() 130/429 ST92F124/F150/F250 - RESET AND CLOCK CONTROL UNIT (RCCU) CLOCK MANAGEMENT (Cont’d) 7.3.3 CPU Clock Prescaling The system clock, INTCLK, which may be the out- put of the PLL clock multiplier, CLOCK2, CLOCK2/ 16 or CK_AF, drives a programmable prescaler which generates the basic time base, CPUCLK, for the instruction executer of the ST9 CPU core. This allows the user to slow down program execu- tion during non processor intensive routines, thus reducing power dissipation. The internal peripherals are not affected by the CPUCLK prescaler and continue to operate at the full INTCLK frequency. This is particularly useful when little processing is being done and the pe- ripherals are doing most of the work. The prescaler divides the input clock by the value programmed in the control bits PRS2,1,0 in the MODER register. If the prescaler value is zero, no prescaling takes place, thus CPUCLK has the same period and phase as INTCLK. If the value is different from 0, the prescaling is equal to the val- ue plus one, ranging thus from two (PRS[2:0] = 1) to eight (PRS[2:0] = 7). The clock generated is shown in Figure 62, and it will be noted that the prescaling of the clock does not preserve the 50% duty cycle, since the high level is stretched to replace the missing cycles. This is analogous to the introduction of wait cycles for access to external memory. When External Memory Wait or Bus Request events occur, CPU- CLK is stretched at the high level for the whole pe- riod required by the function Figure 62. CPU Clock Prescaling n 7.3.4 Peripheral Clock The system clock, INTCLK, which may be the out- put of the PLL clock multiplier, CLOCK2, CLOCK2/ 16 or CK_AF, is also routed to all ST9 on-chip pe- ripherals and acts as the central timebase for all timing functions. 7.3.5 Low Power Modes The user can select an automatic slowdown of clock frequency during Wait for Interrupt opera- tion, thus idling in low power mode while waiting for an interrupt. In WFI operation the clock to the CPU core is stopped, thus suspending program execution, while the clock to the peripherals may be programmed as described in the following par- agraphs. Two examples of Low Power operation in WFI are illustrated in Figure 63 and Figure 64. Providing that low power operation during Wait for Interrupt is enabled (by setting the LPOWFI bit in the CLKCTL Register), as soon as the CPU exe- cutes the WFI instruction, the PLL is turned off and the system clock will be forced to CLOCK2 divided by 16, or to the external low frequency clock, CK_AF, if this has been selected by setting WFI_CKSEL, and providing CKAF_ST is set, thus indicating that the external clock is selected and actually present on the CK_AF pin. If the external clock source is used, the crystal os- cillator may be stopped by setting the XTSTOP bit, providing that the CK_AF clock is present and se- lected, indicated by CKAF_ST being set. In this case, the crystal oscillator will be stopped auto- matically on entering WFI if the WFI_CKSEL bit has been set. It should be noted that selecting a non-existent CK_AF clock source is impossible, since such a selection requires that the auxiliary clock source be actually present and selected. In no event can a non-existent clock source be selected inadvert- ently. It is up to the user program to switch back to a fast- er clock on the occurrence of an interrupt, taking care to respect the oscillator and PLL stabilization delays, as appropriate. It should be noted that any of the low power modes may also be selected explicitly by the user pro- gram even when not in Wait for Interrupt mode, by setting the appropriate bits. If the FREEN bit is set, the PLL is not stopped dur- ing Low Power WFI, increasing power consump- tion. INTCLK CPUCLK VA00260 000 001 010 011 100 101 110 111 PRS VALUE 9 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |