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.

  • Resolved

CCS/SW-EK-TM4C123GXL: TIVA TM4C123GXL PLUS SENSHUB WITH TIVWARE I2C

Expert 1655 points

Replies: 2

Views: 359

Part Number: SW-EK-TM4C123GXL

Tool/software: Code Composer Studio

Hello,

I have a tiva board and the sensor hub booster, As going through the senshub documents, I could understand that using sensor API library we can get the values from the sensors from the  senshub board in  SI unit standard.

Well i just wanted to ask ,can we use the direct TIVA WARE  I2C API's   for communicating with senshub instead of  implementing the sensorlib driver API if calibration for sensor will be done in code.

Also my second question  is that ,can i read the values from 3 axis accelrometer only, from  9 axis MPU9150 sensor  on senshub ,without reading the gyro and magnetometer.

Thank You

  • Hello Sajad,

    I don't see why you couldn't use API's from TivaWare, but you may be causing yourself additional work I feel as we put together the SensorLib API's to handle that for you. Either way I'd encourage reviewing the provided API's to help speed up your process.

    As far as I can tell, you could read out the values from just the accelerometer only based on the MPU9150 specs. Not familiar enough with SensorLib to say whether that is the case with the API's.

    You might find this helpful if you are going to try to implement that yourself: www.invensense.com/.../MPU-9150-Register-Map.pdf

    Best Regards,

    Ralph Jacobi

  • In reply to Ralph Jacobi:

    Hello Ralph Jacobi,

    Thank you for the information,

    The thing is the sensorlib API's are little confusing and lacking documentation for beginners.

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.