Repository navigation
SBUS out when PWM servos are used #12220
|
Hi I wanted to use sbus out to drive a Caddx gimbal because the serial gimbal functions are not working. Movement is possible, center is possible but not the two other modes. I tried two uarts with the gimbal (not working) and then used my logic analyser to check if a signal gets generated and it inversion or smth else, but nothing is generated. Is this something that isnt working or would this be a new feature?? Regards |
Replies: 5 comments 12 replies
|
You mentioned your receiver is Mavlink. One can set servo output to pwm+sbus, but I don't know of any reason to think that would help your problem. |
|
We have a couple issues here. The Caddx gimbals have three modes, Mode 1, Mode 2, and Mode 3. I don't see a mode called "movement", so it's unclear what you're experiencing. You then said you want to try Sbus -- I don't see any indication that you made any attempt to configure Sbus? Is that something you tried and have a question about? The recommended choice is to follow the illustrated instructions in the Caddx wiki. |
|
hello !? |
|
Oh I guess you didn't see the messages on your Facebook post, or you're still having trouble. You'd want to set servo output to sbus, or sbus+pwm. In the CLI tab: set servo type = SBUS+PWM |
|
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:
If you still get no frames after 1 and 2, post the output of |



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:
The setting name is
servo_protocol. There is noservo typesetting. Valid values arePWM,SBUSandSBUS_PWM:Then run
get servo_protocolafter 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 isSBUSorSBUS_PWM.Exactly one UART needs the SBUS output function (
SERVO_SERIAL, bit 22 =4194304). Check withserialin the CLI. Only the first port in that list that has the function is opened. If you se…