AnsweredAssumed Answered

How to use the CAN Bus on S32V234

Question asked by Sebastian Kruse on Jul 15, 2019
Latest reply on Aug 6, 2019 by kevin ji

Hi,

I want to use the build in CAN Bus of the S32V234 to communicate with an Teensy 3.2.
For debugging, I've connected a PeakCan USB dongle to the boards CAN0 to send and recieve messages.

I connected my PC via Putty to the board and used the following commands to test it:

ip link show can0
ip link set can0 type can bitrate 500000
ip link set can0 up

But with

candump can0

I don't recieve the messages I send from the PeakCAN software and don't recieve the messages in the software I send with 

cansend can0 610#000000

from the board.

It seems like the board itself as a CAN Node is not active.

 

Are there any examples about how to test the CAN bus?
How do I then implement the CAN functionality in Matlab?

 

Thank's for your help!

Sebastian

Outcomes