TQMa62xx - YOCTO Linux BSP documentation


CAN

The MBa62xx provides the CAN interfaces CAN0 and CAN1.

CAN configuration

DIP switch S9 is used to configure the CAN interfaces CAN0.

Funktion S9-1 S9-2
CAN-Bus not terminated OFF OFF
not defined (illegal state) OFF ON
not defined (illegal state) ON OFF
CAN-Bus terminated with 120 Ohm ON ON

DIP switch S10 is used to configure the CAN interfaces CAN1.

Funktion S10-1 S10-2
CAN-Bus not terminated OFF OFF
not defined (illegal state) OFF ON
not defined (illegal state) ON OFF
CAN-Bus terminated with 120 Ohm ON ON

CAN Loopback


Loopback Test CAN Interface

CAN0 -> CAN1

candump can0&
cansend can1 5A1#11.2233.44556677.88

CAN1 -> CAN0

candump can1&
cansend can0 5A1#11.2233.44556677.88