TQMa8MPxL - YOCTO Linux BSP documentation
CAN
The MBa8MPxL provides two CAN interfaces: CAN0 and CAN1.
CAN configuration
DIP switch S12 is used to configure CAN0.
| Function | S12-1 | S12-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 S11 is used to configure CAN1.
| Function | S11-1 | S11-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#11.2233.44556677.88
CAN1 -> CAN0
candump can1& cansend can0 5A1#11.2233.44556677.88