M5Stack Core 2 - SD card and Display at the same time
-
Hello!
I am new to the community here and have been finally been playing around with my m5stack core2 with rust.
My project consists in a simple voice recorder which does the following:
- After pressing a button, start recording from the microphone to the SD card
- Show a timer of the elapsed time
- Once the user presses the stop button, stop the recording
- Then upload the recording to a server
I got every bit working independently but the problem is getting them to coexist.
The reason I am posting here now is that I am completely unable to figure out how to get the display to work (e.g. update the elapsed timer and/or react to user button presses) while also having an active microphone recorder which writes a wav file directly to the SD card.
I found quite a bit of conversations about it being a limitation of how the lines are shared between the display and the sd card. Some even suggested the existence of some workaround to get them to work but I couldn't get any to work with rust/esp-idf.
Has anyone here managed to get this to work? I would be pretty surprised if 2 such core features (the screen and the SD card) were really not possible to coexist, as that would destroy almost all my project ideas for the m5stack.