| Electronic Components Datasheet Search |
|
AN3371 Datasheet(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 Datasheet(HTML) 15 Page - STMicroelectronics |
|
15 / 45 page ![]() AN3371 Overview of the STM32 advanced RTC Doc ID 018624 Rev 5 15/45 1.3.2 Maximum and minimum RTC wakeup period The wakeup unit clock is configured through the WUCKSEL[2:0] bits of RTC_CR1 register. Three different configurations are possible: ● Configuration 1: WUCKSEL[2:0] = 0xxb for short wakeup periods (see Periodic timebase/wakeup configuration for clock configuration 1) ● Configuration 2: WUCKSEL[2:0] = 10xb for medium wakeup periods (see Periodic timebase/wakeup configuration for clock configuration 2) ● Configuration 3: WUCKSEL[2:0] = 11xb for long wakeup periods (see Periodic timebase/wakeup configuration for clock configuration 3) Periodic timebase/wakeup configuration for clock configuration 1 Figure 8 shows the prescaler connection to the timebase/wakeup unit and Table 8 gives the timebase/wakeup clock resolutions corresponding to configuration 1. The prescaler depends on the Wakeup clock selection: ● WUCKSEL[2:0] =000: RTCCLK /16 clock is selected ● WUCKSEL[2:0] =001: RTCCLK /8 clock is selected ● WUCKSEL[2:0] =010: RTCCLK /4 clock is selected ● WUCKSEL[2:0] =011: RTCCLK /2 clock is selected Figure 8. Prescalers connected to the timebase/wakeup unit for configuration 1 When RTCCLK= 32768 Hz, the minimum timebase/wakeup resolution is 61.035 µs, and the maximum resolution is 488.28 µs. As a result: ● The minimum timebase/wakeup period is (0x0001 + 1) x 61.035 µs = 122.07 µs. The timebase/wakeup timer counter WUT[15:0] cannot be set to 0x0000 with WUCKSEL[2:0]=011b (fRTCCLK/2) because this configuration is prohibited. Refer to the STM32 reference manuals for more details. ● The maximum timebase/wakeup period is (0xFFFF+ 1) x 488.28 µs = 2 s. Table 8. Timebase/wakeup unit period resolution with clock configuration 1 Clock source Wakeup period resolution WUCKSEL[2:0] = 000b (div16) WUCKSEL[2:0] = 011b (div2) LSE = 32 768 Hz 488.28 µs 61.035 µs MS19529V1 WUCKSEL[1:0] RTCCLK 16-bit wakeup auto-relaod timer Prescaler / 2,4,8,16 RTC_WUTR WUCKSEL[2] Periodic wakeup flag |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |