after i got the new kakute f4 mini board and flashed 4.1.3 firmware. i try to used the 5th PWM output to control the gimbal. i mapped the radio controller channel8 to sevo5 by setting SERVO5 function as RC8, but no pwm output from M5 pad on the board.
the document says kakute f4 mini support 5 pwm output, what should i do to get the M5 pwm ouput work?
but ardupilot.org says
The M5 is defaulted to support serial LEDs instead of PWM but can be changed by changing its default function using SERVO5_FUNCTION and supports Dshot.
so i cannot use M5 pwm output by setting SERVO5_FUNCTION=58? there is noway to map RC8 channel to servo5 output?
It makes no mention of this in the Github repository readme.md. It simply says it’s PWM5 is used for LED. Perhaps you have to modify the hwdef and recompile not sure.
kakute F4 mini manual says, M5 and M6 must be resourced to activate the function like below
Type in the following command in the CLI window:
resource MOTOR 5 B06
resource MOTOR 6 B07
timer B06 AF2
timer B07 AF2
dma pin B06 0
dma pin B07 0
save
it seems timer and dma should be configured, is there same code in ardupilot verson?