Skip to content
Discussion options

You must be logged in to vote

If the logic analyser shows nothing at all on the TX pin, the SBUS output was never started. I checked the code path in current master. These are the conditions it needs:

  1. The setting name is servo_protocol. There is no servo type setting. Valid values are PWM, SBUS and SBUS_PWM:

    set servo_protocol = SBUS_PWM
    save
    

    Then run get servo_protocol after the reboot to make sure it stuck. The serial SBUS task (TASK_PWMDRIVER) and the port are only set up at boot, and only when this value is SBUS or SBUS_PWM.

  2. Exactly one UART needs the SBUS output function (SERVO_SERIAL, bit 22 = 4194304). Check with serial in the CLI. Only the first port in that list that has the function is opened. If you se…

Replies: 5 comments 12 replies

Comment options

You must be logged in to vote
3 replies
@jasc76
Comment options

@sensei-hacker
Comment options

@jasc76
Comment options

Comment options

You must be logged in to vote
2 replies
@jasc76
Comment options

@jasc76
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jasc76
Comment options

@jasc76
Comment options

Comment options

You must be logged in to vote
5 replies
@jasc76
Comment options

@younghwan-chae
Comment options

@jasc76
Comment options

@younghwan-chae
Comment options

@jasc76
Comment options

Answer selected by jasc76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants