2018-06-20 09:00 AM
Hi,
I'm facing a strange problem due to optimization 0.
Actually, my code is working well but when i set optimisation to 'None' the MCU fail in its initialization.
The lines concerned are in stm32l4xx_hal_rcc.c line 839.
the PLLRDY bit never set, is this a known issue?
Felix.
Solved! Go to Solution.
2018-06-20 09:20 AM
And you're using what tools?
What version of the L4 library specifically?
How much time is it actually waiting?
Issues with L4 code not setting PLLM, ie SystemClock_Config()
2018-06-20 09:20 AM
And you're using what tools?
What version of the L4 library specifically?
How much time is it actually waiting?
Issues with L4 code not setting PLLM, ie SystemClock_Config()
2018-06-21 12:42 AM
Ok that was that, PLLM not set to 1.
I already had a similar problem but the code was crashing before, don't know why it was working under different optimizations level!
Thanks.