neeraj sharma

Input capture with delay

Discussion created by neeraj sharma on Jun 7, 2011
Latest reply on Jun 18, 2011 by Jerome GUEUNIER

Dear all,

i am working on freescale hcs12xdg128b microcontroller.and i want to capture RF Data using input capture pinIOC2/PT2 with delay count so that i can ignore so noise. For that i have to use DLYCT register to set delay.

 

my query is that if i use DLYCT = 50 Then (dly_cnt+1)4bus clock cycle means 13micros at 16mzh bus clock after detecting rising edge (if  configure at ridging edge timer interrupt) it will generate interrupt after 13 microseconds or after detecting falling edge?pls help me for correct understanding.

regards

nss

Outcomes