Input capture with delay

cancel
Showing results for 
Search instead for 
Did you mean: 

Input capture with delay

260 Views
nss5678
Contributor I

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

Labels (1)
0 Kudos
1 Reply

98 Views
AROK
Contributor I

If you need to filter some noise, you should add and external hardware filter  ( minimum 2nd order low pass filer , but higher order low pass of band pass filter should be condiderated )

0 Kudos