#I have several adafruit esp32s3 reverse

1 messages · Page 1 of 1 (latest)

marsh badge
#

This appears to happen even with the factory firmware

#

it boots fine with no SPI connected. Plug in SPI sensor, and it fails. It doesn't print out long enough to attache to serial console to see why it's angry

hasty mesa
#

well, for one thing, the stemma QT port is for I2C devices, not SPI

#

what sensor board do you have, is it from adafruit?

marsh badge
#

oh, jeez. you're of course correct. I meant i2c

#

the display is spi, is maybe what I was thinking

hasty mesa
#

what is the sensor you are plugging in?

marsh badge
#

SHT41

#

but it doesn't seem to matter. I can plug in ADXL343 and it does the same thing

#

I'm thinking it is something to do with low/high pulls of various pins and sequencing

#

i have accidentally gotten it into a situation where it seems to work by reflashing the board without QT plugged in with firmware, removing power. reprovisioning for esphome first time. then plugging in the QT

#

then importing into esphome

#

but if you remove power it doesn't work

#

there is something somwhwere along that is setting something on a pin that appears sometimes get it to work

#

oh, here's something that is maybe interesting.

#

the factory demo that CAME on the board appears to crash if I plug in the sensor to the i2c. If I erase, and reflash the factory demo to what's on the website, it works. at least for the demo

#

and the demo i2c bus scan picks up the address of the sensor

hasty mesa
marsh badge
#

I don't have my own build environment at the moment other than esphome. and I can download the factory demo and reflash

hasty mesa
#

You don't have the Arduino IDE?

#

Or you could test with CircuitPython if you want, easier

#

just to figure out if the HW is the problem

marsh badge
#
switch:
  - platform: gpio
    restore_mode: ALWAYS_ON
    id: gpio7_tft_i2c_power
    pin: GPIO7
    setup_priority: 1100
#

turning on the i2c power before the i2c bus was initalized appears to have fixed my problem