Other Parts Discussed in Thread: CONTROLSUITE
Running a board with a F28034 for controlling a 3-phase inverter using the first three ePWM modules. In addition the ADCs are monitoring the voltages and currents. The output duty cycles are computed and set at the rate of the carrier frequency. The inverter is running properly with a motor but because of the current sense being run through shunts it cannot read current with a pure resistive load. I believe the problem is with timing of the ADC reading. The pwms are in up/down (symmetrical) mode, which may be the case. So far the pwm starts the ADC conversion which than triggers the interrupt routine. My question is how do I go about changing the SOC of the ADC to be centered on the up/down? Should point out that I'm not using any OS e.g. RTOS, using part of the latest ControlSuite, using CCS 6.1, custom board (nothing of TI design), pwms need to stay in symmetrical mode. Before you ask, there's no problem with EALLOW/EDIS.