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

Max charge current #604

Closed
fafu opened this issue May 9, 2020 · 5 comments
Closed

Max charge current #604

fafu opened this issue May 9, 2020 · 5 comments

Comments

@fafu
Copy link

fafu commented May 9, 2020

It seems that the max charge current on the TTGO v1.0 (with AXP192 PMIC) is limited to ~450mA. I know this is due to current limits in the AXP192 register set but I am basically interested what the system could handle or if there are further limitations for the max charge current.

@cyberman54
Copy link
Owner

You're welcome to check features of the used AXP library and create a pull request to modify charging rates, e.g. by a #definition in hal file.

@cyberman54
Copy link
Owner

I added charge current control in development branch, could ypu please test?
I'm not sure if it's working; you alread mentioned issue with AXP192 library
lewisxhe/AXP202X_Library#18

@cyberman54
Copy link
Owner

@fafu The APX202X_Library is buggy in the method which sets the charge current register.
I proposed a change:
lewisxhe/AXP202X_Library#19

@fafu
Copy link
Author

fafu commented May 10, 2020

@cyberman54 Thank you for providing a fix for the APX202X_Library which I tested on the TTGO T-Beam v1.0 successfully.

@fafu fafu closed this as completed May 10, 2020
@cyberman54
Copy link
Owner

cyberman54 commented May 11, 2020

@fafu

I am basically interested what the system could handle or if there are further limitations for the max charge current.

AXP192 has two current inputs: VBUS, rated 500(typ)/900(max)mA, and ACIN, rated 2000mA. On T-BEAM v10 only VBUS is used, and wired to USB SMT socket. Thus, we have hardware limitation to maximum power of 2,5 Watt.

I tested a T-BEAM with a USB power measurement device. If i set maximum charging current, the system draws 0,5A at 5,2V, so we see the 2,5 Watt here. So in this setup the high current charging modes of AXP192 will never be reached, since the chip is getting insufficient input power by USB.

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