@mdevel1 the problem is AXP Address 0x34
is not responding. Because of that, M5.Axp interface can't connect (and can't power-up screen).
M5.Axp use Wire1 as I2C to communicate on ports 21 and 22, as described in https://github.com/m5stack/M5StickC/blob/master/src/AXP192.cpp.
Because of that, any commands as Wire1.beginTransmission
, result in error. The M5.Axp, use Write1Byte
to send information (and is not validating if was successful, because of that, I haven't any log).
void AXP192::Write1Byte( uint8_t Addr , uint8_t Data )
{
Wire1.beginTransmission(0x34);
Wire1.write(Addr);
Wire1.write(Data);
Wire1.endTransmission();
}
The I2C Axp Address (0x34) isn't ready in one of my M5Stick-C. If you have any idea, please let me know -- I'm really trying anything to get AXP fully functional again, because I can't see anything (in display) without Axp.
In my code above, you will see a test in endTransmission
as mencioned to test the result.
Thank you by all your attention. Please let me know if you have any idea.