cancel
Showing results for 
Search instead for 
Did you mean: 

Issue setting clocks on STM32L412 IDE 1.4.2

b.a.
Associate III

Hi,

I was playing around a bit with the clocks.

I had it set up to run on 48MHz from MSI.

I then choose PLL on 64MHz but couldn't get the 1µs timer pulse I wanted (prescaler on 63 for TIM2 got me something about 1,178µs)

I then wanted to get back to MSI, but configuration tool found an issue with RCC

Flash latency is marked as a problem with 3 waitstates.

I can do nothing about it since its greyed out

any idea how I can get back to 48MHz MSI

cheers,

Bob

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

Hi @b.a.​ 

Thanks for your feedback, issue confirmed and it will be fixed.

Best Regards,

Khouloud

View solution in original post

4 REPLIES 4
Khouloud ZEMMELI
ST Employee

Hi @b.a.​ 

Could you please share your ioc file ?

Regards,

Khouloud

b.a.
Associate III

not really, because I continued trying to get it back working...

Now I have the exact opposite problem !

I can set the clock to MSI 48MHz bot not to PLL 64MHz !

flash latency now is greyed out and set to 2 WS

Khouloud ZEMMELI
ST Employee

Hi @b.a.​ 

Thanks for your feedback, issue confirmed and it will be fixed.

Best Regards,

Khouloud

b.a.
Associate III

Glad I could help improve the CubeIDE 🙂