Trying to get i2c working on ESP8266 SDK with the ESP-01 board

scotnewon96
Posts: 1
Joined: Wed Mar 03, 2021 8:13 pm

Trying to get i2c working on ESP8266 SDK with the ESP-01 board

Postby scotnewon96 » Wed Mar 03, 2021 8:54 pm

Im trying to write to a slave device using the SDK with the small ESP-01 chip. I modified the example and read through the documentation but still dont seem to see chatter on the two pins (GPIO 0 and GPIO 2). I'm using a logic analyzer to confirm ACK's and all but dont see anything at all. I debugged the driver and I see it timing out at a certain point waitig for an ACK but the lines are silent. Im thinking maybe its not using the two pins i chose correctly? Heres the code if anyone can point me to what I may be doing wrong.

Her Mary
Posts: 488
Joined: Mon Oct 27, 2014 11:09 am

Re: Trying to get i2c working on ESP8266 SDK with the ESP-01 board

Postby Her Mary » Mon Apr 12, 2021 11:32 am


Who is online

Users browsing this forum: No registered users and 6 guests