<?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>During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124141/during-mono-audio-capture-over-pdm-we-observed-a-current-draw-of-about-1-5-ma</link><description>Our setup: 
 
 Board: nRF5340 DK 
 SDK: NCS v2.6.2 
 Microphone: MMICT5837-00-012 
 Interface: PDM 
 
 During mono audio capture over PDM, we observed a current draw of about 1.5 mA . My questions are: 
 
 Is there any way to reduce this current consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Sep 2025 12:18:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124141/during-mono-audio-capture-over-pdm-we-observed-a-current-draw-of-about-1-5-ma" /><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/549026?ContentTypeID=1</link><pubDate>Wed, 17 Sep 2025 12:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b115651-bbb0-4fc0-8d9e-dd5e050bf8c3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Can you please upload the application that you are using so that I can try to reproduce the numbers that you are seeing? Will it work without a microphone connected? Or do I need a physical microphone as well?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548551?ContentTypeID=1</link><pubDate>Fri, 12 Sep 2025 05:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f70056e0-075a-4f51-9a28-2706378a6e77</guid><dc:creator>Adityanath Pandey</dc:creator><description>&lt;p&gt;&lt;br /&gt;I&amp;nbsp;have referred to this link :&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/current_consumption/doc/current_consumption.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/current_consumption/doc/current_consumption.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am not using PPK2 kit but using DMM6500 (6 1/2 Digital multi meter ) for measuring current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548541?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 19:57:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50df063e-1073-4761-96b3-cf9aaafad7d1</guid><dc:creator>Edvin</dc:creator><description>[quote user="Adityanath Pandey"]PDM peripheral should consume only about&amp;nbsp;&lt;b&gt;1.25 mA&lt;/b&gt;[/quote]
&lt;p&gt;Can you point me to where it says? I couldn&amp;#39;t find it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, it is possible that this number is for the PDM only, not including the current for the HFXO running, and the CPU running to handle the incoming data.&lt;/p&gt;
&lt;p&gt;How do you measure the current consumption, by they way? Are you using the &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2"&gt;PPK2&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548429?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 05:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dab9ec2-c47b-4cbd-ac34-a691914b0e13</guid><dc:creator>Adityanath Pandey</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;nbsp;However, according to the nRF5340 datasheet, the PDM peripheral should consume only about&amp;nbsp;&lt;b&gt;1.25 mA&lt;/b&gt;.so current with easyDma?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548428?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 05:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48d258be-6deb-4c9e-8c24-abf924b97060</guid><dc:creator>Adityanath Pandey</dc:creator><description>&lt;p&gt;I have created one thread from where&amp;nbsp;&lt;span&gt;mic::readdata() has been called.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548412?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 20:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd80a277-1716-4469-900c-d1aa51ca134c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;And from where are you calling mic::readdata()?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548052?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 11:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f48a25f-7b8b-43ab-9c8f-536c461ee27f</guid><dc:creator>Adityanath Pandey</dc:creator><description>&lt;p&gt;&lt;span&gt;We are not calling &lt;code&gt;dmic_trigger()&lt;/code&gt; from an interrupt.&lt;br /&gt;&lt;br /&gt;We use it in our application code, before and after reading data. The actual microphone data is obtained through the &lt;code&gt;dmic_read()&lt;/code&gt; API.&lt;br /&gt;Our read function looks like this:&lt;br /&gt;&lt;code&gt;int mic::readdata(void *pcm_data, uint16_t *len) {&lt;br /&gt;    int ret;&lt;br /&gt;    void *buffer;&lt;br /&gt;    uint32_t size = 0;&lt;br /&gt;&lt;br /&gt;    ret = dmic_read(dmic, 0, &amp;amp;buffer, &amp;amp;size, READ_TIMEOUT);&lt;br /&gt;    if (ret &amp;lt; 0) {&lt;br /&gt;        LOG_ERR(&amp;quot;read failed: %d&amp;quot;, ret);&lt;br /&gt;        return ret;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    memcpy(pcm_data, buffer, size);&lt;br /&gt;    *len = size;&lt;br /&gt;&lt;br /&gt;    k_mem_slab_free(&amp;amp;mem_slab, buffer);&lt;br /&gt;&lt;br /&gt;    return ret;&lt;br /&gt;}&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/548051?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 11:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a4920f-07a7-4f65-84a0-beb90580e593</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;From where do you call dmic_trigger()? In an interrupt? And what sort of buffer are you using? Single? Double?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/547930?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2025 13:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:753d5ed0-3dfd-4cf8-8233-8a550eb4ac52</guid><dc:creator>Adityanath Pandey</dc:creator><description>&lt;div&gt;We read microphone data by calling &lt;span&gt;&lt;/span&gt;&lt;code&gt;dmic_trigger(dmic, DMIC_TRIGGER_START)&lt;span&gt;&lt;/span&gt;&lt;/code&gt; before starting,&lt;/div&gt;
&lt;div&gt;and &lt;span&gt;&lt;/span&gt;&lt;code&gt;dmic_trigger(dmic, DMIC_TRIGGER_STOP)&lt;span&gt;&lt;/span&gt;&lt;/code&gt; afterward. This process is repeated every 100 ms.&lt;br /&gt;However, when we parse the recorded file, we hear a &amp;ldquo;beep&amp;rdquo; sound.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;My question: &lt;span&gt;&lt;/span&gt;&lt;i&gt;How long does &lt;span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;code&gt;dmic_trigger()&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/i&gt;&lt;i&gt; take to execute, and could this delay be the cause of the beep sound?&lt;span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: During mono audio capture over PDM, we observed a current draw of about 1.5 mA.</title><link>https://devzone.nordicsemi.com/thread/547675?ContentTypeID=1</link><pubDate>Wed, 03 Sep 2025 14:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b5b31b7-97d3-467a-802f-b084d3c205fc</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Expected behaviour.&lt;/p&gt;
&lt;p&gt;You need to keep the HF clocks running in order to be able to capture the audio data. That keeps a fairly sizeable portion of the digital chip area powered on and not being able to sleep at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>