Trying to get i2c working on ESP8266 SDK with the ESP-01 board
-
- 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.
Re: Trying to get i2c working on ESP8266 SDK with the ESP-01 board
Postby Her Mary » Mon Apr 12, 2021 11:32 am
Could this example help? https://github.com/espressif/ESP8266_RT ... herals/i2c
Who is online
Users browsing this forum: No registered users and 13 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.