Skip to content

I2C does not does work on pins 13 - 16. Why is GPIO16 connected to GPIO33 through a 10ohm resistor #2

@JulesThuillier

Description

@JulesThuillier

Using the ESP-POE2 board and Olimex BME280 board I tried the simple example provided by Olimex (https://github.com/OLIMEX/ESP32-POE/blob/master/SOFTWARE/ARDUINO/ESP32_PoE_MOD_BME280/ESP32_PoE_MOD_BME280.ino), the I2C communication with BME280 does not work. Using a protocol analyser I see data on SDA (GPIO13) but SCL (GPIO16) is always HIGH.

Moving forward with my investigation, I look at ESP-POE2 schematic and see the following connection :

Screenshot 2024-05-16 at 11 24 38

Can somebody explain why is this here ?

So I tried to replace SCL pin with GPIO5, and tada ! It works.
It is not really a solution in itself because your UEXT connectors uses GPIO16 for SCL.

Last test was to remove R19, and still did not work. I finally stumbled on this piece of information :

Screenshot 2024-05-16 at 11 35 58

And that seems to be the answer. It's a bit confusing that this exact pin was chosen for UEXT SCL pin...
Any plan to fix this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions