<?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>nRFx PDM driver data buffer handling gives noise samples at every memory block of defined size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66716/nrfx-pdm-driver-data-buffer-handling-gives-noise-samples-at-every-memory-block-of-defined-size</link><description>I am trying to capture audio PDM samples at every 5s interval blocks, but at the time of &amp;quot;pevt-&amp;gt;buffer_released&amp;quot; event when i am giving the new buffer to PDM driver it results in some noisy data at every block of my buffer size(PDM_SAMPLE_SIZE). I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Oct 2020 08:04:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66716/nrfx-pdm-driver-data-buffer-handling-gives-noise-samples-at-every-memory-block-of-defined-size" /><item><title>RE: nRFx PDM driver data buffer handling gives noise samples at every memory block of defined size</title><link>https://devzone.nordicsemi.com/thread/273648?ContentTypeID=1</link><pubDate>Thu, 08 Oct 2020 08:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5663245-93c1-4226-8a2f-87752b6932fc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;You can also check out the Smart Remote 3 DK add-on that has a &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sr3_nrf52%2FUG%2Fsr3_nrf52%2Fhw_descr_add_on%2Fdigital_mic.html"&gt;digital microphone&lt;/a&gt; that can do something like this. The &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Reference-Designs/nRFready-Smart-Remote-3-for-nRF52-Series/Download#infotabs"&gt;firmware can be downloaded here&lt;/a&gt;. I&amp;#39;m not too familiar with it, but there should be some noise mitigation code here as well. Alternatively, you might be able to use the buffer handler in the Thingy SDK as reference to see how it&amp;#39;s done there and implement something similar in your project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFx PDM driver data buffer handling gives noise samples at every memory block of defined size</title><link>https://devzone.nordicsemi.com/thread/273469?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 11:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad70f639-7055-4dd6-a329-1cbeffb4a692</guid><dc:creator>ShalinDoshi</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;we are using nordic SDK 17 with soft device version s140 for the devkit nRF52840. I saw the code you are pointing out for reference but those APIs will not be used in above SDK and would not be compatible with nRF 52840.&lt;/p&gt;
&lt;p&gt;Is there any other method which might help me to mitigate some noise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFx PDM driver data buffer handling gives noise samples at every memory block of defined size</title><link>https://devzone.nordicsemi.com/thread/273220?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 12:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9120db10-ffb1-42bb-a3ae-e8f2176e7ce1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;May I suggest taking a look at the Thingy:52 SDK (&lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-52/Download"&gt;downloadable here&lt;/a&gt;). The Thingy uses a digital PDM microphone, and a part of this SDK is PDM audio drivers with audio codecs. Specifically, take a look at how the buffer handling is done in the Thingy SDK. The m_audio_buffer_handler() and m_audio_process() functions in drv_mic.c should be helpful.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>