The CAN communication on the ATSAMV71-XULT board uses PCAN-USB

USB to CAN Interface
Post Reply
hector9
Posts: 1
Joined: Thu 4. Jul 2024, 09:42

The CAN communication on the ATSAMV71-XULT board uses PCAN-USB

Post by hector9 » Thu 4. Jul 2024, 10:12

Hi, I'm new to CAN a little while now and am having trouble with communication over the CAN bus on the ATSAMV71-XULT board. I use PCAN-USB for connection.

When trying to run the example code provided in the `driver_examples.c` file. then I keep getting the error:

Code: Select all

if (hri_mcan_get_TXFQS_TFQF_bit(dev->hw)) {

return ERR_NO_RESOURCE;
}
How to solve this problem? Thank.
Last edited by K.Wagner on Mon 28. Oct 2024, 16:35, edited 1 time in total.
Reason: Code formatted for better reading

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: The CAN communication on the ATSAMV71-XULT board uses PCAN-USB

Post by M.Heidemann » Thu 4. Jul 2024, 10:32

Hello,

Most likely a bitrate problem from what i an gather online.

Unfortunately we cannot help you much beyond that, as we are in no way familiar with ATSAMV71-XULT and therefore have no idea what this code is doing.

You should check with the community for ATSAMV71-XULT regarding this.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply