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

Can not Recv Sbus data with ESP8266 #77

Open
lsors opened this issue Jan 21, 2024 · 2 comments
Open

Can not Recv Sbus data with ESP8266 #77

lsors opened this issue Jan 21, 2024 · 2 comments

Comments

@lsors
Copy link

lsors commented Jan 21, 2024

this lib work well for ESP32 use two hardware Serial,but this time I want to use ESP8266 to handle sbus data, UART0 for code download and SBus RX, and Debug info output in a softwareSerial, build ok, but sbus_rx.read always false

bfs::SbusRx sbus_rx(&Serial)
sbus_rx.read == false

board: WeMos D1 R2 mini esp8266
Arduino IDE 2.2.1

@lsors lsors changed the title Can Recv Sbus data with ESP8266 Can not Recv Sbus data with ESP8266 Jan 21, 2024
@lsors
Copy link
Author

lsors commented Jan 22, 2024

I change source code , use [espsoftwareSerial] as SBus RX, and UART0 as debug output, it works , and need change CPU freq at 160Mhz, use default setting 80Mhz will have error data recv, this way will downgrade CPU performence, not a good solution, it better find root issue ,let UART0 as sbus Rx

@Eisbaeeer
Copy link

I change source code , use [espsoftwareSerial] as SBus RX, and UART0 as debug output, it works , and need change CPU freq at 160Mhz, use default setting 80Mhz will have error data recv, this way will downgrade CPU performence, not a good solution, it better find root issue ,let UART0 as sbus Rx

Can you provide your changes reagarding softwareserial?
Changing CPU freq. is already done.
Thanks.

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

No branches or pull requests

2 participants