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.

FOC algorithm occupy most CPU time ?

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

     I am using F28020 and  driving the PMSM motor,today I found :

when I Enable FOC algorithm and motor running , "TestTicker"

stop increasing,or increasing very very slowly,  

I do not know why?

(1) pwm frequency :16KHz

(2) system colck : :40MHz

void main(void)
{

             // init

             ..........

              while(1)
              {

                          TestTicker++;

                          .............

                }



thanks!