Failed to "Tune and Monitor" the CAN Communication Protocol model in MATLAB/Simulink for TI Delfino F28379D

6 vues (au cours des 30 derniers jours)
I am having an issue with the tune and monitor of the simulink model which is based on the CAN module for the TMSF28379D C2000 processor. I am implementing the MATLAB example given on the MATLAB site as follow:
open_system('c28x_CAN_comm.slx');
When I Buid & Deploy this model, it runs but when I try to Tune and Monitor it, it doesn't work!
The error it show is as below:
Can Someone help me in this regard?
  1 commentaire
Uzair Amin
Uzair Amin le 27 Fév 2023
I want to monitor the CAN signal (send & receive) status in a real time. If there is another solution, let me know. Thanks.

Connectez-vous pour commenter.

Réponses (1)

Abhinav Aravindan
Abhinav Aravindan le 18 Oct 2024
Hi Uzair,
I assume you are trying to run the example “CAN Communication Using eCAN Blocks using the “TI Delfino F28379D” board. In the output provided, it appears that a different file with the name “CAN_Device_v2” is being built and not the example file “c28x_CAN_comm.slx”.
To open the example, you may utilize the following command:
openExample('texasinstrumentsc2000/CANCommunicationUsingECANBlocksC2000Example')
To set the Hardware board to TI Delfino F28379D LaunchPad
  1. Navigate to Configuration Parameters > Hardware Implementation > Hardware board
  2. Set the “Feature set for selected hardware board” to Simulink or Embedded Coder Hardware Support Package
  3. Proceed with the steps mentioned in the documentation below:
For MATLAB R2021b, in addition to the Embedded Coder Support Package for Texas Instruments C2000”, you will also require the Vehicle Network Toolbox.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by