0

i have a mainboard which runs on wroom-32e (designed by someone else) and trying to get software work done by myself.

I installed Adafruit library and pasted example code. Assigned all pins according to schematics.

I get WDT error when i upload the code.

Are those pins are usable for MAX31865 module? ChatGPT says they are not, but when i checked the pinout datasheet could not see a problem, made me confused. Otherwise i will need to have that board to be designed again.

// Use software SPI: CS, DI, DO, CLK 
Adafruit_MAX31865 thermo = Adafruit_MAX31865(8, 37, 31, 30);

Thanks.

4
  • Do you understand what that is? WDT is a watchdog timer error. The device has a timer to make sure the code is not hung. If you don't go tickle the watchdog register every now and then, it forces a reset. You might turn off the watchdog capability until you are closer to being ready. Commented Sep 20 at 19:36
  • Which pinout datasheet that you are checking with? As per ESP32-WROM-32E datahseet, the chip does not have GPIO37. Is that a typo or something else? Show your schematic and connection. Commented Sep 21 at 0:05
  • In the table 3, GPIO23 says no 37. Am i wrong? Commented Sep 21 at 6:17
  • SOLVED! Apparently, my pinouts were wrong. I changed to Adafruit_MAX31865(32, 23, 19, 18); and it solved. Thank you. Commented Sep 21 at 6:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.