Q: CAN communication is not possible at all

A:

CAN communication may not be possible at all due to mismatched CAN communication bit rate settings.
There are various possible reasons why CAN communication is not possible at all, but we recommend that you first check the bit rate settings.

Basically, the bit rate setting values of the CAN devices to be communicated are generally the same.

For bit rate settings of other companies' CAN devices, please refer to the device manual provided by each company.
CONTEC CAN devices have different functions for checking the bit rate value for CAN 2.0B communication and CAN FD communication.
The functions for each communication type are as follows :

 

■For CAN 2.0B communication

  To check the set bit rate, use the CanGetCanTiming function.
  Use the CanSetCanTiming function to set the bit rate.

  For details, please refer to the Function Reference for each function.

  For information about CAN 2.0B communication, please refer to [Difference between CAN 2.0B Communication and CAN FD Communication].

 

■For CAN FD communication

  To check the set bit rate, use the CanGetCanFdTiming function.
  Use the CanSetCanFdTiming function to set the bit rate.

  For details, please refer to the Function Reference for each function.

  For CAN FD communication, two types of bit rate can be set.
  If you want to set a different bit rate value, also refer to [CAN FD communication is not possible].