This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Are there any libraries for the connection microphone / audio codec / Nrf52dk ?

I would like to pick up audio signal with a microphone for ex. AKU340, then use audio codec to digitize it, then save the output in a SD card connected to the nrf52, reading that out and analyze at the end

  • Hi,

    If you use a microphone with analog output you need to read it using the SAADC (Successive Approximation Analog to Digital Converter). Then you can for example store the values as LPCM in a .wav file.

    I would recommend to use a microphone with PDM (digital) output instead as you get the PCM values directly from the PDM peripheral on nRF52. There are libraries for the PDM peripheral.

    For storing the values to the SD card you can use our SD card library, check out the FATfs example in the SDK.

    Ole

Related