MPU6050 FIFO Buffer

Hi,

So I am doing a project where I need to get acceleration data from an IMU. The catch is that it must read from a FIFO Buffer because the project I am doing will be computationally intensive and I can't loose readings while preforming those computations. So I tried the MPU6050 with FIFO via it's DMP. However, this requires an interrupt (and others that did it without one, theirs's always froze) and I can't be doing interrupts while doing my "computations".
Does anyone know a reliable way to get FIFO data from the MPU6050 without the use of an interrupt or know another alternative IMU that also has a FIFO buffer?

Thanks everyone for their help!!

Hi,
What controller are you using?
Have you looked at the ESP32, I gather you can run two cores.
Search for

esp32 dual core programming

In YouTube.

Tom.. :grinning: :+1: :coffee: :australia:

Hi, in the main project I will be using a Particle Boron based off of the nrf52840 (same cpu on arduino nano 33 ble). So that won't be an option. Thanks anyway.

For those trying to find an answer/solution, an alternative to the MPU6050 would also work!

I am looking at the MPU6050 library by ElectronicCats: https://github.com/ElectronicCats/mpu6050/blob/master/src/MPU6050.cpp

and I have a question:

in line 1794, does the getMotion6 function get those measurements from the internal FIFO buffer of the mpu6050?

Thank you in advance!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.