2022-08-22 06:03 AM
Hi, I work with STM32L562VET6Q, and when i try to comunicate with uart HAL_GetTick() fuction doesn't work because always return 0, but if i don't use uart work perfectly, What could it be due to?
I try to change prioritys in NVIC interrput table but still does not work.
2022-08-22 06:33 AM
Are you using UART in interrupt mode?
Where are you placing those HAL_GetTick()?
also, quick google
2022-08-23 11:20 PM
Yes, it is in interrupt mode, but I have tried to not use interrupt mode and uwTick is always 0 too.
it's in main.c
2022-08-24 12:24 AM
Is SysTick running? What's the Handler calling.
You call HAL_Init() before using the USART?