Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the Changing PPS voltage and current in run time? Need an example for it,plz! THX :) #7

Open
pengjjchao opened this issue Oct 20, 2021 · 3 comments

Comments

@pengjjchao
Copy link

No description provided.

@pengjjchao
Copy link
Author

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

@ryan-ma
Copy link
Owner

ryan-ma commented Oct 25, 2021

It should take less than 50ms for set_PPS() to response.
Can you capture the debug log for investigation?

@pengjjchao
Copy link
Author

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.

企业微信截图_16352128783564
企业微信截图_16352129395674
RED part is the 8.1V step down process
BLUE part is the 11.2V boosting process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants