Replies: 3 comments 2 replies
-
Technically it may be possible, to reconfigure the Pin output driver in machine_uart.c after the UART has been configured. But this is not implemented. Until then, you can go for external hardware solution of a wired NOR built with shottky diodes and a pull-up resistor. |
Beta Was this translation helpful? Give feedback.
-
Finally the solution is simple. For example, this works on the ESP32/ESP32-S3: from machine import Pin, UART
uart = UART(1, baudrate=9600, tx=Pin(10, mode=Pin.OPEN_DRAIN), rx=9 ) You can either specify a pin number, i.e. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I had tested too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to configure a UART with open drain for output on the ESP32-S3? How can that be achieved?
Beta Was this translation helpful? Give feedback.
All reactions