Tool/software:
how to reset the NewDat bit in the CAN_IF3MCTL register?
if( CanaRegs.CAN_IF3MCTL.bit.NewDat )
{
rxA.all = CanaRegs.CAN_IF3DATA.all;
rxB.all = CanaRegs.CAN_IF3DATB.all;
HWREG_BP(myCANA_BASE +CAN_O_IF3OBS) = CAN_IF3OBS_MASK |CAN_IF3OBS_ARB |CAN_IF3OBS_CTRL|CAN_IF3OBS_DATA_A|CAN_IF3OBS_DATA_B;
// CanaRegs.CAN_IF3OBS.all =(bp_32)0x1F;
Even though I read the CanaRegs.CAN_IF3DATA and CanaRegs.CAN_IF3DATB registers, the NewDat bit is not reset. I don't know what to do or how to reset it.