AnsweredAssumed Answered

CubeMX clock configuration fails for L4R5ZI chips

Question asked by Björn Haase on Apr 10, 2018
Latest reply on Apr 23, 2018 by Nawres GHARBI

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?