The first thing that comes to mind is that your blanking is implemented such that transitions in the current comparator are ignored during the blanking window. This is as opposed to the transitions being delayed until the end of the blanking window.
Yes, I know about these modes, and it should be correct, otherwise this false-triggering would happen for any DAC setpoint and the system would be unable to regulate.
I would also add a second current comparator whose threshold is always higher (maybe at the maximum peak current spec) than the first comparator, in order to limit peak current to a sane value in case the first comparator is missed.
Hm, quite interesting approach, I will try to work around using it.
instead of the duty cycle you base this on when the peak current set point gets below a certain threshold and start skipping pulses then?
When I limit pulse width, I limit the output voltage. When I limit DAC setpoint, I limit the current.
I am attempting to properly manage low impedance load conditions (close to short circuit). In other words, to reduce voltage if the load is of low impedance, this what is happening under voltage control. However, if the current is limited then period skipping occurs on high-Z loads with little current, which is not really practical.
What I am thinking is to estimate the load impedance from voltage/current ratio, and manage this situation in software.
I also heard that current mode, can be turned into voltage mode if the slope compensation is too high. Thus another option may be to stop reducing DAC below certain min limit, and than reduce the slope only, which max value shut down converter in period skipping mode. There should not be any problem to implement as both DAC and Slope are available from the same register.