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 SDA cannot be on GPIO46 #18

Closed
skot opened this issue Jan 14, 2023 · 4 comments
Closed

I2C SDA cannot be on GPIO46 #18

skot opened this issue Jan 14, 2023 · 4 comments
Assignees
Labels
bug Something isn't working max_v2

Comments

@skot
Copy link
Owner

skot commented Jan 14, 2023

According to the Espressif Boot Mode Selection doc, GPIO46 being pulled high breaks the serial bootloader.

GPIO46 must also be either left unconnected/floating, or driven Low, in order to enter the serial bootloader.
In normal boot mode (GPIO0 high), GPIO46 is ignored.

Pick another pin for SDA. All GPIO pins can be used for I2C on the ESP32-S3

@skot skot added bug Something isn't working max_v2 labels Jan 14, 2023
@skot skot self-assigned this Jan 14, 2023
@skot
Copy link
Owner Author

skot commented Jan 14, 2023

The solution for these boards is to cut on the green line and then airwire from R19 over to pin 15 on the ESP32 (pink line)
image

Just need to remember that SDA on the debug header won't work anymore.

@skot
Copy link
Owner Author

skot commented Jan 16, 2023

Using GPIO3 for SDA is not the best idea either. according to the ESP32 HW Design Guide, GPIO3 is also a strapping pin that controls the JTAG source. I need to investigate how GPIO3 strapping should be used in this case.

image

@skot
Copy link
Owner Author

skot commented Jan 16, 2023

Actually... The ESP32 has configurable internal pull-ups that can be used for the I2C pins. I think this means we don't need the external I2C pull-up resistors R18 and R19 at all. This means pin-16/GPIO46 can be used for SDA after all.

@skot
Copy link
Owner Author

skot commented May 23, 2023

this was fixed in 747d241

@skot skot closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working max_v2
Projects
None yet
Development

No branches or pull requests

1 participant