I am using TI's Piccolo F28027 C2000 MCU for the application of Field Oriented Control of PMSM motor.
I have referred an example for Model based Code Development from file exchange - "c28027pmsmfoc_ert".
When currents Ia/Ib are sampled through ADC, then these current inputs are scaled. Below is the screenshot of that.
Please explain me when to shift bits and when to shift binary points?
And what has been done here, and to what values they are scaled ?
Any help is appreciated.