-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Init AXP2101 from C code for T-Watch-S3 #9582
Conversation
Ready to go. Tested by a different board revision and my own unit. |
IMPORTANT! Some early engineering units have efuses that incorrectly attempt to charge the batteries to 4.35V. This last commit will forcefully set the charging target to be 4.2V as intended. |
a7cb385
to
7ec7bed
Compare
I loaded this artifact and it runs my clock program fine, I didn't test any of the charging components but as far as I can see everything seems to be working as it should. (display, WiFi, speaker, touchscreen) |
I'll get trickle charging in too, one moment. |
Alright this is now ready to go, hopefully no more "discoveries". Tested it, it now charges @ 500mA until it reaches approx 4.185V. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This skips the need to do the PMIC init for sane default usage.
Pending testing and consideration of which ldo's to enable on boot.