Where do I go to modify the maximum current value, the maximum voltage value...
it is not clear what you are talking about. There is no additional what you use,......
I'm using 3-phase Sensorless Dual-Shunt PMSM S12ZVM Application – FOC driving example project.
I_PH_OVER = 0.465*20?
U_DCB_OVERVOLTAGE = 0.8*25?
Both I_PH_OVER and U_DCB_OVERVOLTAGE are defined as FRAC16(), How do they know what to multiply by?
Actually,I changed the magnification on my own board,but I don't know how to modify the AD sample code
you would need to use the MCAT control page (open the FreeMASTER project) and set the Imax on the Parameters tab as shown below. This parameter is not synced with the real-time app, so you need to click "Store Data" and then go to Output File tab and click "Generate Configuration File". Then you would need to rebuild your project in CodeWarrior and flash it. More info can be found in AN4642 or AN4912.
If you would like to know more about 1.15 fixed point (frac16) calculation, please follow some books or internet resources. This is more generic topic than can be discussed/explained here.
I hope it helps,
Retrieving data ...