1 2 Previous Next 16 Replies Latest reply on Apr 2, 2016 3:55 AM by sambhatt3880_1624036

    Setting parameters of multiple PWM blocks in one go

    muhammad.yaqoob_1490236

      Hello Everyone,

         


      Actually, I am designing a control system for 500W DC-DC converter which requires me to solve few equations (already did, thanks to <math.h> ) to get a new set of PWM blocks (3 actually) parameters  (frequency and compare reg etc). So, how can I give these parameters to PWM blocks in a parallel manner or in a closed loop form. Moreover, I am afraid that if I will give it in a normal manner (just write cmp or other parameters sequentially for each PWM block one at a time) then my converter will have abnormal behavior (BANG!!).

         

      Note: I have been able to start PWM blocks in parallel using hardware enable i.e, setting a control reg in on go to turn ON all PWM blocks. 

      Thanks in advance.

        1 2 Previous Next