<?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>nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126331/nrf5340-pdm-frequency-max-and-min</link><description>Hi 
 What is the nRF5340 PDM frequency max and min can be set? 
 Because below is our microphone frequency spec., we want to set PDM frequency into like between 450~850KHz 
 Thank you 
 Poki</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jan 2026 08:33:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126331/nrf5340-pdm-frequency-max-and-min" /><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/559225?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2026 08:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dbcee39-a411-4f6e-ac0a-6da7ab7c4140</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, specified values are the best&amp;nbsp;for getting&amp;nbsp;the documented results.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Syed Maysum&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558975?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 09:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:730653eb-66d5-4998-a3ce-d6411efa0041</guid><dc:creator>ProfRob</dc:creator><description>&lt;p&gt;It is very important, that not only the scan frequency is near to the expected value but also the integrated decimation filter guarantees the sampling criterion (Shannon).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Because there is no technical information about this, I will stick to the guaranteed counter values.&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp; &amp;nbsp;&lt;br /&gt;Robert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558499?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2026 12:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b02fbd-158f-483d-9621-f0ea00d9ae7e</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi Robert,&lt;/p&gt;
&lt;p&gt;You’re right that the PDMCLKCTRL formula is explicitly documented for the nRF53 series. For nRF52840, the Product Specification does not describe such a formula, and the PDM clock is only documented and tested at the predefined clock settings.&lt;/p&gt;
&lt;p&gt;You may experiment with other values, but only the documented PDM clock configurations for nRF52840 are validated. Other frequencies are outside the specified operating conditions and are not guaranteed.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558432?ContentTypeID=1</link><pubDate>Sat, 10 Jan 2026 10:14:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f531ee-79d4-4880-896d-701f9b0abe7a</guid><dc:creator>ProfRob</dc:creator><description>&lt;p&gt;Currently I am programming the PDM of nRF52840 and that seems to be identical to nRF5340.&lt;/p&gt;
&lt;p&gt;But til now I could not find a formula to use PDMCLKCTRL as a divider for HFCLK. For me it looks like a kind of enumerator for a predefined list of dividers.&lt;/p&gt;
&lt;p&gt;If a formula exists, I would like to test it. Although the values are not guaranteed.&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Robert&lt;/p&gt;
&lt;p&gt;My list of possible frequencies is as follows with PDMCLKCTRL,RATIO:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq12500 0x08000000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq12903 0x08400000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq13333 0x08800000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq15385 0x09800000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq15625 0x08000000,0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq16000 0x0A000000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq16129 0x08400000,0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq16667L 0x08800000,0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq16667H 0x0A000000,1&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq19231 0x09800000,0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq20000 0x0A000000,0&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#7f0055;font-weight:bold;"&gt;#define&lt;/span&gt;&lt;span style="color:#000000;"&gt; ScanFreq20833 0x0A800000,0&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Update:&lt;br /&gt;This&amp;nbsp;&lt;span style="color:#000000;"&gt;was new for me, I detected it a few minutes ago:&lt;br /&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html&lt;/a&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;br /&gt;I will try the formula described there with the nRF52840.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But ... hint for calculation:&lt;br /&gt;Using the formula in&amp;nbsp;&lt;span class="fig--title-label"&gt;Figure 2. &lt;/span&gt;PDM clock frequency equation (in Master Clock Generator) in typical calculation environments (e.g. LibreOffice Calc) does not work correct because of their floating point base. I will try (later) with 64-bit integers in C/C++ on my PC. I do not know the resolution of integer calculation in #if-... statements of the compiler. So it may be another trap to use such statements for calculation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558203?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2026 15:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290ac4ed-e99a-4d82-8a74-08c18bf78e2e</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your feedback. I am checking this internally and will let you know if&amp;nbsp;frequencies other than specifically mentioned &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html#ariaid-title24"&gt;here&lt;/a&gt; could be supported.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558116?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2026 09:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f0001f-021e-441c-ba2d-834ccd4c2d3d</guid><dc:creator>klevinsourd</dc:creator><description>&lt;p&gt;Hi @PokiHuang For the nRF5340, the PDM peripheral is quite flexible and your target range (450&amp;ndash;850 kHz) is supported.&lt;/p&gt;
&lt;p&gt;nRF5340 PDM clock frequency range&lt;/p&gt;
&lt;p&gt;According to Nordic&amp;rsquo;s PDM peripheral design:&lt;/p&gt;
&lt;p&gt;Minimum PDM clock: &amp;asymp; 100 kHz&lt;/p&gt;
&lt;p&gt;Maximum PDM clock: &amp;asymp; 3.25 MHz&lt;/p&gt;
&lt;p&gt;So any frequency between 450 kHz and 850 kHz is well within spec.&lt;/p&gt;
&lt;p&gt;How it&amp;rsquo;s configured&lt;/p&gt;
&lt;p&gt;@&lt;span style="color:#000000;"&gt;&lt;a style="color:#000000;" href="https://soundbuttonspro.com/"&gt;soundboard&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The PDM clock is derived from the 32 MHz HFCLK and controlled via:&lt;/p&gt;
&lt;p&gt;PDM_CLKCTRL (clock divider)&lt;/p&gt;
&lt;p&gt;PDM_RATIO (decimation ratio, typically 64 or 80)&lt;/p&gt;
&lt;p&gt;This allows you to select PDM clock frequencies such as:&lt;/p&gt;
&lt;p&gt;500 kHz&lt;/p&gt;
&lt;p&gt;625 kHz&lt;/p&gt;
&lt;p&gt;750 kHz&lt;/p&gt;
&lt;p&gt;1.0 MHz&lt;br /&gt;(and many others depending on divider settings)&lt;/p&gt;
&lt;p&gt;Practical note&lt;/p&gt;
&lt;p&gt;Most PDM microphones are happiest in the 0.5&amp;ndash;1.0 MHz range, so your 450&amp;ndash;850 kHz requirement is safe and common. Just ensure:&lt;/p&gt;
&lt;p&gt;The microphone&amp;rsquo;s PDMCLK duty cycle requirement is met&lt;/p&gt;
&lt;p&gt;The selected RATIO matches your desired audio sample rate&lt;/p&gt;
&lt;p&gt;Conclusion:&lt;br /&gt;Yes, the nRF5340 can be configured to operate with a PDM clock between 450&amp;ndash;850 kHz without any issue.&lt;/p&gt;
&lt;p&gt;If you want, I can help calculate exact register values for a specific PDM frequency and sample rate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/558061?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 15:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9642415-107f-4c7f-aeef-84e918f9417c</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi Poki,&lt;/p&gt;
&lt;p&gt;Thanks for the follow up.&lt;/p&gt;
&lt;p&gt;On nRF5340, the PDM clock is not freely tunable. Although the register is configured using a formula, the PDM clock is only supported and validated at a fixed set of frequencies: 1.000 MHz, 1.032 MHz, 1.067 MHz, 1.231 MHz, 1.280 MHz, and 1.333 MHz. Intermediate PDM clock frequencies (for example 960 kHz or 850 kHz) are outside the supported operating range.&lt;/p&gt;
&lt;p&gt;The audio sample rate is derived from the PDM clock using a fixed ratio (64 or 80), so the sample rate is also not freely tunable. With the supported PDM clocks, the achievable sample rates are approximately 12.5 kHz (1.000 MHz / 80) up to 20.8 kHz (1.333 MHz / 64). The 16 kHz value mentioned in the documentation is the typical and recommended operating point, but it is not the only possible one.&lt;/p&gt;
&lt;p&gt;Regarding the 960 kHz observed on the scope: this does not imply a supported or validated PDM clock configuration. Internally, the PDM peripheral still operates using one of the supported MHz clock values.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/557875?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 06:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b8056d-97c9-40b8-807d-edcc4ba09e62</guid><dc:creator>Poki Huang</dc:creator><description>&lt;p&gt;Hi Asbjorn:&lt;/p&gt;
&lt;p&gt;So you mean we can only setting PDM frequency with below 6 value? (1.000MHZ/1.032MHZ/1.067MHz/1.231MHZ/1.28MHz/1.333MHz)&lt;/p&gt;
&lt;p&gt;nRF5340 only mention PDM sample rate 16KHz, what the min. &amp;amp; max, sample rate we can choose?&lt;/p&gt;
&lt;p&gt;Can we tune this sample rate to other value like 15KHz, with ratio 64 to get 15KHz*64=~960KHz frequency to use?&lt;/p&gt;
&lt;p&gt;Since we can really tune sample rate to 15KHz and get ~960KHz as below pic.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767593553265v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Poki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/557871?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 02:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7715e68-be11-4e44-a059-6f8889ddad33</guid><dc:creator>Poki Huang</dc:creator><description>&lt;p&gt;Hi Asbjorn:&lt;/p&gt;
&lt;p&gt;So you mean we can only setting PDM frequency with below 6 value? (1.000MHZ/1.032MHZ/1.067MHz/1.231MHZ/1.28MHz/1.333MHz)&lt;/p&gt;
&lt;p&gt;nRF5340 only mention PDM sample rate 16KHz, what the min. &amp;amp; max, sample rate we can choose?&lt;/p&gt;
&lt;p&gt;Can we tune this sample rate to other value like 15KHz, with ratio 64 to get 15KHz*64=960KHz frequency to use?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Poki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/557785?ContentTypeID=1</link><pubDate>Thu, 01 Jan 2026 15:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:330895c2-ab3d-4265-8836-dbb0affb7e5d</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Poki,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767279938597v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;These are the valid frequencies you can select from. nRF5340 product specification here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html#ariaid-title24"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html#ariaid-title24&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/557775?ContentTypeID=1</link><pubDate>Wed, 31 Dec 2025 11:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4167fea-8341-495b-b221-ee05c73f2abb</guid><dc:creator>Poki Huang</dc:creator><description>&lt;p&gt;Hi Asbjorn:&lt;/p&gt;
&lt;p&gt;Thanks feedback&lt;/p&gt;
&lt;p&gt;So what is the min PDM frequency?&lt;/p&gt;
&lt;p&gt;Poki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 PDM frequency max and min?</title><link>https://devzone.nordicsemi.com/thread/557774?ContentTypeID=1</link><pubDate>Wed, 31 Dec 2025 11:04:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d74096-5549-4fae-a403-59e159596d85</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Poki,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The nRF5340 supports Pulse Density Modulation (PDM) and can generate the PDM clock. However, based on the information provided in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;nRF5340 Product Specification&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfx/drivers/pdm/hal.html" rel="noopener noreferrer" target="_blank"&gt;nRFx PDM HAL&lt;/a&gt;, the maximum PDM clock frequency supported is 1.333 MHz.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The nRF5340 supports a selectable ratio of 64 or 80 between PDM_CLK and output sample rate as per the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/pdm.html#ariaid-title1" rel="noopener noreferrer" target="_blank"&gt;PDM Product Specification&lt;/a&gt;. However, given the maximum PDM clock frequency of 1.333 MHz, the maximum achievable sampling rate would be approximately 20.8 kHz (1.333 MHz / 64)&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;The amount of RAM and flash required to store 80 kHz data for 1 second would depend on the bit depth of the data. For example, if each sample is 16 bits (2 bytes), you would need approximately 160 KB of memory (80,000 samples/second * 2 bytes/sample) to store 1 second of data&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;This is a copy of the answers supplied in the DevZone ticket here, but still valid in your case:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114214/maximum-pdm-clock-frequency-supported-by-nrf5340"&gt;Maximum PDM clock frequency supported by nRF5340&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Best regards&lt;/div&gt;
&lt;div&gt;Asbjørn&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>