-
-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32S3 - I2C issues #2607
Comments
@SimonGAndrews Which module i2c module did you tested with an ESP32-S3? |
I was Using a ESP32-S3-WROOM-1-N8R8 on an |
@SimonGAndrews Which i2c device did you use for testing? |
You could check out what mentioned @SimonGAndrews in #2589 - looks like it was an SSD1306 display. @MaBecker it's an on-board I2C thing you're using is it? Can you access it using software I2C? Just to rule other issues out? I wonder whether maybe there aren't pullup resistors but it expects the chip to put its' internal ones on? @MaBecker maybe you could try some other hardware on the S3 and see if that works? |
@MaBecker Good morning, Yes I agree something still not correct with the S3 I2C. PS might be worth building with DEBUG=1 as the code I changed put out a few debug messages onsetup etc. |
OK , @MaBecker I think my initial issue, was with the pin I was trying , on my board, for sda (D6 as in your case) was tied to ground for a battery status facility. This error was a timeout error. On changing the pin to D15 I got the above result , Ive not checked the data but the readReg() function does appear to work. I did get your error when I used the wrong address of the I2C. |
This trace is from the code above. If I use the wrong I2C address I dont get the ACK (we get a NAK). |
I am about to try the S3 in a small project over the next few weeks (A greenhouse monitor) , So will push it a bit harder soon. |
I came across these thia am while looking at this, In case you dont have them. I note from the spec the QM... device is used for SPI and I2C , and the spec seems to show external pullup resistors in the I2C configuration. On a quick look I dont see these in the circuit diagram. ?? |
Sample code to read version from a CST816S i2c module from a ESP32-S3-Touch-LCD-1.28 device
The text was updated successfully, but these errors were encountered: