MAC57D5MB Canbus cannot receive messages from Arduino

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAC57D5MB Canbus cannot receive messages from Arduino

626 Views
johnkevintoral
Contributor II

Hi, 

I have problems with receiving messages from Arduino(with seeed canbus transceiver/controller) as MAC57D5MB as a transmitter. details below:

  • I can send from MAC57D5MB to arduino with no problem and accurate data being received. However, they have different bit rates of 500kbps(arduino) and 250kbps(MAC57D5MB).
  • both transceiver have 120 ohms resistors
  • MAC57D5MB uses library of MQX4.2 Libraries and arduino uses mcp_can libraries. 
  • I tried manipulating the codes from MAC57D5MB by enabling/disabling the FIFO and Message Buffer but no progress. 
  • I also tried manipulating the bit rate from both controllers from 125kbps to 1mbps by different combinations but no progress. 
  • I am sure that I have inputted the correct CAN IDENTIFIER for both controllers.

I suspect that the CAN ID is not being recognized by the MAC57D5MB. Please confirm if my idea is correct.

attached are source codes. hope to hear from you guys soon. 

Best Regards, 

Kevin

0 Kudos
0 Replies