<?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>Timing inaccuracy in low power PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16276/timing-inaccuracy-in-low-power-pwm</link><description>I was trying out the low power PWM example and noticed the timing inaccuracy that was mentioned in documentation . 
 For example, with low_power_pwm_0, 
 
 period = 220 ticks 
 duty cycle = 20 ticks 
 
 Given a clock frequency of 32,768 Hz (period</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Sep 2016 13:15:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16276/timing-inaccuracy-in-low-power-pwm" /><item><title>RE: Timing inaccuracy in low power PWM</title><link>https://devzone.nordicsemi.com/thread/62222?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 13:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af535504-0f76-4969-8470-33c964e3f0d9</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You need to power reset the device after you flash the nRF51. Pressing nRESET button wont make the device exit debug mode, and you will still have high current consumption&lt;/p&gt;
&lt;p&gt;The low power PWM uses RTC in the background which runs on 32kHz clock source. Perhaps the result you are seeing is because of inaccurate 32kHz clock source. There are two possible 32kHz clock sources, RC or crystal. Crystal is normally accurate, but RC is only accurate if you calibrate it (250ppm). See info on &lt;a href="https://devzone.nordicsemi.com/question/81847/how-much-current-consumption-when-we-use-internal-32k-rc/"&gt;this thread&lt;/a&gt; and in the &lt;a href="https://devzone.nordicsemi.com/tutorials/11/"&gt;nRF51 current consumption guide&lt;/a&gt;, section about &amp;quot;Choice of 32 kHz clock source&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>