This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PWM immediate load issues



Hello,

I have found that in a switched power converter controlled by a C2000 DSC, the PWM immediate load mode cannot be used because it can cause the PWM module miss the duty cycle update. This happens, for example in a COUNT_UP mode, if CMPA is made lower than TBCTR before the output state is updated for that period. This issue has been posted in this forum in the past.

The problem with using shadow registers is that it causes a delay in the loop (which can be made no less than 1/2 the PWM period when using up/down count and updating at PRD and ZERO). I am working in a power converter and the phase margin of the loop is severely affected by this delay.

This issue could be easily fixed by hardware if they considered it to be an important issue, and maybe they are already considering it for future devices. At this point I am using a Piccolo 28069.

I am thinking in a workaround by software, but I would like to know if anybody has implemented something already. It´s not very easy to test if there are missed PWM cycles unless you close the loop with actual power and look for random perturbations.

Thanks,

Max

  • Hello Max,


    I´ve noticed that you have posted this in a while now (hopefully you will read this), so I'm replying to your message in order to know if have found any solution to this problem. I'm using a different MCU (Delfino F28335) but I believe that I am getting the same type of problem with the PWM perypheral.

    Also, do you know if the usage of the shadow register which seems to incorporate a delay in the pwm output signal is a know issue, or in the order hand is this a non-problem for TI?

    So if you have any hints or suggestions, I ask you if you would share it with me.


    Best regards,

    Nuno