S08MP16 Fault Interrupt not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S08MP16 Fault Interrupt not working

Jump to solution
1,044 Views
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?

Labels (1)
0 Kudos
Reply
1 Solution
931 Views
abicash
Contributor III

Hi

It seems the pin is non functional.

It works on another board.

FYI

Thanks and regards

View solution in original post

0 Kudos
Reply
1 Reply
932 Views
abicash
Contributor III

Hi

It seems the pin is non functional.

It works on another board.

FYI

Thanks and regards

0 Kudos
Reply