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