Other Parts Discussed in Thread: TMS320F2810, CONTROLSUITE
Hi,
I'm trying to use the SVM module on a TMS320F2810 to drive a motor and all seemed to be working well with nice sinusoidal line to line voltages except that I randomly get a short jump in the voltage. This doesn't happen every cycle or periodically in any way, but when it occurs it is when the SVM is changing from one sector to the next - at a multiple of 60 electrical degrees.
I've cut the code back to the minimum so I'm just getting a fixed amplitude 3-phase voltage generated running in phase with the rotor. I can't find any sudden jumps in the values being written to EvaRegs.CMPR1 or EvaRegs.CMPR2 and everything looks as I would expect.
Is there a particular order in which the EvaRegs should be updated? At the moment I am writing ACTRA, CMPR1 then CMPR2. All other settings seem to be as described in the Event Manager reference guide. I have also ensured that CMPR1<=CMPR2<=T1PR
Any suggestions?
Thanks