cancel
Showing results for 
Search instead for 
Did you mean: 

LSE enable for STM32WLE5CCU6

OTudo.1
Associate II

Hi,

I am trying to activate LSE in a project with STM32WLE5CCU6, the pins PC14 and PC15 are activated, but in the window with clock tree, the RTC clock mux does not alow me to select LSE (it is locked on LSI). This happens even if all other pins are unused. I am using CubeMX version 6.3.0.

Does anybody encounter this problem? I am doing something wrong? Can anyone check?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

Please activate the RTC in the Timers section, and select, "activate clock source".

View solution in original post

4 REPLIES 4
TDK
Guru

You need to enable the LSE in System Core -> RCC first, then you can select it as a clock source.

If you feel a post has answered your question, please click "Accept as Solution".

Thank you for answering,

That is exactly how I set it up, I selected Crystal for LSE clock, but in Clock configuration page RTC Clock Mux is still locked.

I had attached the ioc file.

Hello,

Please activate the RTC in the Timers section, and select, "activate clock source".

OTudo.1
Associate II

Thank you,

Now I understand how to activate it.