I am working with a team that is building a quadplane. We are using a navio2 board, a RPi 3 and a recent version of Arudpilot SW (downloaded in September).
We have started doing integration of the Navio2 with the quad lift ESCs and electric motors and we noticed a skipping noise coming from the electric motors on a regular basis.
To enable quadplane, we set Q_ENABLE=1, SCHED_LOOP_RATE=300. Based on another forum we also tried setting Q_RC_SPEED=300.
We connected the ESC to a RC receiver and it works fine, so we believe the ESC and motors are working. Also, we loaded ArduCopter to try all 4 lift motors and these worked.
After connecting an oscilloscope to the Navio2 outputs it was found that the PWM is erratic, and occasionally has long pulses and occasionally has missing pulses. This is happening on all 8 output channels, not just the lift motor channels.
So, enabling Quadplane is causing all output channels to have erratic behavior.
After doing some debugging, I added some code to function RCOutput_Sysfs::write to only output channels 1-4 and the PWMs worked as expected. As soon as I change this function to output channels 1-5, the PWMs start acting erratically. This function is one layer above the call to Linux, so it appears ArduPlane is working correctly, and problem is with the Linux layer
Any ideas as to the problem and how to solve it?
I saw another forum entry that mentioned that channels 5-8 should not be used, does this still apply and does it apply to QuadPlane?