Issues with brand new NUCLEO-H755ZI-Q demo board --- HAL_GetTick()
I just started using the NUCLEO-H755ZI-Q demo board. I created new project, and did not write any code. During project creation I clicked YES to init all peripherals.
At debug I noticed two issues:
1- At the beginning of Main(), it is going to Error_Handler() function here:
/* 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();
}
2- Whenever function HAL_Delay() is used it gets stuck. I found it gets stuck inside HAL_Delay() at:
while ((HAL_GetTick() - tickstart) < wait)
This is so, because HAL_GetTick() always returns zero
Notes:
- HAL_Init() is returning HAL_OK
- SystemClock_Config() is returning HAL_OK
- SysTick is set in SYS, and SYS_M4 in the .ioc file
Not sure what is the problem. This is brand new board.
Thanks for any suggestion.
