Hi,
I used the first order filter in the MotorWare Lib as following:
MCU: TMS320F28069M
Library: MotorWare 1.01.00.13
in configuration code
// Sine
FILTER_FO_setDenCoeffs(obj->filterFoHandleA0,_IQ(0.01));
FILTER_FO_setInitialConditions(obj->filterFoHandleA0, _IQ(0.0), _IQ(0.0));
FILTER_FO_setNumCoeffs(obj->filterFoHandleA0, _IQ(1.0), _IQ(1.0));
in using adc code
A0value = FILTER_FO_run(obj->filterFoHandleA0, A0value);
I don't understand how to set parameter values, because I didn't find the intruction manual for Filter in MotorWare Lib.
I just put the each value by testing without understanding.
Where is the explanation document for First Order Filter in the MotorWare?
I want to understand how to tune the values with calculation like 1MHz low pass filter.