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.

The time consuming of SMO algorithm

Other Parts Discussed in Thread: TMS320F28020

hello,

I am using TMS320F28020 and drivering PMSM,

then I find that my pwm interrupt is 100us@40MHz,but in fact:

VOLT_MACRO(volt1)

SMO_MACRO(smo1)

SE_MACRO(speed3)

SVGEN_MACRO(svgen_dq1)

The time  consuming of  algorithm is about 150us(Add Test Point and use oscilloscope),I do not know why?

and other code is 80us,so total time  consuming  is 100us + 150us + 80us = 330us