电机一开始运行没问题,后面在一个中断只加了一句程序,来计算sin值,结果启动后电机不转,改成IQ格式,电机还是不转,把那条计算程序删掉电机又可以正常运行了,这个中断也就一普通的定时器计时中断。为什么会这样呢?
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.
电机一开始运行没问题,后面在一个中断只加了一句程序,来计算sin值,结果启动后电机不转,改成IQ格式,电机还是不转,把那条计算程序删掉电机又可以正常运行了,这个中断也就一普通的定时器计时中断。为什么会这样呢?