Question
Can we send and receive DMA UART at the same time ?
Hello,
I find in HAL_UART_Transmit_DMA the following code:
/* check that tx process is not already ongoing */
if (huart->gstate == HAL_UART_STATE_READY)
{
.....
return HAL_OK;
}
else
{
return HAL_BUSY;
}As far as I understand gstate, is for both tx and rx, so why we check that it is ready, instead of checking that there is no tx busy ?
Does it mean we can't send during reception of DMA in UART ?
Thank you
