🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Reading the FIFO buffer in the MPU6886 for the M5 Stick C.

    Scheduled Pinned Locked Moved M5 Stick/StickC
    3 Posts 2 Posters 5.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cdknorow
      last edited by

      I've been trying to read from the FIFO buffer in the MPU6886, but have not had much luck yet. Has anyone had any success with this?

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @cdknorow

        have you checked out the MPU6886 library for M5Stack? It has some functions (at the bottom of the file) dealing with the FIFO. I guess those functions should work for M5StickC too.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          cdknorow @felmue
          last edited by cdknorow

          @felmue I did not look at that. Will check it out. I played around with this for a while and made a number of modifications to the M5Stack C MPU6886 library to enable the FIFO and try to read from it based on the MPU6886 docs I found online. No luck, unfortunately. For now, though, I'm just going to stick with the standard method of reading the IMU. Burst reads on the FIFO are definitely something I'd like enable in the future, without it I'll drop data when I start doing real-time analytics.

          But for data capture over Wi-Fi that isn't an issue. I'm working on getting a nice tutorial together, here is my initial sketch https://github.com/sensiml/m5stickc_data_capture

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post