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

3 次查看(过去 30 天)
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 个)

Abhinav Aravindan
Abhinav Aravindan 2024-10-18
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.

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by