Other Parts Discussed in Thread: MOTORWARE
Hi,
I am trying to use the fpu32 library on the instaspin control card. I am using this program on some hardware that I have made myself. I have already run the other experiments (2a, 5a etc) on this setup and am running into problems with the program 5g and 2d.
When the system flag and the Motor identify flags are set and the controller tries to estimate the motor parameters, the voltage output is a PWM wave with 50% duty cycle. Hence no current flows. I have checked the values read by the controller in gAdcData.V and g.AdcData.I and both these show 0, even though the values in the ADCRESULT registers are updated correctly.This happens through the Rs calculation and the Ramp Up states after which there is an error and the system flag is set to 0.
I am using the 6.1.5 compiler and the rts2800_fpu32.lib runtime support library. I am have made only a few changes to the existing example program and these changes have caused no problems when I ran the examples 2a etc.
Can someone please tell me what I am doing wrong.
