Part Number: TMS320F28377S
Other Parts Discussed in Thread: SFRA
Hi,
Recently, I migrated the 28004x SFRA program to the 28377, and my prototype can be connected normally when only control power is applied .But after I add power, the converter works normally, but my serial port connection is faulty, and I cannot perform SFRA.The problem is:Connection Lost,Board may not be properly Off.I don't know what caused this.
C
This is the code written in the ADC interrupt:
Out.Vo = (float)AdcaResultRegs.ADCRESULT0 * OutAdcGain.Vo;//Output voltage sampling
VoltageLoop.Fdb = Out.Vo;
Ref = SFRA_F32_inject(VoltageLoop.Ref);//Inject small sinusoidal signal on the reference voltage
SFRA_F32_collect(&Ref,&VoltageLoop.Fdb);
VoltageLoop.Ki = 123.25f;
VoltageLoop.Err_old = VoltageLoop.Err_new;
VoltageLoop.Err_new = Ref - VoltageLoop.Fdb;
VoltageLoop.Out = VoltageLoop.Kp*(VoltageLoop.Err_new-\
VoltageLoop.Err_old) + VoltageLoop.Ki * VoltageLoop.Err_new;//Incremental PI
Look forward to and thanks for your reply!
Tingting Wen