X20CS1070 Canbusoff problem

Hello, i have problem with x20cs1070 module. I cannot trasmit and recieve frames because after starting up module have canbusoff value on true. Can anybody help me with this problem? How can i rewrite internal trasmit counter for restarting module?



Thank you for your help.

It would help if you showed the code you’re using. Also, what is the cpu (CS1070) communicating with?

Busoff normally means that there is a problem on the bus physicalwise.
Have you checked the wiring and termination resistors ? CAN must be terminated on both ends using 120 Ohm

Yes both ends are terminated with 120 ohms. But i will check wiring. For each device with CAN bus i can communicate using different app so i think problem is with X20CS1070. After starting up i didnt send anything and this Canbusoff value is already TRUE.

Marek, I normally switch off the system and use a Multimeter to check for the Resistance across the CAN High and CAN Low. With both terminating Resistors installed, you should get approximately 60 Ohms. (2 x 120 Ohms in paralell). The CANHigh or CANLow must have high impedance to CANGnd, also to the shield! (Typical error - a small splice of the shield shorts the signal). Check your LED’s on the CS1070 and compare to the Status LED-table in the X20 Documentation. Note that the CS1070 has an intrinsic terminating resistor, switchable. To state the obvious: CANHigh (terminal top left), CANLow (terminal top right), CAN GND(2nd terminals down, left and right) must go to the corresponding CAN-terminals on the other station.

The other very important issue are that the CAN_Lib library must be installed. Very important is of course the CANOPEN() function in the initialization program, where the device and baudrate are set. Any entries in the logger?