SbusToPWM icon indicating copy to clipboard operation
SbusToPWM copied to clipboard

Sbus To CPpm

Open RMFPV opened this issue 7 years ago • 5 comments

Hi Mike, Can it be also set to decode SBUS to 16 or 12 CPPM channels on one single output? Thank you.

RMFPV avatar Feb 06 '18 23:02 RMFPV

That is not something easy to add/change. SBUS frames arrive every 9mS. Currently, to get accurate pulse timing, two sets of 4 pulses are output BETWEEN SBUS frames, synchronised to the SBUS input timing. A CPPM signal for 12 channels would have a period of arounf 30mS, so would not synchronise, and pulse edges would occur while a SBUS frame was alos arriving.

MikeBland avatar Feb 07 '18 10:02 MikeBland

I see the problem now, but is there a way to find the solution?

RMFPV avatar Feb 08 '18 10:02 RMFPV

Usually use 8 pwm in one cppm. It maybe help and useful

DemidosMir avatar Mar 28 '22 18:03 DemidosMir

Usually use 8 pwm in one cppm. It maybe help and useful

can someone share code with 8pwm? that's enough for me =) or maybe we can use stm32 for that

DangerD1024 avatar Feb 26 '23 10:02 DangerD1024

@DangerD1024, RTFM, or more precisely ground <-> R 1Ko <-> TXpin

zelogik avatar Aug 29 '24 09:08 zelogik