Invert polarity on UART

160 views
Skip to first unread message

DragosP

unread,
Feb 1, 2017, 12:51:15 PM2/1/17
to BeagleBoard
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.

Heinz Hummel

unread,
Feb 2, 2017, 4:37:21 AM2/2/17
to BeagleBoard
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?

Jason Kridner

unread,
Feb 2, 2017, 7:50:54 AM2/2/17
to beagl...@googlegroups.com


On Feb 2, 2017, at 4:37 AM, Heinz Hummel <heinz.h...@gmail.com> wrote:

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. 


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. 


Am Mittwoch, 1. Februar 2017 18:51:15 UTC+1 schrieb DragosP:
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.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a842d34e-a049-40b1-ae8a-2d743459b357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages