Clear FCCU_NCF_Sx Issue

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

Clear FCCU_NCF_Sx Issue

1,222件の閲覧回数
liujinhang
Contributor III


Hi:

     why doesn't the FCCU_NCF_Sx can be cleared by the following code ?

{

  FCCU.NCFK.R = FCCU_NCFK_KEY;

  FCCU.CTRL.B.OPR = 0xC;

  while(FCCU.CTRL.B.OPS != 0x3);

}

 

Thanks

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

1,037件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

You can use following code that cleat all faults (you can modify it to clear only some faults):

void ClearNCF(void)

{

    uint32_t i;

    for(i=0;i<4;i++)

    {

        FCCU.NCFK.R = FCCU_NCFK_KEY;

        FCCU.NCF_S[i].R = 0xFFFFFFFF;

        while(FCCU.CTRL.B.OPS != 0x3)

        {

      

        };              /* wait for the completion of the operation */

    }

}

Please also pay attention to following documents:

http://cache.freescale.com/files/32bit/doc/eng_bulletin/EB758.pdf

MPC574xP - FCCU configuration guide

0 件の賞賛
返信