Jump to content
I2Cdevlib Forums

CPARKTX

Members
  • Posts

    3
  • Joined

  • Last visited

CPARKTX's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Sure, he is sample code rewritten for rapid polling of the DMP with no interrupt. Just call it at least as often as the DMP outputs data (which you can set by editing the Motion_Apps header file). In a test sketch I had this working at 100 Hz with no errors, and in my full project have it working at 20 Hz reliably with no FIFO errors and stable data. MPU6050_DMP_Polling.txt
  2. I was never able to solve this issue (demo DMP code randomly locks up), but I rewrote the code to repeatedly poll on its own without using the interrupt and that works flawlessly, no FIFO overflows or lock ups
  3. The demo DMP sketch continually locks up after anywhere between 3-20 seconds into running. The demo code is unmodified in any way other than commenting out a few of the #define's to limit the output. I get no errors and no FIFO overflows, results appear on the serial monitor...but then the program just hangs. I have a clean setup here...nothing else attached to the Arduino. Suggestions??
×
×
  • Create New...