Treading Water
FOC Motor Not Spinning Debug
Symptom
Set to 4000 RPM, the drive draws current but the shaft rocks in place, whatever the start angle. The figure lists plant registers.
Circuit
Pass condition
By 250 ms SPEED is within 20 RPM of 4000 RPM and stays there. From 250 ms to 480 ms no phase carries more than 6 A, and no FAULT bit latches.
Notes
The test rig posts the setpoint at start-up and the drive runs 500 ms. A hidden case moves the rotor's start angle on every submission. USART1 runs at 9600 baud: BRR = 0x683.