Huzzah32 I2C issue - constant rebooting

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
MJHanagan
 
Posts: 42
Joined: Tue Dec 09, 2014 5:25 pm

Huzzah32 I2C issue - constant rebooting

Post by MJHanagan »

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?

User avatar
MJHanagan
 
Posts: 42
Joined: Tue Dec 09, 2014 5:25 pm

Re: Huzzah32 I2C issue - constant rebooting

Post by MJHanagan »

Quick follow up here - I tried the same SHTx example code using a QT Python ESP32 uFL (#5348) and was unable to establish communication with the SHT40 sensor. I got the

Code: Select all

Couldn't find SHT40
However, the code did not self-reboot. The green LED on the SHT40 sensor board is lit when connected using the STEMMA connector harness.

I also tried the same code with an Itsy Bitsy M4 Express board and it ran just fine.

Still points to an issue with the ESP32/I2C module code, not the board hardware or sensor.

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Huzzah32 I2C issue - constant rebooting

Post by adafruit_support_carter »

I selected the "Feather ESP32" board in the Arduino IDE (version 1.8.15).
There are two versions of the Feather ESP32. Be sure to select "Adafruit Feather ESP32 V2".

User avatar
MJHanagan
 
Posts: 42
Joined: Tue Dec 09, 2014 5:25 pm

Re: Huzzah32 I2C issue - constant rebooting

Post by MJHanagan »

Ah ha, right you are! I didn't look far enough on the list find that match. Just tried it now with the "Adafruit Feather ESP32 V2" selected and it works with both the SHT40 and the BMP390 sensors.

Thank you for the help!

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”