CAN communication

Hi,

I’m a new user of QNX.
If you get me a sample code of CAN communication for dra829v by direct hardware register access , I’ll appreciate it.

Never used this myself (we don’t use Canbus) but there is a GitHub project here that says it converts Linux Canbus drivers to QNX and the latest commit was only a few weeks ago. The one you want isn’t in the list that’s mentioned as supported but I suspect there is a Linux driver in which case you could add it to the list of supported devices or maybe you can message the person who is maintaining this project and ask them to help you do it (or get them to do it).

Tim

Thanks tim for your help

Hi. This is a bit late but I’ve recently released a driver and some associated tools on github. I’ve been using these for years. They’re currently designed to work with Peak PCI devices but should be pretty easy to port to other devices which implement the NXP SJA1000 interface.

Driver: GitHub - stappdev/qnxCAN1000: CAN bus driver for the QNX Neutrino RTOS.

Tools: GitHub - stappdev/CANTools: Set of tools to operate with QNX CAN1000 driver.