Bidirectional UART with open-drain

floitsch_toit
Posts: 43
Joined: Wed Jun 29, 2022 4:25 pm
Location: Aarhus, Denmark
Contact:

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

realfspin
Posts: 10
Joined: Sat Apr 06, 2024 9:29 pm

Re: Bidirectional UART with open-drain

Postby realfspin » Tue May 28, 2024 5:57 am

bump, also trying to do this without success, anybody?

Who is online

Users browsing this forum: DuckDuckGo [Bot], Qwantbot and 2 guests