-
Notifications
You must be signed in to change notification settings - Fork 987
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
rp2040: Transaction with a NDIR CO2 sensor completely disables I2C functionality [TinyGo SDK] #1349
Comments
@kilograham I've fixed the issue in the TinyGo SDK. The relevant lines are here. Some context: The |
Hi @kilograham, I think I am having the same I2C issue. I can see in the Saleae the signal matched to the byte address of the I2C data write transfer (0x10). The problem is that I can not later see the signal corresponding to the actual data I am trying to send out from the rp2040. Could you help me with this please? |
Have you tried clearing the abort reason as suggested, after the write. A bit like this?
|
Does this need this particular sensor to reproduce this problem? |
I've seen this error happen with the NDIR and some other sensor, which I can't recall currently. |
I think we'd need a way to reproduce this to do something about it. i2c_write_blocking_internal seems to have some handling for this already? This might also be relevant #1370 |
tinygo-org/tinygo#3671
This issue was created in the TinyGo repository but it may apply to the pico-sdk or the RP2040's hardware so I'm creating a linked issue here. The reason I'm placing a linked issue here is for the following two reasons:
I'm not sure if this is the correct place to make note of this, let me know if this goes against the rules of this repo and I'll gladly submit the issue where appropiate.
The text was updated successfully, but these errors were encountered: