PY Tsai, IQ seems to be noisy which may translate into torque ripple. I would start from current sense circuit, validate ADC input and VREFH having the right capacitor values, connection to VREFL. Post that look at ADC configuration - sufficient sampling time, adjust sampling instant if needed.
↧