help me set up BMI160 !!!

I connected the BMI160 and jetson nano with
VIN-> GPIO 1
GND-> GPIO 6
SCL-> GPIO 5
SDA-> GPIO 3.
The following procedure is not well understand. I want you to explain to me in detail.


And I ran the object_detection example. But error came up. Everything else works fine.

ERROR engine/gems/coms/i2c.cpp@106:I2C Error : Connection timed out (errno 110)
ERROR engine/alice/component.cpp@61:‘2d_kaya.kaya_hardware.imu/imu_hw’ reported an error : BMI160 IMU: I2C device did not return the expected chip ID :40
ERROR engine/alice/backend/event_manager.cpp@40:stopping node ‘2d_kaya.kaya_hardware.imu’ because it reached status ‘FAILURE’

This also wonders why this error occurs. Please let me know the cause and I would appreciate it.

Make sure your imu component configured to use i2c bus 1 (see code below) in the config section of your app.json or corresponding subgraph json?

"imu": {
      "IioBmi160": {
        "i2c_device_id": 1,
        "tick_period": "100Hz"
      }
    }

Hi rntjs300,

Try running the install_dependencies script for jetson

cd isaac
./engine/build/scripts/install_depedencies_jetson.sh -h <Jetson IP>

This should take care of installing the dependencies on the Jetson device.

Also, check for the user permissions:
https://docs.nvidia.com/isaac/isaac/doc/tutorials/wire_bmi160_imu.html?highlight=imu#user-permissions

Let me know if this helps.