I2C
I2C configuration and setup
Install I2C tools
If not already present, the first step is to install the I2C tools to be able to use the I2C ports.
Adjust I2C user group
To use the I2C commands without root, you'll need to add the NavQ+ user to the i2c group. To do this, you can run the following command:
Check the I2C connection
Now to check the connection and confirm that the port is working correctly. Connect something to the I2C JST-GH port, then run the command below. It shoudl show you raw output from most devices connected on the I2C bus(es). Note that the onboard NXP secure element SE05x will not respond to this command.
Example
The link below is a 3rd party example that shows the use of I2C from one of the NXP HoverGames participants.
Last updated