This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: Simulink, communicate using I2C bus

Part Number: LAUNCHXL-F28379D


I've read the example on matlab that shows how to use the I2C blocks to communicate. (matlab link given below)

The problem is that i cant get it to work with the BNO055 IMU sensor. I've changed the relevant register address and slave address.

The sequence as stated by the BNO055 datasheet is:

  1. Send a Start Bit
  2. Send the Slave Address
  3. Get an Ack back from the Slave
  4. Send the Register Address
  5. Get an Ack Back from the Slave
  6. Send the Data byte
  7. Get an Ack back from the Slave
  8. Send a Stop Bit.