I am going through the lab exercises using custom HW that is also based on the 28379D. Lab3 works well, and I'm reasonably sure the voltage and current scaling is set correctly.
I am also using the Anaheim_BLY172S_24V motor for testing, so the motor parameters in user.h should be correct.
When trying Lab 4, the power supply immediately becomes current limited. The motor does start to spin.
If I connect a USB logic analyzer, I see this:

Where DAC1 is the PWMDAC output of angleFoc_rad. The DAC1 waveform is on a 20Hz cycle, which is what is set for the SW. At 4 pole-pairs, this should be 5Hz mechanically, and the motor seems to be running at about half that.
1) Does the PWM waveform look okay?
2) Do you have suggestions on troubleshooting steps to understand what the issue may be?
Note that for Lab3, the motor seems to be higher current at lower speed_ref, such as 750mA at 20Hz. So at 2.5Hz, maybe it is no surprise that the motor is drawing such high current.
Thanks!