Hi,
I am setting up a drv10983 to control a bldc motor. I have a problem where the motor starts and spins fine, but when reading the motor period register to determine the speed, I see very large oscillations from read to reed, with a fixed speed command issued to the motor driver. There is no load on the motor and it is not changing speed by 400+ rpm in the 20ms polling period.
When the motor is starting to spin, i get very consistent speed feedback from the motor period register. Then the motor driver switches modes, or something, and the value in the period register begins to oscillate wildly. Here is the trace of the variable RPM reading that I see.
Raw 8054,
Raw 7802,
Raw 8065,
Raw 8054,
Raw 7792,
Raw 8054,
Raw 8054,
Raw 7792,
Raw 7792,
Raw 8054,
Raw 7792,
Raw 7792,
Raw 8065,
Raw 7802,
Raw 7792,
Raw 8054,
Raw 7782,
Raw 7792,
Raw 8054,
Raw 7802,
Raw 7802,
Raw 8054,
Raw 8054,
Raw 7802,
Raw 8065,
Raw 8043,
Raw 7792,
Raw 8054,
Raw 8054,
Raw 7792,
Raw 8054,
Raw 8054,
Raw 7792,
Raw 7792,
Raw 8065,
Raw 7792,
Raw 7802,
Raw 8086,
It is interesting to note that I only see this problem most of the time. Very occasionally the motor seems to start up correctly and I get very smooth consistent speed readings for the entire time the motor runs. I am wondering what kind of settings in the driver chip would cause these bogus motor period readings.