Raspberry can communication STM32F1 by CAN protocol

4 visualizaciones (últimos 30 días)
Anh Binh
Anh Binh el 29 de Oct. de 2023
Respondida: Adit Kirtani el 6 de Nov. de 2023
I am doing the final project at the university . Can I ask question : How to communication between Raspberry and STM32F1 by CAN protocol . If they can communicate , please share with me such as : documents, instruction, and video instruction . Thank you for considering

Respuestas (2)

Adit Kirtani
Adit Kirtani el 6 de Nov. de 2023
Hi,
Embedded Coder Support for STM32 Hardware provides blocks to use the CAN protocol for certain hardware families, but this is not present in Simulink Coder Support for STM32 Hardware.
While the Simulink Coder version supports the Nucleo-F103RB board, the STM32F1 family is not supported by the Embedded Coder version.
You may either switch to a different hardware family and use Embedded Coder for your project, or continue using Simulink Coder and create a custom block for CAN communication. Here are some handy resources for block creation:
If you wish to switch hardware families to use Embedded Coder, you may refer to this link which contains a list of all supported families and their respective blocks:
Thank you,
Adit Kirtani.

MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team el 30 de Oct. de 2023
Hi,
You can use any MCP2515-based CAN shield to connect to Raspberry Pi and interact with a CAN network.
Refer to this link to know more,
Thanks,
MATLAB Hardware Team
MathWorks

Categorías

Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by