| 数据搜索系统,热门电子元器件搜索 |
|
ST7LUS5 数据表(PDF) 28 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7LUS5 数据表(HTML) 28 Page - STMicroelectronics |
|
28 / 124 page ![]() Supply, reset and clock management ST7LUS5, ST7LU05, ST7LU09 28/124 Refer to application note AN2326 for information on how to calibrate the RC frequency using an external reference signal. The ST7LUxx also contains an Auto Wake-up RC oscillator. This RC oscillator should be enabled to enter Auto Wake-up from Halt mode. The Auto Wake-up RC oscillator can also be configured as the startup clock through the CKSEL[1:0] option bits (see Section 14.1 on page 114). This is recommended for applications where very low power consumption is required. Switching from one startup clock to another can be done in run mode as follows (see Figure 8): Case 1: Switching from internal RC to AWU: 1. Set the RC/AWU bit in the CKCNTCSR register to enable the AWU RC oscillator. 2. The RC_FLAG is cleared and the clock output is at 1. 3. Wait 3 AWU RC cycles until the AWU_FLAG is set. 4. The switch to the AWU clock is made at the positive edge of the AWU clock signal. 5. Once the switch is made, the internal RC is stopped. Case 2: Switching from AWU RC to internal RC: 1. Reset the RC/AWU bit to enable the internal RC oscillator. 2. Using a 4-bit counter, wait until 8 internal RC cycles have elapsed. The counter is running on internal RC clock. 3. Wait until the AWU_FLAG is cleared (1 AWU RC cycle) and the RC_FLAG is set (2 RC cycles). 4. The switch to the internal RC clock is made at the positive edge of the internal RC clock signal. 5. Once the switch is made, the AWU RC is stopped. Note: 1 When the internal RC is not selected, it is stopped so as to save power consumption. 2 When the internal RC is selected, the AWU RC is turned on by hardware when entering Auto Wake-up from Halt mode. 3 When the external clock is selected, the AWU RC oscillator is always on. Figure 8. Clock switching AWU RC Set RC/AWU Poll AWU_FLAG until set Internal RC Reset RC/AWU Poll RC_FLAG until set AWU RC Internal RC |
|
链接网址 |
| 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 |