Arti D

Re: Struggling to debug FTM0_CH0 on MKE02Z64

Discussion created by Arti D on Jul 18, 2016
Latest reply on Jul 19, 2016 by xiangjun.rong
Branched from an earlier discussion

Hello XiangJun Rong,


Both Function gets halt at while checking step by step at this condition " if(pFTM->MODE & FTM_MODE_WPDIS_MASK)    /* if not write protected */" when I do next step it jumps to "default_isr".


    /* FTMEN enable */


    /* update MOD value */

    FTM_SetModValue(FTM0, 9999);


Please can you shed some light on this. How do I proceed  am I  missing any step in enabling any bits...