TQMa64xxL - YOCTO Linux BSP documentation
CAN
The MBaX4XxL provides the CAN interfaces CAN0 and CAN1.
CAN Configuration
DIP switch S1 is used to configure the CAN0 interface (X7).
| Funktion | S1-1 | S1-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 S2 is used to configure the CAN1 interface (X8).
| Funktion | S2-1 | S2-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