-
Notifications
You must be signed in to change notification settings - Fork 53
RuntimeError: bad chip id (1 != a0) on ESP8266 #9
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
Comments
Could you zoom in on the trace so we can see what the response was? Thanks! |
Here's a zoom on the response. SDA/SCL state remain unchanged for rest of trace. Attached the trace file also. |
The code for clock stretching in bitbangio is here: https://github.com/adafruit/circuitpython/blob/master/extmod/machine_i2c.c#L56-L61 Personally I don't see anything wrong with it, but maybe I'm missing something... |
Hmm, looking at the |
Could it be that there is enough delay between releasing the SCL pin and releasing SDA pin, that ACK is missed? |
@caternuson Is this still an issue? |
@kattni Unknown. The landscape has changed so much (ESP8266 is no longer supported and bitbangio isn't in M0 builds) that I'd say let's just close this and if there is still some issue, we can open a new one with updated info and testing when we hit it. |
Not sure if this is related to #2 or not. The traces look different, so maybe bitbangio is playing into it? It's failing before it even gets to the reset part.
The text was updated successfully, but these errors were encountered: