How to use the CAN bus on the beaglebone blue with Simulink ?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on BeagleBone Black in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!