About the compass fsr and selftest

By prussell89 , 6 May 2014

Hi every developer:

I used mpu9150 and got two problems:
One is I used the mpu_get_compass_fsr()function to get the full scale range of compass, it's 9830, but the datasheet says the FSR is +-1200ut, so I don't know what's the function output means? And the sensitivity scale factor is 0.3 typically, so I just multiply the raw data by 0.3. Is there any further processing needed? Now the value is larger than 1200ut, so it couldn’t be right.
Another thing is I failed the self test with function mpu_run_self_test(), and it returns 0, the correct output should be 0x7, I don't know why cause I can get some data from the sensor and read the device address 0x68 successfully.
Any advice is appreciated. Thanks.

phpbb Topic ID
16131