Page 1 of 1

Uart queue flag indicating the empty or not

Posted: Mon Aug 17, 2020 2:04 am
by stock86c
Hi everyone,

regarding to these posts
https://www.esp32.com/viewtopic.php?t=6096
viewtopic.php?t=5578

it inidcates that any amount of bytes above 120 will be split into intervals. My question is whether there exists a flag showing that there is still bytes in the queue that needs to be sent out, which after the last packet should show 0 that indicates all are sent. Any hints would be appreciated, thx.

Re: Uart queue flag indicating the empty or not

Posted: Mon Aug 17, 2020 7:49 am
by ESP_Sprite
There's a register that indicates how many bytes are in the FIFO, iirc. Check out the TRM for more information.