I have a problem with using the Timer capture function with External interrupts on the ADuC7060 and ADuC7020 parts- how do I fix this?

I am trying to measure the width of an input signal pulse. I have connected the external signal to the IRQ0 pin.

Using Timer0 on the ADuC7060, I have enabled the Timer Capture function to capture a rising edge on IRQ0.

When I capture rising edge interrupts on IRQ0, it works fine but, when I configure the IRQ0 for falling edges, the Timer capture function doesn't work.

What am I doing wrong?

I have seen a similar issue on the ADuC7020 using the timer capture function on Timer1.

Parents Reply Children
No Data