bird-sanctuary / bluejay

:bird: Digital ESC firmware for controlling brushless motors in multirotors
GNU General Public License v3.0
301 stars 32 forks source link

Added DSHOT 150 configuration step for EFM8BB21 and EFM8BB51 #148

Closed damosvil closed 1 year ago

damosvil commented 1 year ago

This commit enables DSHOT 150 on BB21 and BB51 targets.

This pr tries to bid an option to relieve all possible stress generated by comms on the zero cross detection algorithm while keeping the possibility to update motor pwm at 2khz.

stylesuxx commented 1 year ago

This is more of a convenience feature for testing and debugging, rather than for using in a productive environment - right?

damosvil commented 1 year ago

Yes, I think I should not have created the pr. I will remove the pr. Just for trying things

damosvil commented 1 year ago

Not for production. Only for research

stylesuxx commented 1 year ago

I think it's OK to have the PR - IF - it will work in production too. I mean, if someone set's DSHOT150 in prod by accident it should still be working. We can document that DSHOT150 is purely for development. Alternatively we could add a "dev" flag which would enable such thing for dev builds.

I did not mean to shut down your PR - was just asking out of interest.