2025-01-29 10:47 PM
I have two NUCLEO-H755ZI-Q boards and I’m trying to run the SPI_FullDuplex_ComIT example on both.
One board breaks here (whether the software is built for master or slave):
The other board has no problem (whether the software is built for master or slave).
Any ideas?
Solved! Go to Solution.
2025-01-30 01:37 PM - edited 2025-01-30 01:39 PM
That's strange. previously your log showed CM4 is disabled. Are you sure you are connecting the board behaving abnormally?
Comment out that while loop:
/* Wait until CPU2 boots and enters in stop mode or timeout*/
timeout = 0xFFFF;
while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));
if ( timeout < 0 )
{
Error_Handler();
}
2025-01-30 02:16 PM
It was originally enabled. I disabled it to see if that made a difference.
2025-01-30 02:47 PM
I left the while loop and commented out the error handler so it falls through:
It now works! Thanks for your help!
2025-01-30 02:56 PM
@SoCalJim wrote:
I left the while loop and commented out the error handler so it falls through:
It now works! Thanks for your help!
It's the same as if you commented out the loop as I mentionned previously but the origin of the bahavior still not understandable.