-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
NRF port - I2C #4574
Comments
Hi @noblerabbit, I did a dry-run of the I2C to see if there was something, but for me it is working. Could you try to define hardware instance 0 as first parameter in the I2C class constructor? My output:
Edit: Also verified on pca10056 using the same code as above. |
Hi @glennrub, Closing the issue. Thanks again. |
There are apparently two RTC interfaces in the mimxrt10xx dev kit. The low power interface access the battery backed up hardware. I've tested this on the Teensy41 and it seems to fix issue micropython#4574
Hi,
Did anyone test I2C on the NRF port?
I am using NRF52 DK. I connect the SDA and SCL to 26 and 27 pin on the board.
When I run i2c.scan(), I get [] - an empty list. If I connect the same sensor to esp32 (also running micropython), i2c works as it is supposed to, and I can communicate with the sensor.
Is there anything else I should set on NRF52 DK, besides just connecting the SDA, SCL, and GND and VDD from the sensor to the board; and assigning sda and scl pins through machine.i2c?
I am running MicroPython v1.10-150-gf8f272429 on 2019-03-03; PCA10056 with NRF52840.
Thanks!
The text was updated successfully, but these errors were encountered: