Bidirectional UART with open-drain

floitsch_toit
Posts: 22
Joined: Wed Jun 29, 2022 4:25 pm

Bidirectional UART with open-drain

Postby floitsch_toit » Tue Jan 17, 2023 10:54 pm

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

Who is online

Users browsing this forum: Bing [Bot] and 95 guests