I2C Interface with the Accelerometer K60

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Interface with the Accelerometer K60

200 Views
mdrasool_yadwad
Contributor II

Hello,

   I was interfacing the K60 microcontroller with the accelerometer MMA78451Q which is available on the tower board using I2C . I am configuring Microcontroller as master and MMA78451Q accelerometer as slave. I couldnt able to find the slave address in the datasheet and also nothingabout the MMA78451Q accelerometer.

Please help me out how to interface this using I2C.

Thank You

Labels (1)
0 Kudos
2 Replies

93 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Mohammedrasool Yadwad

The schematics of the tower and the product page indicates that the accelerometer part number is the MMA8451Q.

pastedImage_3.png

 

I didn´t find the part number MMA78451Q in my system.

 

Regarding the device address, I found that the slave address for writing is 0x1C and 0x1D for reading. You can find more detailed information under chapter 5.11.1 I2C Operation in the datasheet https://www.nxp.com/docs/en/data-sheet/MMA8451Q.pdf

 

You can find examples for interfacing the accelerometer at the SDK. The example name is "i2c_read_accel_value_transfer" https://mcuxpresso.nxp.com/en/welcome.

 

Let me know if this is helpful

Best regards,

Omar

0 Kudos

93 Views
mdrasool_yadwad
Contributor II

Hello Omar,

   I will look into datasheet again . I think you are right about the accelerometer.

Thank You

Mohammedrasool

0 Kudos