Im trying to measure the time between 2 consecutive rising endges (Rising and Falling Edge together) on GPIO continuously but I did not find any leads. will appreciate the support.
Im trying to measure the time between 2 consecutive rising endges (Rising and Falling Edge together) on GPIO continuously but I did not find any leads. will appreciate the support.
after implementing the ppi example I start getting these values. But these values are in ms. How can I increase to nano seconds only the output so that i can capture upto 900 nano seconds
You can’t measure 900ns exactly in 16MHz timer. One tick is 62.5ns. You can only measure 875ns or 937.5ns.
Yes, then I will try to start from 875ns.
14ticks with 16MHz timer should do 875ns okay. Still not sure what kind of program you want to make. Would you summarize it?
14ticks with 16MHz timer should do 875ns okay. Still not sure what kind of program you want to make. Would you summarize it?