I've noticed that the M5Stack Core2 recording quality using the PDM microphone is not the best. I'm looking for a way to resolve this issue, and the first thing that comes to my mind is to try the external microphone (https://shop.m5stack.com/products/pdm-microphone-unit-spm1423). I know it's the same type of microphone as the one on the Core2, but I hope that it can make a difference.
I've been trying to figure out how to hook up the pins to my Arduino program, but I can't seem to get the configuration right since I'm getting no live data from the external microphone. I feel like I've tried every pin combination and every port combination (Port A, B, C on the Core2). Any ideas on how to get this external microphone to work on the Core2?
Here are the 4 pins that I need to change to match the pins from the external microphone.
Thanks in advance for any help.