espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.72k stars 7.3k forks source link

i2c sometimes change bytes when uart interrupts occures (IDFGH-3451) #5412

Open moggiozzi opened 4 years ago

moggiozzi commented 4 years ago

Environment

Problem Description

In my board mlx90640 connected to ESP32 i2c. When communicate over uart and i2c at the same time I read incorrect bytes from i2c.

Expected Behavior

Read correct bytes from i2c.

Steps to reproduce

Run project from https://github.com/moggiozzi/mlxtest Related issue https://github.com/melexis/mlx90640-library/issues/68

Alvin1Zhang commented 4 years ago

Thanks for reporting. We have a fix internally under review, will share updates once the fix is available on GitHub.

pchevali commented 4 years ago

Hi, Does this issue has been solved ? I am noticing the same behaviour, with my board

AxelLin commented 2 years ago

Thanks for reporting. We have a fix internally under review, will share updates once the fix is available on GitHub.

@Alvin1Zhang Could you share which commit fixes this issue?

AxelLin commented 1 year ago

Thanks for reporting. We have a fix internally under review, will share updates once the fix is available on GitHub.

@Alvin1Zhang Could you share which commit fixes this issue?

@Alvin1Zhang Could you share the commit fix? Or at least update the status?

ginkgm commented 1 year ago

Hi @moggiozzi ,

We don't have a MLX90640 , is there a simpler example to reproduce the issue?

Do you have external pull-ups on the I2C pins of your board? what's the value?

Is it possible for you to reproduce the issue at a fixed place? when the issue happens, what's on the I2C bus, what's the expected data and what's read instead?

Hi @pompompom ,

I have the same questions for you as above. And what's your HW and IDF version please?

Michael