Jump to content
  • 0

error in CAN BUS comms on Analog Discovery


KTP

Question

I have bought a USB-CAN-A adapter and I want to test it with the Analog Discovery 2 that I have.  https://www.waveshare.com/wiki/USB-CAN-A#Software

My USB-CAN adapter has differential Can pins, so CAN_H and CAN_L. The analog discovery has the TX and RX and I'm not sure how they should connect correctly. Atm I have DIO 5 for TX connected to CAN_H and DIO 6 for RX connected to CAN_L. 

I have the software for the adapter sending messages to the analog discovery receiving. I'm getting all the data across but I have RX ERROR FRAME appearing on the anlaog discovery. I also have The Transmitter error count  going up by 8 every time I sent a message - which according to this explanation is a primary error flag. 

After 16 messages the transmitter error count gets to 128 and the error shown on the software turns to Error passive, and the RX ERROR FRAME isn't flagged on subsequent messages.

I'm really confused about why I'm getting these errors and how to fix them.

Any help is greatly appreciated.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...