ESP32 M5 Core2 I2C read problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
stefan.erni
Valued Contributor
Posts: 1025
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

ESP32 M5 Core2 I2C read problem

Post by stefan.erni »

Hi Ben

FC9 and M5Stack Core2 works nice together.
On/off button and Display is working fine in the testprogram.
But something with the I2C (just the read) is not working anymore.
It's shows always 255 in the display for each register. (This was working 3 month ago)

I'm not sure if I did something wrong.

regards

Stefan

https://shop.m5stack.com/collections/m5 ... opment-kit
Attachments
FC9Core2_axp192_just_read.fcfx
(30.01 KiB) Downloaded 287 times

stefan.erni
Valued Contributor
Posts: 1025
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 194 times
Been thanked: 218 times

Re: ESP32 M5 Core2 I2C read problem

Post by stefan.erni »

Hi Ben

I now know what I did last time.

The last time I used some pin from the extension connector. I removed the cover from the connector.
On this cover is unfortunately a mpu6886.
Today, the test was with the cover and I think the mpu6886 give this problem.
So I removed this connecter and reading from the AXP192 (I2C) is ok again.
I will have a look, why the mpu6886 make trouble.

I attached a picture from the cover and connector.

regards and sorry

Stefan

extension_2021-06-08_16-20-19.png
extension_2021-06-08_16-20-19.png (215.43 KiB) Viewed 2053 times
schema_2021-06-08_16-29-08.png
schema_2021-06-08_16-29-08.png (121.19 KiB) Viewed 2053 times

Post Reply