2018-11-25 03:41 AM
the STM32H753 chip is mounted on a board with an external 12Mhz HSE crystal and 32k LSE crystal. Using the CUBE config tool I have the attached SystemClock_Config function.
The function gets stuck waiting for a valid RCC_FLAG_PLLRDY signal in line 42 (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK).
Any ideas about what the issue might be?
Thanks in advance ..
P.S. It works if I adjust the values to use the internal oscillators
2018-12-02 01:56 AM
You could try my slim "my_system_stm32H7.c" clock config function, which I just posted in my "Cache New" Nut blog ... . This should work nicely, but of course only for the HSE Xtal part ... the 32k LSE crystal part you have to solve yourself, sorry... .
2018-12-02 10:39 PM
where is your blog hosted?
2018-12-04 09:35 AM
2018-12-04 09:41 AM
Zero out the content of the structures.
Enable HSE and output via MCO pin (PA8) and establish if it is oscillating properly and at the frequency/stability expected.
Make sure the HSE_VALUE in stm32h7xx_hal_conf.h reflects your design.
Not everything is a software problem.