Table of Contents

TQMa67xx - YOCTO Linux BSP documentation


CAN

The MBa67xx provides the CAN interfaces CAN0 and CAN1.

CAN configuration

DIP switch S6 is used to configure the CAN0 interface.

Funktion 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 the CAN1 interface.

Funktion 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

CAN Loopback Test

CAN0 -> CAN1

candump can0&
cansend can1 5A1#1122334455667788

CAN1 -> CAN0

candump can1&
cansend can0 5A1#1122334455667788