Skip to main content

Single Wire Soft Serial

Disclaimer:​

Software Serial is not recommended for RC control links and should not be used to connect serial receivers.

Software Serial List of compatible pins​

Not for public viewing yet.

List of compatible pins.

CLI commands to free up PWM 5 and PWM 6:

resource MOTOR 5 NONE

resource MOTOR 6 NONE

CLI commands to assign softserial:

resource serial_tx 11 <pin>

resource serial_tx 12 <pin>

NOTE:

  • The OK means it is compatible, and does not warrant it will work when it is configured as a part of a complete system.

OMNIBUS(F3) (by @jflyper)

PinLabelS.AudioTrampS.PortNote
A8LED stripNGNGNG
B4PPM (*1)OK?OKWhen PPM not in use
B6PWM8/SCLOKOKOKI2C must be de-configured? Need further testing.
B7PWM7/SDAOK??Ditto

@olexs: B07 (PWM7/SDA) works with S.Audio on 3.2, no extra config needed (I2C resources aren't mapped per default).


OMNIBUSF4 (by @jflyper)

PinLabelS.AudioTrampS.PortNote
A1PWM5OK?OK
A8PWM6OKOK?Tramp report by @llambkin
B14PPMOK??
B15CH2OK??
C8CH5OK??
C9CH6OK??

OMNIBUSF4SD (by @jflyper, @antonig)

PinLabelS.AudioTrampS.PortNote
A9TX1OK?OK @stsa64@stsa64: Smartport does not work if running Tramp on A8 (PWM6) via softserial (timer conflict??)
A1PWM5OK @basdelfosOK @stsa64OK @basdelfos
A8PWM6OKOKOK
B14PPM???
B15CH2???
C8CH5???
C9CH6???

SPRACINGF3 (by @jflyper)

PinLabelS.AudioTrampS.PortNotes
A0IO_1[3] PPM/CH1OK??When PPM is not in use
A1IO_1[4] CH2OK??When PPM is not in use
B4IO_1[5] CH5OKOK?
B5IO_1[6] CH6OK??
A8IO_1[7] LED stripOK??
B0IO_2[5] CH7OK??
B1IO_2[6] CH8OK??
B8M5NG?NGTIM4 crash with M3&M4
B9M6NG??TIM4 crash with M3&M4
A2M7OKOK?
A3M8OKOK?

Note: Some reports CH1 and CH2 not working: (https://github.com/betaflight/betaflight/issues/2532#issuecomment-284669276)


SPRACINGF3EVO

PinLabelS.AudioTrampS.PortNotes
A8LED stripNGNG?@pafleraf
B1M8OKOKOK@pafleraf

Note: Soft Serial for this target is disabled in bf 3.1.7. However, it works with bf 3.2.0 nightly as of today (2017-05-13)


REVOLT

PinLabelS.AudioTrampS.PortNotes
B6LED??NG@alenl2; Need further testing
C1CRNT??NG@alenl2; No timer?
A9TX1??NG@alenl2; Timer conflict? (need checking)
A10RX1??NG@alenl2; Timer conflict? (need checking)
B10TX3??NG@alenl2; Timer conflict? (need checking)
B11RX3??NG@alenl2; Timer conflict? (need checking)
C6TX6??OK@alenl2
C7RX6??OK@alenl2

KISS (KISSFC)

PinLabelS.AudioTrampS.PortNotes
A13PWM5OK (@alenl2)?NG @basdelfos/@alenl2
A02PITCHNG (@alenl2)?OK @basdelfos/@alenl2
A15ROLL??OK@basdelfos

BLUEJAYF4

PinLabelS.AudioTrampS.PortNotes
B00?NG (v1)?NGstaryk@rcg
B01?NG (v1)?NGstaryk@rcg

IRCFUSIONF3

PinLabelS.AudioTrampS.PortNotes
A00PPM??OKWhen PPM is not in use

BETAFLIGHTF3

PinLabelS.AudioTrampS.PortNotes
B01Soft Serial TX1OK (v1)??@iwarp
A02Soft Serial TX2NG (v1)??@iwarp
B07PPMOK (v1)??@iwarp

http://i.imgur.com/Mh41SmG.jpg

Note (2017-07-27) by @jflyper: BETAFLIGHTF3 had a timer assignment problem with pre-3.2 firmware. It is fixed with 3.2, and PB01 and A02 should work as software serial --- need to be verified (29/10/17) by @iwarp B01 confirmed working on 3.2.1