xcp error ; TI C2000

6 views (last 30 days)
soft ware
soft ware on 24 Jan 2022
Answered: Shivam Lahoti on 11 Nov 2024 at 18:22
hi everyone;
please can you help me with this issue
i use tms320f28335
  1 Comment
ali
ali on 21 Aug 2023
Hi @soft ware did you solve this problem? If yes, how did you do that?

Sign in to comment.

Answers (1)

Shivam Lahoti
Shivam Lahoti on 11 Nov 2024 at 18:22
Hi,
I understand you are encountering the following error:
This error can stem due to multiple reasons. One of the prominent one is due to a sample rate that is too high.
The External Mode runs in a background task in the TI C2000 support package. With a high sample rate in the model, most of the CPU time is occupied by the core task and the background task does not get enough time to run the model in external mode to send the data between the host machine and the target. This is what leads to the timeout error.
You can find more information on MATLAB’s External Mode Simulation in the link included below.
You may also find additional troubleshooting tips on how to use external mode in the following link.
I hope the above resources would help you resolve the issue.
Regards,
Shivam.

Community Treasure Hunt

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

Start Hunting!