Setting parameters of multiple PWM blocks in one go | Cypress Semiconductor
Setting parameters of multiple PWM blocks in one go
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.