SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By magnusmusngi , 16 December 2014

I am just starting to port the motion drivers (5.1.2). I am using the MPU6500 and energy micro EFM32 (cortex M3).
The image for the DMP (in inv_mpu_dmp_motion_driver.c) has comments that it is for the MPU6050, whereas I'm using the MPU6500. I can find no other images within the release package.
My question is: Is the DMP image identical (along with the associated define's) for the different chips?
If not, where are the alternatives obtained?

By g.n.falouji , 14 December 2014

Hi,

I am play around with motion_driver_6.1 running on cortex M0...however the library in the folder motion_driver_6.1mpl librariesarmgeneric arm is not a library form cortex M0...the Keil compiler report error...I dump the arch by command

arm-linux-readelf -A libmpllib.a

i shows the lib for Cortex-M4 (see log below) ...is there a mistake when upload the file?

File: libmpllib.a(quaternion_supervisor.o)
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "Cortex-M4"
Tag_CPU_arch: ??? (13)
Tag_CPU_arch_profile: Microcontroller

By pdryan , 9 December 2014

The readme in the Embedded MotionDriver 6.1 documentation states the CM4 target is compiled with fpu=vfpv4. However, the CM4 has a "Single precision floating point unit". As I understand, this means vfpv4-sp (which has two variant fpv4-sp-d16 and fpv4-sp-s32). When I compile CM4 programs I use fpu=fpv4-sp-d16 with gcc 4.7.4 and it works (fpv4-sp-s32 should work too, but I haven't tried it).

Does anyone know if the fpu=vfpv4 switch works on the CM4? Has anyone linked to the 6.1 driver on a CM4 platform? Or can someone educate me on what I am missing?

By kkvinod , 5 December 2014

Hi,
I am using teensy 3.1 board (uses arduino IDE), and MPU9250 connected by I2C.

I managed to get all the raw values of the sensors, but could not find how to get euler anlgles from DMP (with or without FIFO)

Is there any code i can rely on or documentation to read on how to get euler angles from the DMP?

Thanks

By yong , 4 December 2014

Hello,

I am collecting accelerometer,gyroscope and compass data from Invensense 9150 using empl-client. What i do is type Inva,invg,invc to get the data from the sensor and save them in .csv type of documents. When I open those documents,I get all the data in 1 coloumn.
example:

Accel : -0.12 0.14 0.16
gyro : 1.21 1.67 3.21
compass: 21


is there anyway i can get all x,y,z axis of accel,gyro and compass on different columns in .csv file?
example:

accel X accelY accelZ gyroX gyroY gyroZ

By bpdsxhappxhr , 3 December 2014

Hi,
We are developing DMA based driver for MPU9250, and everything works perfect except part responsible for accessing magnetometer.
We are using MPU9250 connected via SPI interface and it's internal registers I2C_SLV0_ADDR/I2C_SLV0_REG/I2C_SLV0_CTRL for making connection to AK8963 magnetometer.
We have problems with burst write (3 bytes) starting from register I2C_SLV0_ADDR (0x25). It does not work, the data seems to be not transfered by internal I2C to AK8963 device.
Please see pictures below including signals registered on SPI lines.

By cktruong , 27 November 2014

The Motion Driver 6.1 source code, and the "MPU HW Offset Registers 1.1" document contained therein indicates the Accel Offset Cancellation registers contain values in units of +/- 8G.

The MPU-9250 Register Map document (revision 1.4) indicates these registers contain values in these units: "+/- 16g Offset cancellation in all Full Scale modes, 15 bit 0.98-mg steps"

Which is correct?