TQMa65xx - YOCTO Linux BSP documentation
CAN
The MBa65xx provides the CAN interfaces CAN0 and CAN1.
CAN configuration
DIP switches SW2 and SW3 are used to configure the CAN interfaces CAN0 and CAN1.
| Function | SWx-1 | SWx-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 |
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