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 Peripheral MsgLst bit clearing logic

Hello Support,

I am trying to understand how to clear the MsgLst bit in the Message Object for DCAN.

I am assuming that IFx register contains MsgLst bit field. And I should target a particular Message Object with IFx register WRITE Access.

Question is should I set MsgLst bit as 1 or 0 in order to CLEAR/RESET the MsgLst bit of a particular Message Object.

Thank you.

Regards

Pashan

  • Pahan,

    Yes the IFx Register contains a MsgLst field. Are you trying to configure the Message Object to transmit or to receive ?

    Regards,

    Pratip

     

  • Pashan,

    If you are trying to configure the message object as transmit  you need not bother about MsgLst.

    If the message object is configured to receive, the MSGLst is a read only flag .

    Regards,

    Pratip

     

  • Hello Pratip,

    Yes, I am configuring the Message Object as Receive Message Object.

    If MsgLst bit is read-only for Received Messages, then how does it get cleared?

    I mean, under what conditions it will be cleared once set due to lost messages?

    Please explain.

    Also, it will be helpful if you please refer to the section number of spnu489b.pdf [TRM] for the relevant information related to clearing of MsgLst bit once set due to lost received messages.

    Thank you.

    Regards

    Pashan

     

  • Pashan,

    The MsgLst Bit may not automatically reset. You may try writing a 1 to clear it in privilege mode.

    Regards,

    Pratip