<?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>How to define and use ADC and pwm without DMA  on nrf52832 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37941/how-to-define-and-use-adc-and-pwm-without-dma-on-nrf52832</link><description>When test the current in the WFE state. 
 If not use the DMA, the current is not exceed 0.1mA. And when have used the DMA, the comsumption is very high , the current is about 2.1mA.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Aug 2018 11:34:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37941/how-to-define-and-use-adc-and-pwm-without-dma-on-nrf52832" /><item><title>RE: How to define and use ADC and pwm without DMA  on nrf52832 ?</title><link>https://devzone.nordicsemi.com/thread/146287?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 11:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c8b568-ff9d-4834-9091-497f8bf36cea</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SAADC and PWM peripherals does not have any option to not use DMA. The best way to reduce the power consumption is probably to disable the peripheral when it is not in use (not sampling).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define and use ADC and pwm without DMA  on nrf52832 ?</title><link>https://devzone.nordicsemi.com/thread/146258?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 09:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b9bbbf-3d72-45e2-905b-55e7543b81c4</guid><dc:creator>spring2</dc:creator><description>&lt;p&gt;Sorry,&amp;nbsp;I didn&amp;#39;t express myself clearly. And&amp;nbsp;thanks you for your reply.&lt;/p&gt;
&lt;p&gt;I means that if I havn&amp;#39;t use the any DMA function (include ADC, PWM), only a while(1) and WFE in the main&amp;nbsp;&lt;span&gt;process. The current is&amp;nbsp;very low (not exceed 0.1mA).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I have used the ADC with DMA, after&amp;nbsp;initialized the ADC fuction&amp;nbsp;, and going into WFE state (the ADC is running), the current is 3mA.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But next step, I&amp;nbsp;stopped the ADC and going into WFE state , The current is still 2.1mA. (I hope&amp;nbsp;the current is uA level&amp;nbsp;at this time）&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So I think that If a ADC without DMA&amp;nbsp;can achieve this goal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to define and use ADC and pwm without DMA  on nrf52832 ?</title><link>https://devzone.nordicsemi.com/thread/146236?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 07:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f10d0c5e-6acf-4589-8829-7f1994ecd853</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Your question doesn&amp;#39;t make sense!&lt;/p&gt;
&lt;p&gt;You ask, &amp;quot;How to define and use ADC and pwm without DMA?&amp;quot; and yet you say that you have measured the current without DMA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Surely, if&amp;nbsp;&lt;span&gt;you have measured the current without DMA, then you must already know how to do it without DMA ?!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>