SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By beli , 11 November 2014

I'm working to integrate libmpllib.a with my Cortex-M4 (TI TIVA) board and MPU-9250 EVB. I've made good progress but have hit an issue where a function implemented in the library is causing a fault.

I have integrated the Cortex-m4 version of the library with my code using arm-gcc as such:

-mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -gdwarf-2 -fmessage-length=0 -g3 -ffunction-sections -fdata-sections -std=c99 -Wall -Dgcc -DPART_TM4C123GH6PM -DTARGET_IS_BLIZZARD_RB1 -DEMPL -DEMPL_TARGET_TIVA -DMPU9250 -Os -Isrc -Wl,--gc-sections

By sushil , 1 November 2014

From the datasheet for MPU-6050 and MPU-6500, in register 106 (USER_CTRL) I found a bit named DMP_RST which "resets the DMP" when set and auto resets once the reset operation is completed. Does this mean that setting this bit forces the DMP to start its program from the beginning? and if not what exactly does this bit do?

By toy007 , 30 October 2014

base on the MotionDriver 6.1;
run the command 't' (self test) , and the log information is this:

setup_compass:2868->Compass found at addr 0x0C.
mpu_run_6500_self_test:2488->Starting MPU6500 HWST!
mpu_run_6500_self_test:2505->Retrieving Biases
get_st_6500_biases:2392->Starting Bias Loop Reads
get_st_6500_biases:2429->Samples: 200
get_st_6500_biases:2450->Accel offset data HWST bit=0: 0.2188 -0.0115 -0.7557
get_st_6500_biases:2451->Gyro offset data HWST bit =0: 4.4907 54.8528 1.8866

By ggernot , 29 October 2014

Hello to all!

i would to use the free fall and the motion detection interrupt on the MPU9150.
Anyone know if this functionalities are part of the motion driver library or are part of the hardware?
In other words, i can use this functionalities without using the DMP?

By sushil , 29 October 2014

I ported Embedded Motion Driver 5.1.2 to use with an ARM microcontroller and was able to read quaternions from the FIFO. But when I try to read pedometer data using dmp_get_pedo_stepcount() and dmp_get_pedo_walktime() I couln't read a proper value.
The value returned by the functions are zero, so I suppose the program managed to read the registers. The problem is the output parameters are also zero and no matter how I move the MPU6500 the value does not change.

By jel3j2 , 28 October 2014

Hi,

I am currently working with a MPU9250 and MotionDriver 6.1 It has been working pretty well so far, but I'm facing some issues with the heading. The heading value is critical for my application, that's why I need to have an accurate value very quickly. Basically, I would like this value to be updated several times every second.

I use inv_get_sensor_type_heading to get this value.

My questions are:
1) What does the first value measured correspond to? (before sensors get calibrated)

2) What features do i need to enable? Right now I have enabled: