Problem with CAN_Read block from STM32-MAT package and CAN Unpack block from Simulink

2 vues (au cours des 30 derniers jours)
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

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by