TQMa95xxLA - YOCTO Linux BSP documentation


CAN

The MBa95xxCA provides two CAN interfaces: CAN0 and CAN1.

CAN configuration

DIP switch S6 is used to configure CAN0.

Function S6-1 S6-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 S7 is used to configure CAN1.

Function S7-1 S7-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

CAN0 -> CAN1

candump can0&
cansend can1 5A1#1122334455667788

CAN1 -> CAN0

candump can1&
cansend can0 5A1#1122334455667788