• Log in
Variscite Wiki
  • Products
      Modules by Processor
      • NXP i.MX9
        • DART-MX95
        • VAR-SOM-MX93
        • VAR-SOM-MX91
      • TI AM62x
        • VAR-SOM-AM62
      • NXP i.MX8
        • VAR-SOM-MX8M-PLUS
        • DART-MX8M-PLUS
        • VAR-SOM-MX8M-NANO
        • VAR-SOM-MX8M-MINI
        • DART-MX8M-MINI
        • DART-MX8M
        • VAR-SOM-MX8
        • SPEAR-MX8
        • VAR-SOM-MX8X
      • NXP i.MX6
        • VAR-SOM-6UL
        • DART-6UL
        • VAR-SOM-SOLO/DUAL
        • VAR-SOM-MX6
        • DART-MX6
      • NXP i.MX7
        • VAR-SOM-MX7
      • Qualcomm Snapdragon 410
        • DART-SD410
      • TI AM437x
        • VAR-SOM-AM43
      • TI AM335x
        • VAR-SOM-AM33
Support
Support Center
Python API
Webinars
Variscite Website
Blog
Contact Sales
Page history

  • Modules by Processor
    • NXP i.MX9x
      • DART-MX95
      • VAR-SOM-MX93
      • VAR-SOM-MX91
    • TI AM62x
      • VAR-SOM-AM62
    • NXP iMX8
      • VAR-SOM-MX8M-PLUS
      • DART-MX8M-PLUS
      • VAR-SOM-MX8M-NANO
      • VAR-SOM-MX8M-MINI
      • DART-MX8M-MINI
      • DART-MX8M
      • SPEAR-MX8
      • VAR-SOM-MX8
      • VAR-SOM-MX8X
    • NXP iMX6
      • VAR-SOM-6UL
      • DART-6UL
      • DART-MX6
      • VAR-SOM-SOLO/DUAL
      • VAR-SOM-MX6
    • NXP iMX7
      • VAR-SOM-MX7
    • Qualcomm Snapdragon 410
      • DART-SD410
    • TI AM437x
      • VAR-SOM-AM43
    • TI AM335x
      • VAR-SOM-AM33

Linux CAN bus

From Variscite Wiki
Jump to:navigation, search


CAN bus

Connect two boards like the following:

Board A   Board B

 CAN_H --- CAN_H
 CAN_L --- CAN_L
  GND ----- GND

Set up the boards by running the following on each of them:

# ip link set can0 up type can bitrate 125000

Then:
On board A:

# candump can0

On board B:

# cansend can0 500#1E.10.10



Retrieved from "https://variwiki.com/index.php?title=Linux_CAN_bus&oldid=23486"
Categories:
  • Yocto
  • Debian
  • Boot2Qt
  • Android
  • VAR-SOM-MX6
  • DART-6UL
  • VAR-SOM-MX7
  • DART-MX8M
  • DART-MX8M-MINI
  • VAR-SOM-MX8M-NANO
  • VAR-SOM-MX8X
  • VAR-SOM-MX8
  • DART-MX8M-PLUS
Latest Modules
VAR-SOM-MX93
VAR-SOM-MX91
VAR-SOM-AM62
VAR-SOM-MX8M-NANO
VAR-SOM-MX8M-MINI
DART-MX8M-MINI
DART-MX8M
VAR-SOM-MX8M-PLUS
DART-MX8M-PLUS
VAR-SOM-MX8
SPEAR-MX8
VAR-SOM-MX8X
VAR-SOM-6UL
DART-6UL
Support
Variscite Support Center
Contact Support
Product Longevity
Product Compliance Policy
Blog
Variscite Training
Variscite Website
This page was last edited on 6 June 2023, at 22:56.

© 2025 Variscite. All rights reserved