inav icon indicating copy to clipboard operation
inav copied to clipboard

Omnibus F3 PPM in only working with UART3 enabled, thus blocking PWM5/6 (required for airplane)

Open wilco1967 opened this issue 9 years ago • 11 comments

Omnibus F3 basic 1.1 (Banggood), iNav 1.7.0RC1, Airplane mixer, PPM receiver (Frsky D4R-II)

The PPM input is only working when UART3 is enabled (for anything, doesn't matter what) If nothing is selected for Uart3, PPM input will not work.

However, when enabling Uart3, the PWM5+6 outputs no longer work. Those outputs are required for airplane. With Uart3 disabled, PWM5+6 do work, but PPM input doesn't..... (On the Omnibus F3, UART3 pins are shared with PWM5+6 pins)

When flashing with betaflight, I don't need to select anything on Uart3 for PPM to work. So it seems like iNav needlessly requires something to be activated on Uart3 for PPM to work.

I noticed there are two jumpers soldered adjacent to the PPM input, but I cannot find any information what they do, and whether or not I should remove one of them (which one ?)

But in Betaflight, PPM input working just fine with both jumpers installed, and no Uart3 selected, seems to suggest it might be software related.

wilco1967 avatar May 03 '17 18:05 wilco1967

We need 4 PWM outputs for airplane. I use iBus myself. Reading the Betalight docs on software serial, they say one problem with iNav is, that they still use the old static resource mappings. And that I2C on PWM 7+8 supposedly is hardwired in, and required. This gives another challenge.

Maybe we could make a new target OMNIBUS-PLANE, without I2C, and use PWM 7+8 as 2x extra servo outputs. That would keep UART 3 free, but sacrifice I2C typically used for external magnetometer which we do not need for plane.

povlhp avatar May 10 '17 07:05 povlhp

I have to agree with wilco1967. Same setup Omnibus F3 basic 1.1 (Banggood), iNav 1.7.0RC1, Airplane mixer, PPM receiver (Frsky D4R-II).

If UART3 is enabled motor outputs PWM 5 & 6 will not work.

To go around I opted to use an SBUS reciever on UART3 only to so that I could get PWM 5 & 6 to work.

plogibear avatar May 22 '17 16:05 plogibear

It is necessary to remove the SBUS bridge to use PPM and not enable UART3!

Feldsalat avatar May 22 '17 18:05 Feldsalat

@wilco1967 you need to remove S.Bus jumper to use PPM. It's a hardware issue so I'm closing this.

digitalentity avatar May 23 '17 10:05 digitalentity

Ok, Thanks ! I'll try removing SBus jumper later....

For now, I've got myself a wingwing Z-84, (flying wing) which is working fine with iNav on the Omnibus F3....

Problem was, I couldn't find any information regarding the jumpers, and I didn't want to risk removing it, and then finding out this wasn't the solution after all...

Thanks !

wilco1967 avatar May 24 '17 14:05 wilco1967

What a monumental balls up !! ...great

Redshifft avatar Jun 08 '17 13:06 Redshifft

Hi, I have an issue with same board you use. But different Issue. I saw you said : With Uart3 disabled, PWM5+6 do work, but PPM input doesn't..... (On the Omnibus F3, UART3 pins are shared with PWM5+6 pins) how to disable UART3 exactly..???? on port configuration or with CLI to free the pin of UART 3? I use the board to make a quads but I need PWM5 & 6 to run additional servo.

a-425 avatar Mar 26 '18 00:03 a-425

@a-425 You need to remove this link to use PPM and PWM6:

omnibusf3aio_ppm_and_pwm6

shellixyz avatar Mar 26 '18 14:03 shellixyz

Let me try....

On 3/26/18, Michel Pastor [email protected] wrote:

@a-425 You need to remove this link to use PPM and PWM6:

omnibusf3aio_ppm_and_pwm6

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/iNavFlight/inav/issues/1639#issuecomment-376190417

a-425 avatar Mar 27 '18 00:03 a-425

Any success?

jokam85 avatar Jul 09 '18 17:07 jokam85

Yes, but I didn't follow the way upsides. I try with my own way :D

On 7/10/18, Đorđe Mijailović [email protected] wrote:

Any success?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/iNavFlight/inav/issues/1639#issuecomment-403559360

a-425 avatar Jul 10 '18 02:07 a-425