A bug about Packet output
Mostra commenti meno recenti
I am encountering an issue where the Packet Out block from the Simulink Desktop Real‑Time toolbox fails to transmit CAN FD messages. I am using a PCAN‑FD‑USB adapter configured as shown in the attached settings. I packaged a 64‑byte CAN FD message, but another tool receives it as an 8‑byte classic CAN frame instead of a CAN FD frame. My suspicion is that the message‑type parameter passed to the PCAN API is incorrect.
Incidentally, the Packet Input block works correctly and can receive 64‑byte CAN FD data without problems.
This issue also persists in MATLAB R2026a.
Risposte (0)
Categorie
Scopri di più su Clocks and Timers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!