coder137 / jetson_nano Goto Github PK
View Code? Open in Web Editor NEWJetson_Nano 2GB
Jetson_Nano 2GB
Hi,
I am using the Jetson NX for my project and wanted to use lsm 303 as i2c bus1. I had trouble connecting LSM 303 to this i2c bus 1 (which are SCLpin 28, SDA27). while jetson devices have 2 default i2c buses.The bus 8 (scl5, sda3) recognizes connection and reads the compass header as per expected. But bus 1 throws error as follows: ValueError: No I2C device at address: 0x1e
Following are some screenshots of the code I ran and the error I faced.
The compass address is detected on bus 1 as well as 8 when i2cdetect -r -y 1
is used. So to me, this does not look like a hardware problem with the pins.
I used the python file provided as an example code at the pip library for lsm303 to see the results but as my project has 2 devices dependent on i2c buses. I tried to switch i2c bus places within devices but both devices show Value error, so I am currently trying to bring into use bus1 for lsm303.
I am not sure if its possible, but can GPIO be used a unique i2c bus on jetson nx. Did you also face similar problems with i2c bus one and kindly provide suggestions as to what would be a way to make this work.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.