M5Stack Core2 V1.1 Display Problem

Recurrent H/W and software problems
Post Reply
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

Since your last updates there is something changed with the axp2101, because the battery is not working.
Only powering over usb is working!

I found this docu.
https://github.com/lewisxhe/XPowersLib/ ... XP2101.tpp
maybe it helps.
User avatar
cicciocb
Site Admin
Posts: 2083
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 447 times
Been thanked: 1371 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

HI,
in the file I posted at the beginning (this one) you can find all the info required.

You can use the same approach you did for powering the TFT

Enjoy
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

please help me one more time🤯

if i press the power on button witch is pin30 of the axp the modul stays black.
only if i plug in the usb-cable the modul starts up.

so i think you changed the poweron-sequence-register
coolj
Posts: 70
Joined: Mon Nov 08, 2021 11:31 am
Has thanked: 1 time
Been thanked: 13 times

Re: M5Stack Core2 V1.1 Display Problem

Post by coolj »

o.k. now it works

i changed the value in the 0x12 register from 14 to 0

this is the same value as in the other modul

i'm not sure what i have changed but it works😁

[Local Link Removed for Guests]
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2083
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 447 times
Been thanked: 1371 times
Contact:

Re: M5Stack Core2 V1.1 Display Problem

Post by cicciocb »

As you may have noticed, implementing new functionalities in the code without having the hardware is lengthy and tedious. Out of curiosity, I still wanted to do it, and ultimately, it worked, but it took several days whereas it would have taken only a few hours to sort everything out. However, concerning the battery charger, I prefer not to attempt it because it could damage the module and the battery if excessive charging current is sent.

So, I'm happy to see that you found the right tuning parameters for the battery.

Hopefully, this will be helpful to more people.
Post Reply