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

    Problems using interrupt, MPU9250 and Wi-Fi

    Scheduled Pinned Locked Moved FAQS
    1 Posts 1 Posters 4.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.
    • E Offline
      ep001
      last edited by

      Has anyone else using the timer interrupt with Wi-Fi?

      I wrote a function to get the acceralation data by MPU9250, and use this function in the timer interrupt to assure the sampling rate is correct, since the SD card writing takes too much time.
      When I use the serial port and the micro SD card to save the data , it works good.

      But when I try to use it with Wi-Fi, the M5stack reboot and the error message appears:
      Guru Meditation Error: Core 1 panic'ed (Coprocessor exception)

      I'm not sure what I'm doing wrong or not. I know it's not sensable to get data in the interrupt, but I don't know other ways to get the IMU data in a constant sample rate (In this case, I using 100Hz).

      Thank you!

      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