DART-6UL CAN bus: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{PageHeader|CAN bus}} | {{PageHeader|CAN bus}} | ||
{{DocImage|category1=Yocto|category2=DART-6UL | {{DocImage|category1=Yocto|category2=Debian}}[[category:DART-6UL]] | ||
Connect 2 boards: | Connect 2 boards: | ||
* | * CAN-H of the first board to CAN-H of the second board | ||
* | * CAN-L of the first board to CAN-L of the second board | ||
{| class="wikitable" | |||
|- | |||
! scope="col"| pins | |||
! scope="col"| 6UL Custom Board | |||
! scope="col"| Concerto Board | |||
! scope="col"| Symphony Board | |||
|- | |||
! scope="row"| CAN-H | |||
| J12.9 | |||
| J26.17 | |||
| J16.20 | |||
|- | |||
! scope="row"| CAN-L | |||
| J12.10 | |||
| J26.19 | |||
| J16.18 | |||
|} | |||
Set up the 2 boards by running the following on each of them: | Set up the 2 boards by running the following on each of them: | ||
# ip link set can0 up type can bitrate 125000 | # ip link set can0 up type can bitrate 125000 | ||
On board #1, | On board #1, read data: | ||
# | # candump can0 | ||
On board #2, send data: | On board #2, send data: |
Latest revision as of 21:21, 22 February 2024
CAN bus
Connect 2 boards:
- CAN-H of the first board to CAN-H of the second board
- CAN-L of the first board to CAN-L of the second board
pins | 6UL Custom Board | Concerto Board | Symphony Board |
---|---|---|---|
CAN-H | J12.9 | J26.17 | J16.20 |
CAN-L | J12.10 | J26.19 | J16.18 |
Set up the 2 boards by running the following on each of them:
# ip link set can0 up type can bitrate 125000
On board #1, read data:
# candump can0
On board #2, send data:
# cansend can0 500#1E.10.10 # cansend can0 500#1A.11.12 …