Driving TIM21 from 32KHz clock?
I've got a STM32L053 (on a Nucleo-Lo53R8). I'd like to drive TIM21 from the 32KHz clock, and gang it with TIM22 to form a 32 bit counter. But I'm confused on a few points.
First question: how to drive TIM21 from 32KHz? The documents (RCC chapter, 7.2.16) says:
In a number of applications using the 32.768 kHz clock as RTC timebase, timebases completely independently from the system clock are useful. ... For this purpose, the LSE clock is internally redirected to the 3 timers’ ETR inputs,Looking at Figure 18, available clock inputs for TIM21 are MSI, LSI, HSE_RTC and LSE. And in the TIM21 Clock Selection description (22.3.3), it says that in "External clock mode2: external trigger input (ETR connected internally to LSE)".
Question 1: must I do anything special to connect ETR to LSE? Or is it sufficient to select External clock mode 2?
Question 2: Is it possible to use the STM32CubIDE Device Configuration Tool to configure TIM21 this way? (I don't mind writing the code myself; I have a somewhat academic curiosity to see how far I can push the design tool...)
