<?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>HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25702/how-to-analysis-pdm-data-continuously-in-nrf52832</link><description>For my audio application, I need to convert pcm out from pdm module(nrf52832) to an audio format (mp3,wav) continuously. Is there any method or procedure for this??...or any sample example?? please help...
Actually, MIC is outing pdm data, PDM_IRQHandler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Oct 2017 07:20:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25702/how-to-analysis-pdm-data-continuously-in-nrf52832" /><item><title>RE: HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/thread/101245?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 07:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:facb93e7-77bc-4359-9c02-dc4613115151</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Yes, RTT and UART should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/thread/101244?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 07:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb79fe68-9df1-4bdc-97c1-9e725e910a5f</guid><dc:creator>nithin</dc:creator><description>&lt;p&gt;OKay. How can I see that raw PCM data from RAM , could I use RTT or UART for that ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/thread/101246?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 07:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735c617a-5d2f-4114-9f47-cf9d38633cf3</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;The output of the PDM module is raw PCM data which is stored in buffers in RAM. The buffers can be as long as you want (as long as they fit in RAM of course). Nordic doesn&amp;#39;t provide any solution for converting PCM to audio files, so I suggest you look for that somewhere else. Converting PCM to WAV seems to be a matter of generating a proper file header and place it before your raw PCM data: &lt;a href="https://stackoverflow.com/questions/21131595/convert-from-pcm-to-wav-is-it-possible"&gt;Link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/thread/101243?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2017 10:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27edf812-34ae-4af4-bcf0-b43bb3d5626b</guid><dc:creator>nithin</dc:creator><description>&lt;p&gt;hai Martin, thanks for your response. I have some doubts whether these buffers ( m_cb.buffers[1],m_cb.buffers[0]) holds actual pdm out i.e PCM ? and its buffer size(in RAM). How to convert this pcm data to wav or any other audio formate?. I want to analyze a particular range of sound from this mic (spk0838ht4h-b).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO ANALYSIS PDM DATA CONTINUOUSLY IN NRF52832</title><link>https://devzone.nordicsemi.com/thread/101247?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 12:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:593518ed-24b8-47ab-bb0a-60f1e78b50ad</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m not sure if I understand your problem. You provide a buffer to the PDM module, and the PDM then gathers data in the background. When the buffer is full you process it. This is achieved with &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/pdm.html?cp=2_1_0_42_3#concept_ysq_252_yr"&gt;the EasyDMA feature&lt;/a&gt; and the data is always stored in RAM. Unfortunately there are no PDM examples, but &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/hardware_driver_pdm.html?cp=4_0_0_2_6"&gt;here is the documentation of the PDM drivers&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>