<?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>PWM driver accuracy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33793/pwm-driver-accuracy</link><description>Hello everyone 
 first if all, im not an expert in PWM, but doing my best to understand everything 
 I have successfully created and tested a project using the pwm_driver example. 
 
 in this piece of code, the top value is set to 100. I understand that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 13 May 2018 10:57:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33793/pwm-driver-accuracy" /><item><title>RE: PWM driver accuracy</title><link>https://devzone.nordicsemi.com/thread/131762?ContentTypeID=1</link><pubDate>Sun, 13 May 2018 10:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bc391ee-6cf5-4100-9c27-41dd4f90ea43</guid><dc:creator>Gustavo Corrente</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;So for the 15bits resolution what is the max pwm frequency?&lt;/p&gt;
&lt;p&gt;And for 8bits?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Gustavo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM driver accuracy</title><link>https://devzone.nordicsemi.com/thread/130117?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 12:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5814ec28-2b58-4108-90df-95fd04ba9e4a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;You welcome &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM driver accuracy</title><link>https://devzone.nordicsemi.com/thread/129813?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 14:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:719271a5-3a02-4aa5-8963-fe47c63f1411</guid><dc:creator>MaximeMylle</dc:creator><description>&lt;p&gt;It is indeed to control some leds, thanks for the detailed answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM driver accuracy</title><link>https://devzone.nordicsemi.com/thread/129805?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 14:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c5d727-229c-4915-a960-f3c041e5163e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Maxime&lt;/p&gt;
&lt;p&gt;The PWM&amp;nbsp;duty cycle is configured by a 16-bit register, where 15-bits are used for the value and the last bit is used to set the polarity.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This limits the top value of the PWM module to 32767&amp;nbsp; &amp;nbsp;(or 2^15 - 1)&lt;/p&gt;
&lt;p&gt;Keep in mind that increasing the top value of the PWM will reduce the PWM frequency, which can be a problem depending on what you are planning to use it for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using it to control LED&amp;#39;s you might get away with a PWM frequency as low as 60Hz,&amp;nbsp;but if you are controlling something else (like a motor) you might want to have a significantly higher PWM frequency.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>