Part Number: TMS320F28379S
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hello,
we are using the SinCos Library and have a strange behavior from calculating fTheta with the function PM_sincos_calcAngle.
The motor is running slowley, and we are in operating mode 0 and have recognized, that the fTheta is continiously rising linear, but sometimes there is a step back in count and after 4 values rising linear again, there is happens a double step. The overall fTheta is rising linear, with a small step in it.
Second we have switches in the mode even the motor is running same speed, these happens if the sincos-qep has reached his end value and is starting with 0, then the mode changes from 0 to 1 to 2 for ~12 steps and then switchs back from 2 to 1 to 0 ( mchg01 = 10 and mchg02 = 20 )
Regards
Stefan
