adafruit / Adafruit-Feather-ESP32-S2-PCB

EagleCAD PCB files for Adafruit ESP32-S2 Feather
Other
7 stars 2 forks source link

I2C powered through pull-ups when I2C_POWER_INVERTED is driven HIGH #1

Closed dgriswo closed 2 years ago

dgriswo commented 2 years ago

When I2C_POWER_INVERTED is driven HIGH, the Q1 MOSFET turns off. This is supposed to turn off external I2C power (VSENSOR).

However, the i2c pull-ups (R3 and R6) are connected to 3.3v not VSENSOR. Since Adafruit STEMMA QT sensors also contain resistors between SDA/SCL and 3v3, the i2c sensors are still powered through the pull-ups. While the ESP32-S2 is in deep sleep, the VIN pin on the AHT20 breakout is 2.836v. The SDA and SCL lines are both at 3.147v.

Same behavior is seen on the LTR390 breakout

https://forums.adafruit.com/viewtopic.php?f=57&t=187298

ladyada commented 2 years ago

yes this is going to be fixed in next PCB rev - we'll have a fully separate LDO!

dgriswo commented 2 years ago

Are you planning to connect the onboard pull-ups to the LDO output? The mosfet is doing it's job in the current design, just some leakage through the pull-ups.

ladyada commented 2 years ago

yes the pullups would be also controlled by the LDO. we didn't do that here because we thought folks would want to access the lipo monitor w/o the i2c but turns out... ya cant :D

ladyada commented 2 years ago

done in rev C

GitHubGoody commented 2 years ago

@ladyada I ordered this board (without the integrated BME280 since I didn't realize that was an option) on 4/12. How can I tell if its a Rev B or C board?

ladyada commented 2 years ago

look on the bottom of the PCB for a letter in a circle