With the Core 2's microphone, I discovered the identical problem. My SD card does receive a created audio file, but it contains 0 bites. And sure, the Core 2 crashes and restarts when using this straightforward Blocky record method.
I recently bought the core2 because it has a build in mic, speaker and much more. Great!
But I can't get the mic to work in UIflow (online and app) or Arduino IDE. Both the most recent version.
Even the most basic Blocky makes the Core2 reset when running it.
It does create a audio file, in my case 'test.wav', but it is 0 bites. Also if i save it to the SD card.The mic is working correctly because the factory test works fine.
I also own a M5stickC-plus (a few). In UIflow there is no mic option, but it workes fine in Adruino IDE.
So, what is going on? It seems to be a serious problem for years now, but why is nobody doing something about it?
I bought it because if the mic and speaker. https://community.m5stack.com/bubble shooter/post/15992
Please help me!