This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TMS320F28335: C2000 real time with matlab/simulink / real time resolution problem

Part Number: TMS320F28335

Tool/software: TI-RTOS

Hello every ones!

I'm using the MATLAB Simulink to build the algorithm for PMSM Control with the KIT DRV8312-69M-KIT

However, I had a problem that the processing in the CPU C28069 is not real time.

I design a step signal to setup the reference speed which will change from 400 rpm (initial at 0s)  to 600 rpm (the time at 10s)

Actually, I see the signal on the oscilloscope that it only changes after more than 30s.

the CPU take the long time to execute the algorithm and delay the signal.

So can any ones help me to solve this problem.

Thank you so much!

Best regards!

K.H.Hung