<?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 Library - glitch definition/status?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6550/pwm-library---glitch-definition-status</link><description>What exactly are the &amp;quot;glitch&amp;quot; issues with the PWM master library ? I see there have been some recent updates, but no clear indication as to what issues remain or have been resolved? I take it the 4 channel (non-glitchless?) version still glitches or has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Apr 2015 14:57:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6550/pwm-library---glitch-definition-status" /><item><title>RE: PWM Library - glitch definition/status?</title><link>https://devzone.nordicsemi.com/thread/22870?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 14:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b98536-efb5-40a6-846b-faaf4206b453</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The naming in the latest version is probably a bit misleading, as both drivers should now be glitchless.&lt;/p&gt;
&lt;p&gt;If you need 4 channels without glitches you should use the latest version of nrf_pwm.c.
The drawback of this driver is that it uses the timeslot API for the SoftDevice, which limits the maximum update frequency of the PWM.
If you don&amp;#39;t use a SoftDevice the timeslot API is not needed, but the PWM will require to run at the highest interrupt priority when updating the duty cycle.&lt;/p&gt;
&lt;p&gt;To minimize overhead when using the new nrf_pwm.c driver it is recommended to update several channels in a row using the nrf_pwm_set_values(..) function, rather than updating each channel individually.&lt;/p&gt;
&lt;p&gt;To summarize, nrf_pwm.c should work well now without glitches, so please try that out. If you do experience any issues please let us know :)&lt;/p&gt;
&lt;p&gt;Regards
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>