Page 1 of 1

ESP32 UART Related Questions

Posted: Wed Sep 13, 2017 11:17 am
by barometre
Hello,

I received ESP32 2 weeks ago, and I am really impressed with it. I dont want to use Arduino IDE since I would like to develop my C programming skills and get benefit of all available futures of the board.

I just started today to write a simple application which talks to Linbus. What I am trying to do is receive messages from Linbus and when I want to send something wait for 1.7ms while the bus is empty and send what I want to send. Here I would like make a little trick with UART hardware, I want to put the message that I want to send in UART TX buffer and uart should release the message when flag it the bus is available. For this I want to watch the RX line with a GPIO and give a flag accordingly.
Is it possible to create virtual CTS for UART hardware? (preferably not USB uart connected one)
Is it possible to Watch RX line without interrupting UART hardware?

Thanks