Open pengjjchao opened 3 years ago
It should take less than 50ms for set_PPS() to response. Can you capture the debug log for investigation?
here's the code and log.I've found it usually happen when I try to drop the current voltage.As u can see,the load switch was closed after I set 8.1V(It was 20V before).But when I set 11.2V,it finished negotiation immediately without closing the load switch.
RED part is the 8.1V step down process BLUE part is the 11.2V boosting process
I have tried the function set_PPS() after calling the init_PPS() and run().It succeed.but it tooks a very long time to negotiate. However,it won't happen when I first called init_PPS() at the begining of the programme.It was very fast and smooth.So i was wonder how to boost the process of the voltage transition in runtime