Invert polarity on UART

Hello,

I need to invert the level of my UART from software, any idea how I can do that?
I’m running on BBB, Debian 8 kernel 4.4

Thank you.

As far as I remember AM3358 TRM this is not possible in software.

And it is somewhat amazing this should be necessary - what kind of hardware do you try to control with the UART interface?

As far as I remember AM3358 TRM this is not possible in software.

And it is somewhat amazing this should be necessary - what kind of hardware do you try to control with the UART interface?

Not sure if this is the case in question, but many so-called S.BUS interfaces for RC radio receivers use an inverter on the input of a UART.

https://github.com/cleanflight/cleanflight/blob/master/docs/Rx.md

I’d guess the best solution is a soft UART on PRU, but would love to hear ideas about software bit inversion or other UART based solution.