-
Notifications
You must be signed in to change notification settings - Fork 613
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
Jetson Nano Support #997
Comments
Hi, have you tried using the "raw" I2C APIs? They allow you to map directly to an i2c bus number as exposed by the os. Take a look at the description here and also on the native C mraa_i2c_init_raw() function as it explains how the mapping works a bit better. |
Dear Propanu, when I run the python code on bellow the output is under python code. Actually nothing change for raw parameter when I tried True or False I get same output. `#! /usr/bin/python import mraa Traceback (most recent call last): |
Hi @brsbilgin, |
Hello @Propanu, |
Hi @BobMak, maybe the I2C bus is not enabled in your case and you have to configure your board. Does |
@Propanu, i2cdetect works, and I can read the raw data from my sensor using the smbus2 module. |
@BobMak, the MRAA project is also using smbus commands to handle i2c devices but the way the bus is initialized may differ from other projects that work for you. Is there any way you can provide a system log for what you tried? This can also hint at a finicky i2c chip (e.g. one that supports only a subset of i2c functions) or unstable bus. |
@Propanu this is what I see in syslog:
|
You are building this from source right? Try with |
I have tried with jetson nano board for I2C and it has failed. Does anyone know when will come jetson nano support. Is there any way to manage it by adding source code.
The text was updated successfully, but these errors were encountered: