Search found 3 matches
- Mon Nov 27, 2023 12:35 am
- Forum: ESP-IDF
- Topic: Solved: I2C with ESP32, SDA dead silent
- Replies: 4
- Views: 4961
Re: I2C with ESP32, SDA dead silent
Problem solved! The waveform was an I2C reset, which signals a hung bus. This happens when the bus is actively driven low. Now, I had grounded the bus with only 200 ohm, which drove it low. Increasing the resistance to 4.7k, it all started working as expected. As the I2C spec says, it should use ope...
- Wed Nov 22, 2023 12:00 am
- Forum: ESP-IDF
- Topic: Solved: I2C with ESP32, SDA dead silent
- Replies: 4
- Views: 4961
Re: I2C with ESP32, SDA dead silent
That is odd, I2C is tested and tried as it's in a lot of projects. Are you sure you're measuring the correct pins? If it wasn't the correct pins, I'm not sure what could explain for that stop condition (with SDA). Also, there's nothing else running on the ESP, except to this I2C code that I isolate...
- Mon Nov 20, 2023 12:13 am
- Forum: ESP-IDF
- Topic: Solved: I2C with ESP32, SDA dead silent
- Replies: 4
- Views: 4961
Solved: I2C with ESP32, SDA dead silent
Hi, I can't get my ESP32-WROOM-32 to send any data over SDA with the I2C libraries. I'm using GPIO 21 for SDA, and GPIO 22 for SCL. First, I wrote the functionality with the Arduino library, using just the pinMode(), digitalWrite(), etc. That worked perfectly fine, and I could easily communicate wit...