Problems using interrupt, MPU9250 and Wi-Fi
-
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!
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