2018-05-29 10:48 AM
Hi,
What's the unit of the HAL_UART_Recevie() Timeout value? Is this us, ms, or SysTick? If I have FreeRTOS enabled and using TIM1 for SYS in Cube, how can I make sure this get right right timeout value?
Thanks,
Dick
HAL_StatusTypeDef ( * huart,
uint8_t * pData,
uint16_t Size,
uint32_t Timeout
)
2018-05-29 10:56 AM
Whatever tick unit you have for calling HAL_IncTick(), usually 1ms time base