<?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>PDM peripheral&amp;#39;s sampling rate at clock rate of 1.032 MHz</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64401/pdm-peripheral-s-sampling-rate-at-clock-rate-of-1-032-mhz</link><description>I&amp;#39;m using the nRF52840 and the PDM peripheral. The sampling rate at a clock rate of 1.032 MHz is 16kHz per the documentation. I want to make sure I understand the difference between the PDM clock rate and the effective PDM sample rate Am I right in thinking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 May 2023 16:52:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64401/pdm-peripheral-s-sampling-rate-at-clock-rate-of-1-032-mhz" /><item><title>RE: PDM peripheral's sampling rate at clock rate of 1.032 MHz</title><link>https://devzone.nordicsemi.com/thread/426166?ContentTypeID=1</link><pubDate>Thu, 18 May 2023 16:52:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ec473b-2093-46e9-b2cc-c068e04ed757</guid><dc:creator>Allen Jameson</dc:creator><description>&lt;p&gt;Hi Torbj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;Would you or your colleagues please explain in more detail what might limit the PDM sample rate to 16kHz?&amp;nbsp; There are different statements on the forums that contradict this, and at face value we have had good results using 20kHz and even higher.&amp;nbsp; However your statement that only 16kHz is supported has caused some of our team to be concerned that we are using the wrong approach.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you try to use a different clock speed (than 1.032MHz or 1.280MHz, for 64 or 80 oversampling ratio) is there likely to be a problem in the actual acquisition of the PDM data, e.g. the decimation filter will not be able to keep up?&lt;/p&gt;
&lt;p&gt;If you use different clock speed or, say, 1.280 MHz with oversampling ratio of 64 to get a sampling rate of 20 kHz, could there be a performance issue that causes an exception/crash?&lt;/p&gt;
&lt;p&gt;Some PDM microphones have different power / performance regimes wherein e.g. higher or lower frequencies should be used to attain different performance goals, so it is important to understand what the nature of the limitations in the nRF52840 are.&amp;nbsp; In other posts your team has indicated that the PDM functions in the nRF53840 are the same as in the nRF52840 (at least to some degree) and the recommendations for the nRF53 are more permissive.&amp;nbsp; Is it simply that Nordic has only tested thoroughly for some combinations of parameters, but there are not fundamental reasons to limit customers to using those parameters?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;--Allen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM peripheral's sampling rate at clock rate of 1.032 MHz</title><link>https://devzone.nordicsemi.com/thread/263093?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 02:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0e8f522-26db-4d5d-be90-a4596df19fca</guid><dc:creator>matty</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM peripheral's sampling rate at clock rate of 1.032 MHz</title><link>https://devzone.nordicsemi.com/thread/262952?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 10:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5113d6-4a37-4ae9-8c55-92ed6bb45cb8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The PDM sample rate is limited to 16kHz which as you say limits the audio frequency to 8kHz (normally a bit less as you need to filter the sound signal to avoid aliasing).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main use case for the PDM interface is for&amp;nbsp;handling voice input (remotes with support for voice commands for instance),&amp;nbsp;and for this purpose 8kHz audio is sufficient.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need a higher sample rate I would recommend finding a microphone or ADC with I2S output instead, as the I2S interface supports sample rates up to 48kHz.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>