ZZ-Cat / CRSFforArduino

An Arduino Library for communicating with ExpressLRS and TBS Crossfire receivers.
GNU Affero General Public License v3.0
161 stars 27 forks source link

Automatic UART baud-rate configuration #74

Closed ZZ-Cat closed 9 months ago

ZZ-Cat commented 10 months ago

Overview

According to my information there are some discrepancies between the "agreed upon" baud-rate for CRSF.
The official baud-rate is supposed to be 416666, not 420000. However, ExpressLRS receivers use 420000 as their baud-rate and I have mostly been developing CRSF for Arduino for use with ExpressLRS receivers.

I am aware that in CRSF v3, there is an automatic baud-rated negotiation that takes place. However, CRSF for Arduino currently supports CRSF v2.
CRSF v3 will not be implemented in the upcoming release of Version 1.0.0.

For now, this is to remind myself to write up auto-baud logic to help deal with some of the baud-rate inconsistencies between TBS receivers and ExpressLRS receivers.