cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX clock configuration fails for L4R5ZI chips

Björn Haase
Associate
Posted on April 10, 2018 at 15:32

Why does the STM32CubeMX tool in my Nucleo-L4R5ZI-based project disallow HCLK frequencies below 15 MHz? According to the datasheet frequencies as low as 100 kHz should be possible.

When writing this: The current eclipse CubeMX plugin seems to have major bugs for the L4R5ZI, with respect to the configuration of the external oscillator frequencies. Moreover the file formats for the .ioc cubeMX projects for the plain W32 application and the eclipse plugin seem to be incompatible.

When configuring our (needed) low frequencies, the configuration of the clock tree function in the generated code, seems to get stuck and calls a fatal error handler.

Any hint on how to fix/circumvent these problems?

2 REPLIES 2
Imen.D
ST Employee
Posted on April 23, 2018 at 13:30

Hello

haase.björn

,

Which tools version are you using ?

Please attach your ioc file, this will help us to check this issue.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Nawres GHARBI
ST Employee
Posted on April 23, 2018 at 15:16

Hi Björn

If you have selected the init all when loading the board, this is the USB which is requesting a frequency over exactly 14.2 MHz, 

If you don't need the USB please turn it off and you will be able to go under 15 MHz