kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.04k stars 471 forks source link

Example of MPU9250 DMA with I2C_t3 #248

Open akareembedri opened 6 years ago

akareembedri commented 6 years ago

Hi I'm trying to run an MPU9250's accelerometer at 4KHz and save it's values in a buffer while sampling other sensors on a lower frequency and then print the accelerometer buffer values along with other sensors vaslues at 50Hz (print to serial and/or SD card). I'm looking for good examples to run i2c_t3 in dma mode and save values in a buffer, but I couldn't find any. It would be great if someone can suggest how to do it or share a good example.

Than you!

kriswiner commented 6 years ago

Sounds like a question for the Teensy forum.

Running the accel at 4 kHz is straightforward, managing the data flow is something on the Teensy side that is independent of the MPU9250 I would think.

On Mon, Mar 19, 2018 at 10:47 AM, Abdelkareem Bedri < notifications@github.com> wrote:

Hi I'm trying to run an MPU9250's accelerometer at 4KHz and save it's values in a buffer while sampling other sensors on a lower frequency and then print the accelerometer buffer values along with other sensors vaslues at 50Hz (print to serial and/or SD card). I'm looking for good examples to run i2c_t3 in dma mode and save values in a buffer, but I couldn't find any. It would be great if someone can suggest how to do it or share a good example.

Than you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/248, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1quN2iQjlHI8ldHMI51O7fL7ECxbYks5tf-8mgaJpZM4SwnOl .