- Upon further reading on CAN bus setup with BBBlue boards, I found this site that shows the steps to be followed to set up CAN framework on a BBBlue board. See CANBus BBBlue.
- The Vehicle Network Toolbox includes blocks with options to configure CAN messages and objects. CAN frames must be configured for your bus setup. The Vehicle Network Toolbox includes blocks to set these parameters according to your requirements.
- You can use the Arduino MKR CAN shield instead of the MCP2515. They both use SPI communication. For more information, see MATLAB Answers MCP2515.
How to use the CAN bus on the beaglebone blue with Simulink ?
19 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I would like to connect a beaglebone blue on a CAN bus and program it threw Simulink (with Simulink Coder). I use the addon "Simulink Coder Support Package for BeagleBone Blue Hardware", but there is no CAN block available as with Arduino or Raspberry pi Simulink's addons.
According to the BBBlue technical documentation, the card only include the tranceiver, and need to be program to generate CAN frames.
I noted that the CAN transceiver is connected to 2 UART0 pins, and the BBBlue Addon got SCI blocks (for UART).
These are my questions :
- Did I miss something that could allow me to use the CAN port with the BBblue library ?
- Did I miss an addon like "Vehicle Network Toolbox" that could generate CAN frame that could be converted to an electric signal on E18 and E17 pins ?
- At least, could I control a MCP2515 thew the SPI port ? But which addons use to control it ? Mainly for initialise it ?
About my programming skills, I'm more a fan of arduino code than embeded C code. And I don't feel to have the skills to write on my own a CAN interface block for the BBBlue.
Thank you very much for your reply or the time spend to read my post.
0 个评论
采纳的回答
Adit Calambur
2021-7-21
Hi Florian,
To summarise your query, you are trying to interface a BeagleBoneBlue board through a CAN-bus by using Simulink Coder and are enquiring about the specifics covered in the Support package for BBBlue.
2 个评论
Jonathan Nicols
2022-8-30
Hi Florian, How did your Redis CAN project end up? I have a very similar project and want to introduce BeagleBone Blue into the architecture. Would be nice to collaborate on this.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!