Tuning Current Regulator without startup-table ST MC WB 5.4.5
I'm using an STM32F446RE on a custom board with an incremental encoder using 1-Shunt current reading.
The motor runs so far, but makes some ugly noises, therefor I want to tune the current PID regulator, as I assume this to be the cause.
Now here's my problem. According to this all I have to do is set the startup-table to a rectangular shape and use one DAC for a current probe measurement.
But the startup-table is only available, if no sensor is used. Can I mimic the startup-table by using some MC_SetCurrentReferenceMotor1 in Code after Motor startup?
The second thing is, on my DAC set as Ia all I see on the oscilloscope is 2Volts steady with some noise. Do I have to configure something special with the DACs, to see the Ia value?
Any input is appreciated, thanks in advance.