<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Are there any libraries for the connection microphone / audio codec / Nrf52dk ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19988/are-there-any-libraries-for-the-connection-microphone-audio-codec-nrf52dk</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Feb 2017 11:32:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19988/are-there-any-libraries-for-the-connection-microphone-audio-codec-nrf52dk" /><item><title>RE: Are there any libraries for the connection microphone / audio codec / Nrf52dk ?</title><link>https://devzone.nordicsemi.com/thread/77779?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2017 11:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c38db85-ed71-4cf8-8c3b-1f0efc720d6e</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;For storing the values to the SD card you can use our SD card library, check out the FATfs example in the SDK.&lt;/p&gt;
&lt;p&gt;Ole&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>