Input capture with delay

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Input capture with delay

540件の閲覧回数
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

ラベル(1)
0 件の賞賛
1 返信

378件の閲覧回数
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 件の賞賛