STM32H7B3 Discovery Kit - Clock/Flash Code in Cube IDE 1.3 in Incorrect - All Projects Crash
I created a new project and selected the STM32H7B3 discovery kit. All default settings, no changes.
When I loaded code, it seems to crash on this line: (debugger connection is lost, etc.)
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_3) != HAL_OK
which is in
void SystemClock_Config(void)
To recreate, simply create a new project in CubeIDE 1.3 and select all the defaults the wizard gives you.
If I select the HSI in the System Clock Mux, I can debug, etc and the CPU does not crash. There is a bug the default PLL setup for this board.
Also, i checked that the HSE was actually working. I observed a clean 24MHz signal. Looks like the PLL simply isn't working correctly.
------edit-------
I found a bunch of other examples under:
STM32Cube\Repository\STM32Cube_FW_H7_V1.7.0\Projects\STM32H7B3I-DK
Everyone one of them have the same bug.
Is this expected behavior for out of the box examples? Is there additional configuration required?


