Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi team,
When I use F28335, I have two questions
1. The calculation of CMPAHR register is shown in the figure

So how to write code in CCS to implement this formula?
2.When using DSP28335 as a synchronous buck power supply, it was found that no matter how to adjust the PID parameters, the ripple would oscillate at individual input voltage points. It is unclear whether it is a PID parameter problem or a program problem. Many PID parameters have been repeatedly adjusted, but stability over the entire input range cannot be achieved.
Could you help?
Thanks & Best regards,
Jiahui