<?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>NRF52840 and low power PDM interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54096/nrf52840-and-low-power-pdm-interface</link><description>Hi, 
 I&amp;#39;m making a new design. I want to use the NRF52840. I also want a low power microphone interface. 
 PDM seems like a good idea, modern PDM mics have low power modes at reduced clock rates with currents much less than 300uA. 
 The NRF52840 has a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2019 07:51:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54096/nrf52840-and-low-power-pdm-interface" /><item><title>RE: NRF52840 and low power PDM interface</title><link>https://devzone.nordicsemi.com/thread/218967?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 07:51:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acc75699-1a3a-4af4-8725-629ad61c8e2b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Karim&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;1) It doesn&amp;#39;t support low power modes with reduced clock frequency.&lt;/p&gt;
&lt;p&gt;I found information related to increasing the clock rate. But I need to reduce the clock rate to ~750kHz for devices like the&amp;nbsp; &lt;span&gt;SPH0641LM4H-1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Only the values listed in the PS have been fully and thoroughly tested. If you are using values that are not listed in the PS, we cannot guarantee that they will work and it will be on your own risk.&lt;/p&gt;
&lt;p&gt;With that said, you should be able to set the clock to a different frequency, e.g. PDM_CLK = 32 MHz / 26 = 1.231 MHz -&amp;gt; use&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;NRF_PDM-&amp;gt;PDMCLKCTRL = 0x09800000;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;before you start the PDM.&lt;/p&gt;
&lt;p&gt;But, you will&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;not be able to fine adjust the clock frequency&lt;/strong&gt;, since the PDM clock generator does integer division based on the HFCLK. You can therefore not set the PDM clock 100% freely.&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;2) It only supports clock generation from the HFCLK&lt;/p&gt;
&lt;p&gt;I think this means the power consumption will be much higher than I need since the HFCLK is power hungry and requires continuous power for the PDM to work. A possible workarround would be to enable an external clock or to be able to use the LFCLK as the clock generator (albeit at a fixed 1MHz)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;As far as I know it is not possible to configure the PDM peripheral to use another clock source than the HFCLK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>