AnsweredAssumed Answered

When the FRZACK in MPC5606B MCR register could not be set? It is still 0.

Question asked by Hanson He Employee on Mar 23, 2017
Latest reply on Mar 24, 2017 by Petr Stancik

Dear,

 

When the FRZACK in MPC5606B MCR register could not be set? It is still 0. We want to know the reason.Below is the code.

void CAN0_DeInit(void)
{
uint 16 CAN_0.MCR.R =0x4000000Ful; /* Enable to enter Freddze mode, enable all 64 msg bufs*/

CAN_0.MCR.B.HALT =1;
while(0== CAN_0.MCR.B.FRZACK)
{
 
}
CAN_0.MCR.B.MDIS =1;
CAN_0.MCR.B.FRZ =0;
CAN_0.MCR.B.HALT =0;
return 1;
}

The code pending at while(0==CAN_0.MCR.B.FRAZCK, we want to know what condition will make this happen? Thanks.

Outcomes