ESP32 UART intercharacter delay

zainab_orooq
Posts: 1
Joined: Mon Dec 11, 2017 1:16 pm

ESP32 UART intercharacter delay

Postby zainab_orooq » Mon Dec 11, 2017 1:23 pm

Hi,
I hope you can help me out. I'm using ESP32 with framework-arduinoespressif32, I have been trying to force 1ms delay in between characters sent through UART. I'm manually editing the uart driver.
I went through the datasheet and understand that we could use the break length to set the delay up. But I cannot seem to get it working. It works when all my data is sent out, not if only 1 byte is sent. I'm a bit new to ESP32, could you please help me out.
Many Thanks
Regards,
Zainab

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 UART intercharacter delay

Postby WiFive » Tue Dec 12, 2017 4:37 am

Could you use frame idle period and reduce tx fifo size to 1 byte?

Who is online

Users browsing this forum: No registered users and 47 guests