I just received two HUZZAH32 V2 boards and I am trying to read a SHT40 sensor via I2C. I am using a STEMMA QT harness wire to link the sensor to the board. I am using the Adafruit SHT4test example code. I selected the "Feather ESP32" board in the Arduino IDE (version 1.8.15). It compiles without errors but when I upload it to the HUZZAH32 I get this message on the serial monitor window:
Code: Select all
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13160
load:0x40080400,len:3036
entry 0x400805e4
Adafruit SHT4x test
ets Jul 29 2019 12:21:46
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13160
load:0x40080400,len:3036
entry 0x400805e4
Adafruit SHT4x test
ets Jul 29 2019 12:21:46
I can run the same SHT4test code using a HUZZAH ESP8266 board and all works just fine. So the sensor works (the green light on the SHT40 is on). It seems the problem is with the ESP32, but I get the same error on both new HUZZAH32 boards (even if I disconnect the sensor) which suggests to me this might be a software issues.
Any suggestions on what might be wrong?