Part Number: TMS320F28054F
Tool/software: Code Composer Studio
I successfully ran lab 1b and got my motor spinning at about 100 rpm. Now I'm trying to run lab 1c, and when I edit the variables “gMotorVars.SpeedRef_krpm”, “gMotorVars.IdSet_A” and “gMotorVars.IqSet_A”, nothing happens. When I change Iq_SetA I see IqRef_pu update, but there is no effect on the output to the motor.
I am using a custom board, so I had to make some changes in the ADC config. I've checked my ADC readings for current and voltage, these seem to accurate and setup correctly (ADC0 as I_A (buffer), ADC1-3 as I_A/B/C, ADC4-7 as V_A/B/C/bus).
I see the signal switching and PWM is working correctly, but the current does not change as I set these variables. What could I be missing? Thanks