Jump to content
I2Cdevlib Forums

Recommended Posts

Hi everyone,

 

I use in my current project component MPU9150.

I have no difficulty communicating with it and my PIC24F in I2C.

 

The first part that retrieves data from the accelerometer and gyroscope is performed without problem.

Indeed , I can read and write to each register and the module responds well to me WHO_I_AM.

 

The second part allows me to get the magnetometer data by activating the bypass I2C .

I still have no problem reading the magnetometer registers .

 

My problem is this :

 

When I activate the bypass and I read the magnetometer ( Add: 0x0C ) , I can no longer read the registers of the accelerometer and gyroscope ( Add: 0x68 ).

 

I do not understand why I can not access the address 0x68.

 

Thanks in advance

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.

Guest
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.

Loading...
×
×
  • Create New...