sbus icon indicating copy to clipboard operation
sbus copied to clipboard

Can not Recv Sbus data with ESP8266

Open lsors opened this issue 1 year ago • 2 comments

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 avatar Jan 21 '24 09:01 lsors

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

lsors avatar Jan 22 '24 09:01 lsors

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.

Eisbaeeer avatar Jun 21 '24 13:06 Eisbaeeer