I am using an STM32F405 based board (OpenPilot revo) to receive PWM signals from a joystick receiver.
I have to capture five PWM signals using only two timers, timer 8 and timer 12. I've already succeeded capturing a PWM signal and computing the duty cycle on only a channel for each timer using the example provided with the standard library (PWM INPUT).
But I couldn't use multiple channels for each timer. How do I configure the channels? It would be great if someone has an example with more than a channel used for PWM input.