PCI Express to CAN Interface
-
Mechatron96
- Posts: 2
- Joined: Fri 6. May 2022, 17:37
Post
by Mechatron96 » Fri 6. May 2022, 18:12
Hello,
I'm writing an application that sends canbus messages over the PCAN-PCI Express card using the PCANBasic Library on Ubuntu 20.04.
When I try to initialize the PCAN channel the program throws an Initialization Error or 0x4000000 error code. All the post I've seen so far states that the issue is due to a faulty card, but the card is fine.
I have duo booted computer running windows, and the card works completely fine using the PCAN View application and PCANBasic library. My application in Ubuntu was working great until I installed the PCAN drivers on windows.
Any help or suggestions would be greatly appreciated

,
Matt
-
PEAK-Support
- Sales & Support

- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Post
by PEAK-Support » Mon 9. May 2022, 08:26
Which Linux Driver do you use ? If you want to run the PCAN-Basic API, you need to use the CharDev Driver.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
Mechatron96
- Posts: 2
- Joined: Fri 6. May 2022, 17:37
Post
by Mechatron96 » Thu 12. May 2022, 22:23
The driver was using was outdated. I reinstalled driver-8.14.0 and everything works fine

.