When I try to run lab 12 with DRV8301-69M-kit and F28069M Piccolo controlcard, a couple of strange things happen.
In lab 12a, the sensored estimate of the inertia and friction is different from the one estimated in lab 5c (sensorless), and it is larger with a factor 5. What can be the cause of this? Also, other times when I try to run the lab nothing happens, and I get an error with code 2004, which means I should lower the Goal Speed. This does not make sense, because other times it does work with the same Goal Speed. Rebuilding the project does sometimes fix the issue.
Secondly, in lab 12b, the speed control does not work the first time after building the project. First, I set "gMotorVars.SpeedRef_krpm” to 0. Then, after building and setting “gMotorVars.Flag_enableSys" and "gMotorVars.Flag_Run_Identify" to 1, I wait some time and set “gMotorVars.SpeedRef_krpm” to 0.5. At this point, the motor starts spinning at its maximum speed (3.7 krpm), and it's not possible to change this without setting "gMotorVars.Flag_Run_Identify" to 0. Strangely, when I reset "gMotorVars.Flag_enableSys" to 0 and back to 1 and retry the whole process, the motor control does work properly.
Is it possible that this is a bug, and is there any way to fix this?
Thanks in advance.