How can I use CAN-Bus?
Options
lujunn723
New Member Posts: 4 ✭
Hi,everyone
I got UP-Board for a few days and I run ROS on it.
I need CAN-Bus supply to connect to my own boards, but I didn't find CAN device when I type "ls /dev".
Then, I used a MCP2515 module via SPI and I can TX right, but RX is not 8 bytes but 30 bytes...
I also tried to do some "make menuconfig" jobs, but I didn't find any way to do this.
Please help me with these CAN-Bus things, Thank you very much!
I got UP-Board for a few days and I run ROS on it.
I need CAN-Bus supply to connect to my own boards, but I didn't find CAN device when I type "ls /dev".
Then, I used a MCP2515 module via SPI and I can TX right, but RX is not 8 bytes but 30 bytes...
I also tried to do some "make menuconfig" jobs, but I didn't find any way to do this.
Please help me with these CAN-Bus things, Thank you very much!
Comments
-
Are you asking about a native CAN-Bus interface on the UP board? Unfortunately the UP Board does not provide a native CAN-Bus interface.
Adding an external CAN adapter, via SPI/UART/USB (as you are doing with the MCP2515), would be the best solution. I haven't tested any CAN adapters with the UP board myself, however, so I cannot give any specific advice on those. But it should certainly be possible to find some CAN adapters that would work with the UP board.
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral