| 数据搜索系统,热门电子元器件搜索 |
|
AN3371 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 45 page ![]() AN3371 Overview of the STM32 advanced RTC Doc ID 018624 Rev 5 9/45 Figure 5. Prescalers from RTC clock source to calendar unit Note: The length of the synchronous prescaler depends on the product. For this section, it is represented on 13 bits. The formula to calculate ck_spre is: where: ● RTCCLK can be any clock source: HSE_RTC, LSE or LSI ● PREDIV_A can be 1,2,3,..., or 127 ● PREDIV_S can be 0,1,2,..., or 8191 Table 3 shows several ways to obtain the calendar clock (ck_spre) = 1 Hz. Synchronous 13-bit prescaler (default=256) RTC Clock PREDIV_A PREDIV_S Ck_Spre Asynchronous prescaler Synchronous prescaler Calendar unit MS19527V1 Asynchronous 7-bit prescaler (default = 128) Shadow registers (RTC_TR and RTC_DR) Table 3. Calendar clock equal to 1 Hz with different clock sources RTCCLK Clock source Prescalers ck_spre PREDIV_A[6:0] PREDIV_S[12:0] HSE_RTC = 1MHz 124 (div125) 7999 (div8000) 1 Hz LSE = 32.768 kHz 127 (div128) 255 (div256) 1 Hz LSI = 32 kHz(1) 1. For STM32L1xx, LSI = 37 KHz, but LSI accuracy is not suitable for calendar application. 127 (div128) 249 (div250) 1 Hz LSI = 37 kHz(2) 2. For STM32F2xx and STM32F4xx, LSI = 32 KHz, but LSI accuracy is not suitable for calendar application. 124 (div125) 295 (div296) 1 Hz ck_spre RTCCLK PREDIV_A 1 + () PREDIV_S 1 + () × ---------------------------------------------------------------------------------------------- = |
|
链接网址 |
| 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 |