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 MATEKF411 target with one full duplex softserial: MATEKF411_FD_SFTSRL #4754

Merged
merged 1 commit into from
May 30, 2019

Conversation

shellixyz
Copy link
Collaborator

Closes #4611

@shellixyz shellixyz added this to the 2.2 milestone May 27, 2019
@shellixyz shellixyz changed the title Add MATEKF411 target with one full duplex softserial: MATEKF411_DP_SFTSRL Add MATEKF411 target with one full duplex softserial: MATEKF411_FD_SFTSRL May 29, 2019
@shellixyz shellixyz merged commit 8b9638f into iNavFlight:development May 30, 2019
@leeph
Copy link

leeph commented Jun 8, 2019

Curious, I was literally just thinking this would be useful, I hate not having a Bluetooth module in my F411-Wing planes for remote configurator.

However I tend to use the LED pin for lights (obviously) - but for flying wings, would it be possible to have the FD softserial on the two redundant servo signal outputs?

Obviously this would only be of use for flying wings with 2 servos, but would still be useful.

Either that or ST1 pin and just one of the servo signals, leaving three servos for the mixer?

@shellixyz
Copy link
Collaborator Author

@leeph The issue with using PWM outputs for softserial is that it is not possible to use the same timer for both softserial and PWM so since the following groups of outputs are using the same timer if you use one of them for SS you can't use the other ones for anything else than the same SS: 1-2, 2-3, 4-5-6-7. If you want to use the LED pin and are using less then 3 servos you can put a SS on S2-S3

@expipiplus1
Copy link
Contributor

@shellixyz Would you be able to clarify what you mean about the timer groups? I couldn't quite match the groups you mentioned "1-2, 2-3, 4-5-6-7" with what I'm seeing in the F411's target.c. It seems like the groups there are: "1-2, 3-4, 5-6-7". In this case (assuming S7 isn't being used) S5 and S6 seem like a good pair to use for a softserial port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants