Skip to content
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

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

Open
moggiozzi opened this issue Jun 8, 2020 · 5 comments
Open
Labels
Status: Selected for Development Issue is selected for development

Comments

@moggiozzi
Copy link

Environment

  • Development Kit: Custom board
  • Module or chip used: ESP32-WROOM-32
  • IDF version (run git describe --tags to find it): v4.1-beta1-266-g56c1646e2
  • Build System: idf.py
  • Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
  • Operating System: Windows
  • (Windows only) environment type: ESP Command Prompt
  • Using an IDE?: No
  • Power Supply: USB

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 melexis/mlx90640-library#68

@github-actions github-actions bot changed the title i2c sometimes change bytes when uart interrupts occures i2c sometimes change bytes when uart interrupts occures (IDFGH-3451) Jun 8, 2020
@Alvin1Zhang
Copy link
Collaborator

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

@pchevali
Copy link

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

@AxelLin
Copy link
Contributor

AxelLin commented Feb 18, 2022

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
Copy link
Contributor

AxelLin commented Dec 18, 2022

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?

@espressif-bot espressif-bot added the Status: Selected for Development Issue is selected for development label Dec 20, 2022
@ginkgm
Copy link
Collaborator

ginkgm commented Dec 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Selected for Development Issue is selected for development
Projects
None yet
Development

No branches or pull requests

6 participants