Is it possible to read and analyze the duty cycle from a pwm signal on a digital input of the fez mini? I want to us the output pwm signal of a rc-reveiver.
I was thinking about smothing the signal wit an lowpass and then connect it to the analog in, but there will be still some ripple on the signal…
You can minimise the ripple… I mess around with the filter until I optimise the ripple… I have also used a small 8 pin PIC on an spi port and read the PWM that way…
You could try an InterruptPort triggered by by both edges. The timestamp on the event is accurate.
Yes mike he could but assuming the frequency is low. Too many interrupts and the system will lock up