🤖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

    FAQS
    1
    1
    3.6k
    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
      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
      • First post
        Last post