8 Replies Latest reply on Apr 2, 2018 6:40 PM by regand1_2236336

    i2c not communicating to all sensors

    regand1_2236336

      I'm using this 10 DOF IMU board from dfRobot (https://www.dfrobot.com/wiki/index.php/10_DOF_Mems_IMU_Sensor_V2.0_SKU:_SEN0140) for a project I'm working on. I have set up i2c communication with two of the four sensors successfully, but for some reason I cant get the communication to the gyroscope and compass to work. Both just NACK when written to (I'm using a logic analyzer to check the communications). I have checked and rechecked the code, and cant see any mistakes, or issues. I have also tried powering the IMU with 5 V instead of the 3.3 from cy8kit, the situation did not improve. I'm beginning to think the senors are bad. Can anyone suggest any further trouble shooting and/or look over my code for a sanity check?

       

      I have also attached the datasheets for both no communicating sensors.

       

       

      Thanks in advance