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