Search found 4 matches
- Tue Oct 31, 2017 9:16 pm
- Forum: General Discussion
- Topic: i2c instability
- Replies: 9
- Views: 15720
Re: i2c instability
minor update: in case anyone stumbles across this, on the arduino-esp side, perhaps this could help in recovering the bus after something goes wrong... i expect a similar solution exists on the idf side where one could call the lower level reset if things hang up. i haven't dug into the i2c librarie...
- Wed Sep 06, 2017 8:11 pm
- Forum: General Discussion
- Topic: i2c instability
- Replies: 9
- Views: 15720
Re: i2c instability
Can you clarify that the I2C apps you are trying to run are hosted within the ESP32 Arduino framework as opposed to the ESP-IDF framework? If so, then we probably want to move this thread to the Arduino sub-forum. It has been my understanding that the I2C driver implementation for the ESP32 Arduino...
- Sat Sep 02, 2017 12:06 am
- Forum: General Discussion
- Topic: i2c instability
- Replies: 9
- Views: 15720
Re: i2c instability
Do you have a $10 logic analyzer in your possession? I have found these to be invaluable when tracking down I2C puzzles and whole heartedly recommend one. With one of those, you can look at the SDA and CLK lines and unambiguously see what is actually happening. Yes, I have a bitscope micro and usin...
- Thu Aug 31, 2017 8:59 pm
- Forum: General Discussion
- Topic: i2c instability
- Replies: 9
- Views: 15720
i2c instability
I've been trying to use the I2C for a number of digital sensors. They're generally 3.3V-5V capable, and for the 5V ones, I have a mosfet-based bi-directional level shifter. Just testing the port using the arduino i2c scanner example and have it compiled+flashed via the Arduino IDE using the latest A...