Page 1 of 1

Bidirectional UART with open-drain

Posted: Tue Jan 17, 2023 10:54 pm
by floitsch_toit
The 1-wire protocol can be implemented using an UART [0]. In order to do this, I would like to use the same pin for input/output, and set the output to open-drain. (Similar to what can be done with two RMT channels).

Is the ESP32 capable of this? My attempts so far failed (even without open-drain). Do I need to use lower-level functionality?

Thanks.


[0] https://www.analog.com/en/technical-art ... aster.html