Tag for "Micro-processor unit", smaller MCU/SOC. Generally a bad tag. Suggest [embedded]. For an ARM memory protection unit, use [arm-mpu].
Questions tagged [mpu]
48 questions
1
vote
1 answer
Why "fifoBuffer" values of indexes 2,3,6,7,10,11 are not passed in the teapotPacket[] array ?
I'm using the MPU6050 library by Jeff Rowberg. In the code, whole fifobuffer is not passed to the 'teapotPacket' array (for processing ,i.e, graphics emulation). Why only certain indexes are passed in the 'teapotPacket' array ?(to be precise, only…

Rohit Lal
- 2,791
- 1
- 20
- 36
1
vote
0 answers
Hanging moving gestures (Left/normal/right/up/normal/down) using mpu9150 sensor
We tried (Arduino+mpu9150) using gestures LEFT-NORMAL-RIGHT, UP-NORMAL-RIGHT.
We can able to get these gestures, but not accurately.
Its HANGING in middle, and sometimes values are also Incorrect.
Could you please help me to fix this issue?
Please…

Aishwarya royal
- 31
- 6
1
vote
1 answer
How to get gravity values from real acceleration date using MPU 9150 sensor
Please kindly help me to learn
I can get acceleration values using below code
#ifdef OUTPUT_READABLE_REALACCEL
//display real acceleration, adjusted to remove gravity
mpu.dmpGetQuaternion(&q, fifoBuffer);
mpu.dmpGetAccel(&aa,…

Rakesh Indla
- 41
- 1
- 1
- 5
1
vote
0 answers
High Performance with RaspberryPi and MPU6050
I have a problem in performance (scanning speed) with my Pi and the MPU6050.
The task of the code is to log the data from the MPU as fast as possible and in an accurate interval.
To reach a high scanning speed I just record the raw register values…

japi90
- 11
- 1
- 2
1
vote
0 answers
How to detect steps and squats from accelerometer or magnetometer or gyroscope
I am working on mpu9150 sensors data (3 axial acceleration, 3 axial magnetic field and 3 axial gyroscope data). I have raw data in my database called, influxDB. I want to detect (monitor) steps and squats from those raw data using java or c++. I did…

info_tech
- 21
- 1
- 5
1
vote
1 answer
MPU9150 data (gyro, mag, acce, e.g 9DoF) to Quaternion
I faced a serious problem yesterday. I am trying to find absolute position of an object using MPU9150. It has gyroscope, accelerometer and magnetometer. Each of them providing information in 3 axises(x, y, z).
I am looking how to convert these 9…

Kamen Stoykov
- 1,715
- 3
- 17
- 31
1
vote
0 answers
Yaw calculation from RAW data of MPU 6050
I am trying to calculate yaw pitch and roll for my Quadcopter project. I have taken the code from Here.
I have been succeeded in calculating roll and pitch in degrees and applying complimentary filter to these values and these values are very near…

Ahsan Raza
- 36
- 1
- 6
1
vote
0 answers
Issues reading accelerometer data from Mpu9150
I am trying to get accelerometer data from mpu9150 and pass it to android for screen rotation.
My initialization is as follows:
Reset Mpu9150
Clear sleep bit
Set Sample Rate Divider to 7 (for 1KHz)
Set DLPD to 260Hz
Configuring INT pin condition…

Thella Shyam Kumar
- 11
- 3
1
vote
0 answers
How to get RAW IMU data from the Google Glass?
I am trying to get RAW acceleration and gyroscope data from the Google Glass IMU module.
I tried aSensormanager module in the NDK, but it sometimes gives output with some wierd bias adjustment. So I tried to read from the driver's virtual…

Mrinal Paul
- 33
- 3
1
vote
3 answers
Arduino freezes after x seconds
I was reading the data from an MPU-6050 inertial measurement unit, using I2C, from an arduino at a sample rate of 25Hz and it worked fine. Then I added a second MPU-6050 that I also read at a sample frequency of 25Hz. They have different addresses…

Vulpo
- 873
- 1
- 9
- 25
0
votes
0 answers
Accelerometer Gyroscope and Magnetometer to Drift Angle calculate
I have one ICU is ICM20498 9 Axis Breakout board.
I am able to Derive some co-ordinate using this Sensor to Accelerate X,Y and Z also Gyro X,Y and Z and Magnetometer X,Y and Z i have verified this all the axis coordinates are well Calibrated.
So, i…
0
votes
0 answers
No source available for "g_pfnVectors() at 0x0"
I'm trying to debug a firmware in production mode using STM32cudeIDE, running on the cortex M4 on the stm32MP157F. When debugger starts it seems g_pfnVectors isn't properly created. When I stops debugger and view the dissambled code I found that it…
0
votes
1 answer
FreeRTOS MPU: privileged access to bss?
I am using FreeRTOS 10.5.1 with MPU support on a Cortex M4 microcontroller (STM32F4).
I created some tasks (all privileged -> portPRIVILEGE_BIT set) and my system is running fine.
Now I tested again with one task not having the portPRIVILEGE_BIT set…

mostrich
- 1
- 3
0
votes
0 answers
MPU Access Permissions NXP IMXRT1060
Can someone help me?
I have some trouble with configuration of MPU in ARM MCU.
I would configure two regions in RAM that are unprivileged permissions (RW for privileged and RO for unprivileged).
So, 1st region can write in here region but not in 2nd…
0
votes
1 answer
How can I configure MPU(Memory Protection Unit) for an OS_Task in Vector AUTOSAR Conguration Tool?
I want to protect an OS_Task using MPU in Vector AUTOSAR Conguration Tool. How can I do?

Doveal
- 21
- 4