Replies: 2 comments
-
Could you share a (minimal) sample to reproduce? |
Beta Was this translation helpful? Give feedback.
-
|
Here is a simple example. It does drive a codec successfully. The i2s.init() is commented out. UPDATE: If I do not use the irq handler (comment out play()), then it seems to work fine. So I think I may need to remove the irq handler before calling deinit. Not sure how to do this at the moment. UDDATE: I think I found the problem. You need to first remove the interrupt handler with i2s_tx.irg(None). Then i2s.deinit() works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems anytime I use i2s.deinit(), I get a kernal panic. This is using the latest MP release with ESP32.
I can work around this, but it might be of concern in the future.
Beta Was this translation helpful? Give feedback.
All reactions