2014-04-22 10:04 PM
hi guys
i could produce pwm in stm32f407 but i don't know how to read pwm with this.if i have 9 channel pwm i think i takes 9 pin from servo and if i can send this 9 pwm through 1 ppm(Pulse Position Modulation
) channel it would be more optimize and takes less space .now my questions is how can i read 9 pwm channel and how can i read 1 ppm with stm32f407??any idea would be great #input #pwm #discovery #stm32f42014-04-23 07:12 AM
You'd need one timer per channel, they only have one counting element, and the period/duty latches use CH1/CH2
Not familiar with PPM, but you should be able to latch pin transitions with a time-stamp, and use either interrupts, or DMA to accumulate/measure the intervals.