<?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>nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28090/nrf52-ble-pwm-huge-power-consumption</link><description>Hi guys,
we are developing firmware for nrf52832 SoC based on the mbed platform.
The firmware uses BLE and few peripherals (timers and pwms). Since our goal is to build ultra low power consumption device, our focus is to turn off all peripherals we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Sep 2017 18:19:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28090/nrf52-ble-pwm-huge-power-consumption" /><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110737?ContentTypeID=1</link><pubDate>Thu, 07 Sep 2017 18:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4a19fcd-f0a9-4a77-a712-7b87a78cbd47</guid><dc:creator>flip-flop</dc:creator><description>&lt;p&gt;Hung Bui,&lt;/p&gt;
&lt;p&gt;Thank you for your support.
I just want to inform you that I solved the problem. I simply wrote my own pwm driver and now power consumption is 1.8uA. It seems that mbed&amp;#39;s pwm and softdevice are in some kind of conflict.&lt;/p&gt;
&lt;p&gt;Regards,
flip-flop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110735?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 22:40:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:230c6f8d-3b1a-4e55-80db-4c312baa401e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Flip-flop,&lt;/p&gt;
&lt;p&gt;I got the source of the library here:
&lt;a href="https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_NRF52_COMMON/pwmout_api.c"&gt;github.com/.../pwmout_api.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But unfortunately I still couldn&amp;#39;t explain why the current consumption is high. I would suggest you to post the question on mbed forum .&lt;/p&gt;
&lt;p&gt;Also, if you want to get to the lowest level, I would suggest to try our SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110736?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 07:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e89bdfa-3d10-42f6-a529-93516b036e47</guid><dc:creator>flip-flop</dc:creator><description>&lt;p&gt;Thank you so much for support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110734?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 15:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:801dd1a2-16ea-49e6-adfd-47356cd64225</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;No that doesn&amp;#39;t mean that the softdevice use PWM0, same as TIMER3, TIMER4 and PDM. It&amp;#39;s a mistake in the documentation, we should include all peripherals.&lt;/p&gt;
&lt;p&gt;I just checked here and see the same issue. I would need to have a look into PwmOut library, but doesn&amp;#39;t seem very straight forward to find the source. I will get back to you when I find something.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110732?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 10:19:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9160503f-a043-42bf-8f46-a2e77c619fcb</guid><dc:creator>flip-flop</dc:creator><description>&lt;p&gt;In the example, I tried all 4 combinations.
Here you can find on page 23 that only PWM1 and PWM2 are &amp;quot;open to use&amp;quot; with SD.
&lt;a href="http://infocenter.nordicsemi.com/pdf/S132_SDS_v5.0.pdf"&gt;infocenter.nordicsemi.com/.../S132_SDS_v5.0.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 ble + pwm huge power consumption</title><link>https://devzone.nordicsemi.com/thread/110733?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 09:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7013adb-1148-4e10-9c1f-24a761af7644</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;This is pretty strange. With the code in the example, is it PWM OFF + BLE ON ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think the softdevice use PWM0, could you point me to the doc you found that information?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>