Hi Experts,
Please find below some part of My code.
Part: A
Vr.Mean = _IQ18sqrt(Vr.Mean);
Vr.RMS = _IQ9mpy(Vr.Mean,1);
Vr.RMS = _IQ18mpy(Vr.RMS, SinglePhase_FSMul);
Part: B
Ir.Mean = _IQ18sqrt(Ir.Mean);
Ir.RMS = _IQ9mpy(Ir.Mean,1);
Ir.RMS = _IQ18mpy(Ir.RMS, SinglePhase_FSMulCrnt);
Both are identical, (for one voltage and current channel)
1. When I was use only Part:A or Part:B in my code and run the program, Entire code execution time was 37 uSeconds
but the problem is:
When I use both Part: A and Part:B in my code, Entire code takes 387 uSeconds...!!!!!!!!!!!!!!!!!!!!!!!
Also check dissembled program showing in CCS which is also takes same instructions set.
Any idea.
Waiting for reply.