Table of Contents

MBa93xxLA-Mini - YOCTO Linux BSP documentation


CAN

The MBa93xxLA-Mini provides two CAN interfaces: CAN1 and CAN2.

CAN configuration

DIP switch S4 is used to configure CAN1.

Function S4-1 S4-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 S5 is used to configure CAN2.

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

CAN1 (Hardware) -> CAN2 (Hardware)

In Linux, this corresponds to can0 sending to can1:

candump can1 &
cansend can0 5A1#1122334455667788


CAN2 (Hardware) -> CAN1 (Hardware)

In Linux, this corresponds to can1 sending to can0:

candump can0&
cansend can1 5A1#1122334455667788