SmartMotion® MEMS Motion Sensors

phpbb forum ID
13263
By eagabriel , 25 November 2014

Hello!

I am using the Invensense example of embedeed Motion Driver 6.1 for STM32L Discovery (Cortex M3) compiled on IAR.

Anyone used/tested this code?

I am trying to print the data read/processed but I did not found where I can change it, what is the function or library that send it to USART?

I connected the MCU USART to PC and some data appears on terminal, but i do not understand the format (ascii, float, int) of data.

By brint , 25 November 2014

I'm using the mpu9150, my main goal is to calculate the displacement of my system in cm.
I am using double integration of the acceleration data i'm getting from the DMP.
Im aware of the accumulative noise that will drift my result very fast. for my needs, I need to calculate displacement in intervals of ~20 seconds, so hopefully I'll be able to get result accurate enough.

From my experiments, when I measure the output of a still system,
I'm getting different offset values (expecting 0 on all axis after removing gravity).

By andrey , 25 November 2014

I'm upgrading my Motion Driver software from 5.1 to 6.1 using the CA-SDK hardware. However when I compile the software using CCS6 and put it on the device through JTAG and turn it on, the Red light on the device stays On constantly. Consequently the cube does not appear when starting the python client script as it did before the upgrade. The Bluetooth does work and pairs up with my PC.

Anyone have a similar problem?

thanks.

By idonasch , 24 November 2014

Couple of non-trivial questions.

First my setup. I have a MPU-9150 connected to a microcontroller. The INT line is used as DATA_READ. The FSYNC input is connected to something equivalent to the PPS pulse of a GPS, and read back as the LSB of the TEMP. The DLPF_CFG is set to 3. The sample rate is 1000Hz, the PLL is taken from Z axis gyro.

(1) The FSYNC input, where does it enter the pipeline ? Is it at sample time (i.e. before the LPF/HPF) ?

By pdryan , 22 November 2014

On

http://demo5.baytechdata.com/invensense/mems/gyro/documents/PS-MPU-9250A-01.pdf

On Page 19, Table 9, the RESV pins say:

Pin 1: Connect to VDDIO
Pin 19: Leave unconnected
Pin 20: Connect to GND

However, in Figure 2 on page 20, it shows Pin 1 unconnected and Pin 19 tied to VDDIO.

Is there a clarification on this somewhere?

Thanks,
Tyler

By kanghead , 21 November 2014

Hi All
Software
I have written the code of i2c reading the mpu-9250 device. The communication is between stm32f030 and mpu9250. I am able to read the other device mounted in the PCB through i2c like RTC. But I am not able to read the mpu-9250 device ...
Hardware configuration::
schematic of the MPU-9250 is as per the reference schematic given in the datasheet for I2C operation.
https://invensense.tdk.com/mems/gyro/documents/PS-MPU-9250A-01.pdf
where AD0 is connected to ground and no connection with respect to RESV pins.

By lcreqwgcyk , 19 November 2014

Hello,
I'm working with an MSP430 linked to a MPU9250 IMU via SPI.
Everything works fine (accel, gyro, config) except reading the magnetometer via the internal I2C-bus.
What exactly do I have to do to get the magnetometer data to the EXT_SENS_DATA_xx registers?

At the moment I'm doing the following procedure in pseudo-code:
- init clock, ADC, etc. and SPI (1MHz)

- init MPU (FSR etc.)

- init MPU I2C-registers:
--INT_PIN_CFG -> 0x30: INT_ANYRD_2CLEAR=1, LATCH_INT_EN=1