Skip to content

I2C Issue with GPIO 4 & 5 (GIT8266O-524) #946

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

Open
berkutta opened this issue Jul 30, 2020 · 2 comments
Open

I2C Issue with GPIO 4 & 5 (GIT8266O-524) #946

berkutta opened this issue Jul 30, 2020 · 2 comments

Comments

@berkutta
Copy link
Contributor

berkutta commented Jul 30, 2020

Are there any known issues with GPIO 4 & 5, I2C, v3.3 RTOS SDK and HTU21D Sensor known?

If I use the following configuration sda_io_num = 4, scl_io_num = 5 I can hook up a Logic Analyzer or Oscilloscope and reading from the HTU21D Sensor fails. The HTU21D doesn't ACK any more on write or read. Also touching the pins with my hand results in failed sensor readings.

When using sda_io_num = 4, scl_io_num = 2 I don't get any issues with touching the pins or hooking up a Logic Analyzer.

@github-actions github-actions bot changed the title I2C Issue with GPIO 4 & 5 I2C Issue with GPIO 4 & 5 (GIT8266O-524) Jul 30, 2020
@anticodeninja
Copy link

Thanks @berkutta, I have the same issue and this info has saved a lot of time on debugging. And the issue still exists in 911e2d7. Also everything works fine with GPIO 4&5 on Arduino with Wire library, so it looks like the issue in SDK, but I haven't found a way to fix it or even understand why it happens.

@dsptech
Copy link

dsptech commented May 6, 2021

Hi, this PR may solve your issue:
#1071 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants