cancel
Showing results for 
Search instead for 
Did you mean: 

Use of LSE for TIMxx on STM32L4

Zafi
Associate II

Hello,

Is it possible to use the LSE clock 32.768 KHz as external clock source for TIMxx on the STM32L4 series ?

I have an application running on STM32L1 and using external ****-source mode 2 for TIM10 as described in Figure 131 of the Reference Manual RM0038. I would like to port this application to the STM32L4 but I'm not sure it's possible, I can't find the equivalent diagram in the reference manual RM0351.

Regards,

Zafi

3 REPLIES 3

0693W000003PGX8QAO.png

Read then TIM2_OR1/TIM15_OR1/TIM16_OR1 registers description.

JW

Zafi
Associate II

Thanks for the answer.

I'm going to follow this path.

Regards,

Zafi.

Zafi
Associate II

LSE can be used as clock source:

TIM15->OR1 |= TIM15_OR1_TI1_RMP;

Thanks for the advice.