Questions tagged [mpu]
16 questions
3
votes
1 answer
How to Interpret MPU9250 Register Map and Self-Test Documentation
I need help understanding the information given in the table on page 13 of MPU9250 Register Map regarding the Gyroscope Bandwidth, Delay and Fs which are further reference in MPU9250 Self-Test Procedure on page 5.
The confusion is this, the chart…

David C. Rankin
- 203
- 1
- 6
1
vote
1 answer
Required Guidance in Designing MPU6050 I2C Schematic for Daisy-Chaining
I am designing a breakout board using the MPU6050 chip. This is what I have so far, I need some advice/guidance about things I may have overlooked.
I intend on daisy chaining about 8-10 of these MPU6050 Breakout boards for my design, so there's a…

TheAwkGuy
- 11
- 2
1
vote
1 answer
Data coherency with DMA and I2S audio on STM32H7
Moving from a audio effect prototype based on the STM32F407 to the STM32H757. Did a lot of stuff on the F4 with audio but on the H7 I'm getting stuck and can't get a simple audio loopback with DMA. I'm using Cirrus Logic's CS5343 and CS4344 as…

Alefal
- 31
- 4
1
vote
2 answers
Router: MPU and PHY separate or together?
I'm designing a router and have noticed that some designs use a 'MPU with built in PHY' package on a single chip, whereas others use a PHY IC communicating to a separate CPU/MPU IC over PCIe.
What's the point in separating these two devices? I would…

cdubs
- 413
- 2
- 9
1
vote
2 answers
MPU9250 Gyro Calibration-Offset
I'm working with mpu9250 gyroscope and I got fine measurements for beginning period (few minutes). I calculated offset at start in manner to average sum of first 1000 results from mpu9250 gyro. But If I put mpu9250 on one place and I don't move it I…

subavet995
- 55
- 1
- 9
1
vote
1 answer
STM32MP157 GPU documentation
Reference Manual Chapter 20 of this document describes GPU and basically uses 2 sentences about, it is just present, however it mentions that it supports OpenGL ES 2.1 API. The question is, ST provides drivers for their Linux distribution but im not…

Anton Stafeyev
- 341
- 3
- 13
0
votes
0 answers
NUCLEO-H723ZG HAL LWIP won't ping
I am having issues creating the simplest setup with this board. LWIP initializes, I can see my static IP address in the debugger. I can detect if cable is plugged-in/unplugged. MPU is configured and I am not getting "Hard Fault", but that's pretty…

Arkadiusz Rycyk
- 15
- 3
0
votes
0 answers
Issues in SBSFU usage with MPU for a FreeRTOS based User Application - STM32H7
I am working on the STM32H753 Evaluation board and I have a software architecture with an SBSFU running in the internal flash, that jumps to the External NOR flash to execute the user application (Download and Active slot in External NOR flash). My…

Sreedhar
- 11
- 2
0
votes
1 answer
Reading MPU6050 with Nucleo-32, Arduino IDE
#include
basicMPU6050<> imu;
void setup() {
imu.setup();
imu.setBias();
}
void loop() {
imu.updateBias();
if (imu.gy() > 0.1) { //DoSomething}
else if (imu.gy() < -0.1) { //DoSomethingElse}
}
Well... I have absolutely no…

Gergő Szabó
- 1
- 1
0
votes
0 answers
Why does a MOSFET level shift on the I2C bus break some I2C devices that operate on the same level as the MCU?
Background:
I'm attempting to control a stepper driver (+5V logic) with an esp32 module (+3V3 logic). The A4988 datasheet claims to operate at +3V3. And indeed it did ... poorly. It works great at +5V. My idea was to add an I2C port expander…

aleroy
- 1
- 2
0
votes
0 answers
Why does AHRS system with Madgwick filter has so big drift?
I have an MPU9250 on my PCB and I use an AHRS system with a Madgwick filter to get yaw angles. I want to get very accurate and non-drifting yaw angles, but, for unknown reasons, I can't.
I calibrated the magnetometer, so I don't think that is the…

crackanddie
- 63
- 8
0
votes
0 answers
Why does yaw return weird values after tilting on a different axis?
I have an MPU9250 on my board and I wanted to change the yaw calculating axis after reboot depending on how this board is placed, like this:
So now i can rotate the yaw counting axis, thanks to the answer here. In the image below you can see board'…

crackanddie
- 63
- 8
0
votes
2 answers
Multi MPU programming standard or algorithm?
I've been reading that electronics in space vehicles (satellites or crafts) have redundant systems. I'm wondering if there are standards or algorithms (not sure here on either term) that I could use if say I wanted to play with the concept of using …

Rodo
- 875
- 4
- 15
0
votes
7 answers
Is it possible to remove a line of code from microcontroller program memory?
int main(void)
{
while (1)
{
delay(50);
if (ButtonPress1) {
ResetOutSwitch();
}
}
Suppose that button press is detected and output switch is reset.
How to make the microcontroller do not pool the button press anaymore.
How to…

tuncel3
- 3
- 2
0
votes
2 answers
How should DDR ram layouts at PCB?
I am designing a board which include DDR3 Ram, AM335x Series MPU. I have a question at this topic.
How should it DDR Ram layouts at PCB? Can I draw at top layer? Or which layer the best? I want to work with this board without problem.

Mert
- 67
- 2