2020-09-29 03:37 PM
I tested the example in STM32Cube_FW_H7_V1.7.0/Projects/NUCLEO-H745ZI-Q/Templates_LL. It works perfectly on my Nucleo board.
However, when I want to test my STM32H755 with the same code. The CM7 main blocked at
while((LL_RCC_D2CK_IsReady() != 0) && ((timeout--) > 0));
It seems the core M4 did not enter to the sleep mode, which causes the RCC->D2CK is always set. Then the code will finish with a timeout and loop in Error_Handler();
I can well enter the debug mode for CM4 and the code to enter sleeping mode should be executed as on my Nucleo board.
Could anyone help me on this problem of migration?
Cedric
2020-09-29 04:03 PM
Are option bytes the same on both? Specifically BOOT_CM4?
2020-09-30 07:31 AM
Which option? All files are identical as in the example template. All build/debug configurations are the same for both board.
2020-09-30 08:11 AM
2020-09-30 01:32 PM
I checked with STM32CubeProgrammer, the OB values are all the same. The boot0 on my board is also the same as on Nucleo schematic.
2020-09-30 01:33 PM
I checked with STM32CubeProgrammer, the OB values are all the same. The boot0 on my board is also the same as on Nucleo schematic.
2020-09-30 03:48 PM
If everything is the same I don't see why it would behave differently.