Jump to content
I2Cdevlib Forums

MPU9150 magnetometer,address?

Recommended Posts

Hi Chandru,


Have you tried alternative addresses for the AK8975 slave, such as 0x0D or 0x0E? Also, have you enabled I2C slave bypass mode on the MPU9150? The AK8975 inside the MPU is wired up to the AUX I2C pins rather than the main I2C pins, so you will not be able to talk directly to the magnetometer without first enabling bypass.


I have not yet worked with the MPU9150 much yet, so I am kind of guessing here.

Link to comment
Share on other sites

Hi Jeff,


Thank you for your comments.I had set the Bypass enable and i am able to read the wia register as 48H.i am a newbie.I am also getting the x,y,z readings in hex format for the magnetometer.Kindly let me know how am i suppose to calculate which way is North with the three 16 bits register values-X_mag,Y_mag and Z_mag.


Thank you once again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...