Hi,
I have a piezo microphone with analog output and would like to record from it using the Line In AUX on nRF5340 Audio DK.
Currently, I am using the break out pins from the AUX and sampling analog signal using SAADC. However, the sampling rate is not stable and not high enough.
I tried using the advanced mode of the SAADC driver from this example. I can run it independently but I cannot make it work with the this sd card feature that I have used successfully in other projects. The program crashes before executing the first line in main()
Could anyone let me know if there is a good way to record audio from Line In jack on the DK with consistent sampling rate, and somehow able to export the data to a PC? Thank you!