SBUS2-Telemetry icon indicating copy to clipboard operation
SBUS2-Telemetry copied to clipboard

[Feature Request] STM32 Support

Open MelangeF3A opened this issue 3 years ago • 1 comments

Hello, great work..

I have it running on the ESP32. Do you have idea on how to make it work on the SMT32F103 / F405 etc.

They do support RTOS :-)

Many Thanks

Richard

MelangeF3A avatar May 29 '21 01:05 MelangeF3A

Hello @MelangeF3A ,

it should be no Problem to make the code running on F103 and all the other types.

RTOS should not be used! It will cause to much delay. I had the same problems with the first code on ESP32.

  1. You have to make a USART RX Interrupt to receive the SBUS(2) Frame -> Serial.available() in loop will not work!
  2. You need a timer interrupt which transmit the SBUS2 Telemetry data with USART TX

The Problem is, i have no time to write code for STM32. See the Issues....i even have no time to fix them.

If you could write some Code i can test it and make changes. I have some STM32 Dev Boards here. It would be great, when the code could be compatible to STM32 Arduino and all STM32 Chips....but maybe this is to much.

BrushlessPower avatar May 31 '21 06:05 BrushlessPower