S08MP16 Fault Interrupt not working

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

S08MP16 Fault Interrupt not working

ソリューションへジャンプ
1,045件の閲覧回数
abicash
Contributor III

Hello

 

Somehow it isn't working now on a final board.Earlier on a perf board it worked every time the pin was fed with a 5v signal.

Now no interrupt is asserted.

Can the pin have become faulty? i have pulled the pin low with external resistor to avoid spurious glitches.

 

Here is my part of fault init code

{

.

.

    FTM2MODE = 0xC5;

    FTM2FLTCTRL  = 0x11;  //Fault 0 and Filter 0 enabled
    FTM2FAULTFILTER_FFVAL = 0x0F; // FFVAL x system clock = 0.9us

.

.

}

 

heres the ISR

 

void interrupt 4 FTM2FAULT_ISR (void)

{

   FTM2OUTMASK = 0x3F; //stop channels

   FTM2FMS_FAULTF = 0;

}

 

what is wrong? can someone point out?

ラベル(1)
0 件の賞賛
返信
1 解決策
932件の閲覧回数
abicash
Contributor III

Hi

It seems the pin is non functional.

It works on another board.

FYI

Thanks and regards

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
933件の閲覧回数
abicash
Contributor III

Hi

It seems the pin is non functional.

It works on another board.

FYI

Thanks and regards

0 件の賞賛
返信