Problem with CAN_Read block from STM32-MAT package and CAN Unpack block from Simulink
2 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
I'm having compatibility problems with the CAN_Read block from STM32 library and the CAN Unpack from Embedded Coder Simulink library. I need to use CAN_MESSAGE MATLAB type for working with .dbc format. The IDE field on the rxHeader is set at 4 by the CAN_Read block, while the CAN Extended flag from the CAN Unpack expects 1U when it evaluates the condition for unpacking the received message.

This code is generated by these blocks:

Is there any solution to use CAN UNPACK with STM32 and extended messages?
Best regards,
Ruben
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!