Embedded Coder for STM32F446RE about CAN communication
이전 댓글 표시
Hello Matlab Support Team,
I am currently using Simulink to implement CAN communication with an STM32-NucleoF446RE board, but I am facing some difficulties and would like to request support.
At the moment, I have connected an MCU-230 transceiver to a 500 kbit/s CAN bus, with the RX-TX lines of the transceiver connected to the STM32 board. I have also ensured that the baud rate is set correctly, but the problem of not receiving any values through CAN Receive persists.
Attached are some images showing parts of the code I have written and screenshots from STM32 IDE.




If there is any information you need, feel free to ask, and I will provide it. Also, if I have made any mistakes, please don't hesitate to contact me.
댓글 수: 4
Sumukh
2024년 9월 16일
Can you provide the Simulink model being used here?
Saurav Shandilya
2024년 9월 17일
Please refer to CAN based example for STM32 Communication Using CAN or FDCAN Blocks for STMicroelectronics STM32 Processor Based Boards - MATLAB & Simulink - MathWorks India
MINHO
2024년 9월 19일
Saurabh
2025년 1월 18일
I am facing a similar issue. Can you please provide the solution to your problem? That would be really helpful, thanks in advance.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 STMicroelectronics Discovery Boards에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!