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

Improved CPPM - alternative GPIOs, arming and altitude hold, init fix #862

Merged
merged 2 commits into from Dec 14, 2021

Conversation

matejkarasek
Copy link
Contributor

This PR further improves the support of external CPPM receivers:

  • alternative GPIO's can be used: PA7(MOSI), PA2(TX2), PA3(RX2), PB4(IO_3), PB5(IO_2) or PB8(IO_1). This allows to use a CPPM receiver alongside many of the decks without pin interference
  • switches can be used for arming and triggering altitude hold
  • initialization of all channels is improved to prevent undefined behaviour when no physical receiver is connected, or when transmitter is switched on after the crazyflie
  • logs are split into two groups: ext_raw for raw channel data (8 channels now) and ext for processed data
  • some other minor fixes

@matejkarasek
Copy link
Contributor Author

Flight tested on a CF2.1 with FrSky R-XSR receiver

@tobbeanton tobbeanton merged commit 14528ac into bitcraze:master Dec 14, 2021
@tobbeanton
Copy link
Member

I've tested this with the default PA2 pin and it works well. I have not tested with the others but anyway think this pull request is ok to merge. Well done and many thanks!

@matejkarasek
Copy link
Contributor Author

Great, and thanks for testing it and the merge!

@knmcguire knmcguire added this to the next release milestone Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants