How to receive data from can bus by using mcp2515 module with arduino uno on simulink?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
kotchanon lipikornsuktaweekul
el 9 de Jul. de 2020
Editada: Lorenz Klaus
el 30 de Mayo de 2022
My component : Arduino Uno x 2
mcp2515 module with oscillator 8 MHz * 2
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/329336/image.jpeg)
i follow this example https://www.mathworks.com/help/supportpkg/arduino/ref/transmit-receive-data-can-blocks.html
and i set Oscillator Frequency in hardware setting to 8 MHz
Transmitter can sent data via can bus i checked by using oscilloscope but receiver received nothing the data on scope alway 0.
3 comentarios
Lorenz Klaus
el 30 de Mayo de 2022
Editada: Lorenz Klaus
el 30 de Mayo de 2022
I would also be glad if someone has experience with building a code for CAN communication with Arduino hardware. Even with any other hardware would be great! Is there somone who has built a CAN communication on MCU´s with Simulink or Matlab?
Regards, Lorenz
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!