AnsweredAssumed Answered

No Rx data in loopback mode in CAN module for Freertos

Question asked by prashant sathe on Jul 4, 2016
Latest reply on Jul 6, 2016 by Daniel Chen

Hi,

 

I am working in CAN module MAC57D5MB. As i am having a single board device So i am checking the CAN in loopback mode. Struggling for three days still i am not able to get an RX data(even RX IFLAG). When i transfer a TX data i am able to get an IFLAG bit(asserted). Here i am taking an reference from stable MQX code.

 

Could be give me some hint/path to check the same.

 

below is my memory status for CAN module.

------------------------------------------------------------------------

  0x400F8000 : 0x400F8000 <Hex>

  Address   0 - 3     4 - 7     8 - B     C - F              

  400F8000  0F008200  5630ED02  8A800000  00000000         

  400F8010  00008C04  00000000  00000000  00000000         

  400F8020  80000400  00000000  00020000  00000000         

  400F8030  00200000  00008000  00600000  00000000         

  400F8040  00000000  E2750D00  FFFFFFFF  00000000         

  400F8050  A5184300  00000000  02001600  0F000000         

  400F8060  00000000  00000000  00000000  00000000         

  400F8070  00000000  00000000  00000000  00000000         

  400F8080  00000008  00000000  00000000  00000000         

  400F8090  00000004  00000000  00000000  00000000         

  400F80A0  00000004  00000000  00000000  00000000         

  400F80B0  00000004  00000000  00000000  00000000         

  400F80C0  00000004  00000000  00000000  00000000         

  400F80D0  00000004  00000000  00000000  00000000         

  400F80E0  00000004  00000000  00000000  00000000     

------------------------------------------------------------------------

 

    RX_mailbox_num  = 9;

    TX_mailbox_num  = 13;

    RX_identifier = 0x123;

    TX_identifier = 0x321;

 

/* RX fifo needed?                                      */ FALSE,

/* RX message buffer needed?                   */ TRUE

 

If you need any other information please do let me know.

 

-Prashant

Outcomes