cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 WLE JC WioE5 SUBGHZ PHY HAL Delay , HAL_GetTick() does no work..

David16255
Associate

Hello. We are developing a p2p application using two Wio-E5 mini modules based on stm32 WLE5JC.
The problem I'm facing is HAL_DELAY not working.

I created the project, chose HSE, LSE, then SysTick, and then after I selected SysTick, HAL_IncTick() was well declared in SysTick_Handler, and I also checked NVIC. But when I do HAL_GetTick() at any moment, I get zero. Isn't there a problem with this??
The Ping Pong example also uses HAL_Delay, but I cannot understand why this happened. 

This is very critical for my project becaude when i set modem state in RX, it call timeout in next loop. please help me

1 REPLY 1
Imen.D
ST Employee

Hello @David16255 ,

Try enabling global IRQs and check the SysTick interrupt priority that have a higher priority than any peripheral interrupt. Also, make sure the interrupt handler is not blocked or masked.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen