I'm afraid it's not something that I is exposed - but presumably you could just attach a signal diode (so only 0.3v drop) between the STM32 TX pin and the serial line, so it's only ever capable of pulling the signal down?
You could take a look at https://www.espruino.com/STM32+Peripherals though as it may be you can set the STM32 up as normal and then just poke a register value in the UART to enable the half duplex mode?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
I'm afraid it's not something that I is exposed - but presumably you could just attach a signal diode (so only 0.3v drop) between the STM32 TX pin and the serial line, so it's only ever capable of pulling the signal down?
You could take a look at https://www.espruino.com/STM32+Peripherals though as it may be you can set the STM32 up as normal and then just
poke
a register value in the UART to enable the half duplex mode?