Run Time Error in Texas Instruments C2000 PIL Testing

조회 수: 3 (최근 30일)
Sivakumar S
Sivakumar S 2021년 5월 9일
답변: Shivam Lahoti 2024년 10월 10일
I'm trying to verify a DC link voltage control strategy implemented for an active front end converter (AFE) feeding a resistive load. I have implemented hysteresis current-controlled PWM, which controls the current absorbed by AFE from the grid based on the DC Link voltage error.
I deployed my subsystem involving the complete strategy into my Texas Instruments LAUNCHXL-F28069 microcontroller. Please help me with this error that popped up when I simulated by replacing the subsystem with a PIL block.
I have rechecked my model settings and found everything to be okay. I tried changing the byte ordering, which also didn't work. I have already successfully verified my control strategy using the model in loop and SIL simulation, and now I don't know why my hardware is failing to receive data in PIL.

답변 (1개)

Shivam Lahoti
Shivam Lahoti 2024년 10월 10일
Hi Sivakumar,
I understand you are encountering an “rtiostream timeout” error when trying to run a PIL simulation on a C2000 target.
One possible cause for this issue could be that the GPIO and clock settings for the board are not configured correctly. Please refer the following MATLAB Answer for more information on resolving this issue:
I hope this helps you reolve the issue.
Regards,
Shivam

Community Treasure Hunt

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

Start Hunting!

Translated by