Any serial obex object that sets tx pin as input after transmission?
Clock Loop
Posts: 2,069
I tried to use fullduplexserial to do my parallel prop communications as simply as possible,
but I ran into the issue of multiple props running full duplex serial which doesn't set the TX pin as an input after transmission is finished.
Has anyone made an object like this?
Or how would I modify fullduplexserial to do this normally?
I looked into it and noticed that it looks like something that would need to be done in assembly in the same cog that is setting it as an output.
I am not good enough with assembly yet that I can read it and see, oh, it needs to go here, or to know why it might not be possible.
Anyone got any advice?
I suppose i could use separate tx - rx objects.
but I ran into the issue of multiple props running full duplex serial which doesn't set the TX pin as an input after transmission is finished.
Has anyone made an object like this?
Or how would I modify fullduplexserial to do this normally?
I looked into it and noticed that it looks like something that would need to be done in assembly in the same cog that is setting it as an output.
I am not good enough with assembly yet that I can read it and see, oh, it needs to go here, or to know why it might not be possible.
Anyone got any advice?
I suppose i could use separate tx - rx objects.
Comments
but it is limited to 19.200 baud
Using this setup the TX/RX pin will only pull the line low for a start and 0 bit; otherwise it's floated to the pull-up (which happens for a true mode stop bit). The setup also causes the local unit to ignore its own transmission when using just one pin (you don't want to fill your receive buffer with what you just sent).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon McPhalen
Hollywood, CA
Post Edited (JonnyMac) : 8/4/2010 2:11:25 PM GMT