Threading I2S & PDM #106
Unanswered
CameronCode22
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have been reading through the documentation supplied in the docs section. Firstly, it is great and clear.
I am trying to create a device that uses the voice recognition model by dspotter paired with the rp2040 Arduino Nano. I would also like to play audio via I2S once a trigger is called.
I faced an error when putting these two elements together: Error Message: Mutex: 0x2000A4D0, Not allowed in ISR context
After searching the Mutex in mbed_os documents. I could see that:
I believe this library solves that. However after reading through I can see you have implemented thread safe methods for SPI, Wire and Serial. What would suggest I do as I am using 2 different protocols? Is this now pushing me towards using both cores and is that threading or am I moving into the realm of something else. Apologies for my broad questioning. But I am getting really stuck. And I think I am floating around the solution. But have no clear path :)
Beta Was this translation helpful? Give feedback.
All reactions