So I put together code based on the DP Library template to create a controller for a phase shift controlled converter. I modified the code to digitize a waveform and feed the corresponding input into the PWMDRV_PSFB assembly code macro. I am getting the 100kHz 50 percent duty cycle signal I expect on the master ePWM channel, but the slave output isn't correct at all. Sometimes I get the appropriate phase shifted output, but most of the time the output on the slave ePWM is stuck either high or low. Any ideas on the root cause of this?
I looked at the configuration/settings files for the project and I haven't noticed any issues there. I also looked at the HVPSFB example available through controlSUITE and what I have in my code is very similar to that set of example code. I am using the 28035 experiment kit as a test platform. I put hardware breakpoints in and I can see that the ISR is being run; beyond that I'm not sure what to do in terms of debug.
Lance