-
Notifications
You must be signed in to change notification settings - Fork 12
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
Restart in case of PPS #5
Comments
Hi, thanks a lot for the information. I don’t have such a power supply myself; mine are all actually from Aliexpress. Could you please try if it works with a load connected to the output? Maybe the power supply shuts off if not enough current flows for a while (as an energy-saving measure). I know something like that, at least, from power banks. |
Hi Stefan, |
That's a shame, but I guess that would have been too easy. I closely followed the manufacturer’s implementation, but of course, it’s quite possible that I may have overlooked something. What’s interesting is that the negotiation seems to work initially. Maybe it needs to be repeated regularly in this case. If you ever have a lot of time and feel like it, you could try testing the manufacturer’s implementation. |
I thought that it will be an easy Saturday afternoon project :D Anyway, I hooked up logic analyzer to CC line, after negotiation or voltage set there is no regular communication on the line in case of the noname power supply. In case of UGREEN power supply the restart happens 13.8-13.9sec after last frame. I'm going to check the spec, it might necessary to initiate communication regularly as you wrote. Edit: Yes, PPS needs keep alive communication (section 6.6.19 in spec), nominal timeout value is 13.5sec which is corresponding to my measurements. Do you have plan to implement this into your project? |
What do you think, how many times I’ve looked forward to relaxed weekend projects? ;-) Aha, that probably explains the problem. I guess I’ll have to take another look. Could you please try and see if the issue also occurs when you increase/decrease the requested voltage after about 10 seconds? |
I thought this was supposed to be a quiet Sunday morning :D Try the updated version. |
I confirm it works with fiexd and PPS voltages too. Thanks! |
Great! |
Hi,
I rebulilt this project following your instructions which made the process smooth, thanks. I found that when I want to use PPS voltages the power supply and/or circuit restarts after some seconds after I set the desired voltage. With the fixed voltages (5V, 9V etc.) the issue is not appear. Tested with UGREEN 65W, 100W and SJÖSS (IKEA) 30W power supply too, all of them producing same issue. Lastly I tried with a cheap noname Aliexpress one which works without problem. The CH32X035-USB-PD-Adapter behave very same. Have you tried with one of the power supplies above?
The text was updated successfully, but these errors were encountered: