This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DCAN question of 470



There's one question from customer, wait for feedback, thanks in advance.

 CAN RAM Initialization

      This is the program about CAN RAM Initialization

      SYS_Ptr->MINITGCR_UN.MINITGCR_UL = 0xA;

      SYS_Ptr->MSINENA_UL = MEM_CH_DCANRAM;

      while (SYS_Ptr->MINISTAT_UL == 0);

      SYS_Ptr->MINITGCR_UN.MINITGCR_UL = 0x5;

      I initialize can ram like the above,but the program will pause when execute while (SYS_Ptr->MINISTAT_UL == 0);I dont know the reason.