Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SOFTSERIAL support on TX6 for OMNIBUSF4V3 target #3222

Merged
merged 3 commits into from Jun 25, 2018

Conversation

Projects
None yet
4 participants
@krzysztofmatula
Copy link
Contributor

commented May 15, 2018

Based on #3033
Verified by using S.BUS on RX6 and LTM telemetry on TX6 (SOFTSERIAL1).
When the SOFTSERIAL1 is not assigned any function in the Ports tab, UART6 works normally, as a bi-directional HW port.

@krzysztofmatula

This comment has been minimized.

Copy link
Contributor Author

commented Jun 4, 2018

Just a note that this change has been flight-tested and works well for me.

@leonard4

This comment has been minimized.

Copy link

commented Jun 6, 2018

Tried this lastnight with an R9 Slim, was unable to get it to work. Did you have to flip duplex or telemetry inversion with the S.Port signal? I enabled soft serial then set the sensor to "Smart Port" on SoftSerial1, was there anything else you had to change?

@krzysztofmatula

This comment has been minimized.

Copy link
Contributor Author

commented Jun 6, 2018

@leonard4 I was actually testing LTM not S.Port. To make it work I just enabled the soft serial feature and assigned the "LTM" to SoftSerial1 and set it to 57600 baud. Nothing more.

On a related change for different board (#3033) S.Port is said to work, yet I'm not sure if additional inversion need to be set up or not. Maybe the author (David-VG) could say more.

@leonard4

This comment has been minimized.

Copy link

commented Jun 7, 2018

Gotcha, thanks for the response.

@fiam

This comment has been minimized.

Copy link
Member

commented Jun 22, 2018

@krzysztofmatula It would be better if you defined SOFTSERIAL_1_RX_PIN to PC6 too. That way the soft serial port can also be used as an RX only port.

@krzysztofmatula

This comment has been minimized.

Copy link
Contributor Author

commented Jun 25, 2018

@fiam Agree it could be useful. I'll verify and provide update shortly.

@fiam fiam added this to the 2.0 milestone Jun 25, 2018

@fiam fiam merged commit dab78de into iNavFlight:development Jun 25, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@littlbox

This comment has been minimized.

Copy link

commented Sep 14, 2018

Tried softserial on uart6 (tx6) with smartaudio and it's not working. Has anyone tested it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.