<?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>nrf52832 SDK13 PWM cant change duty cycle at first period</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28284/nrf52832-sdk13-pwm-cant-change-duty-cycle-at-first-period</link><description>hello ,everyone 
 I was confused by a PWM problem for a long time , on nrf52832 SDK13 ,i wanna change the PWM duty cycle every period ,but now i find can not change it at first period but is correct operate at subsequent period 
 the waveform shows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 17 Dec 2017 18:23:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28284/nrf52832-sdk13-pwm-cant-change-duty-cycle-at-first-period" /><item><title>RE: nrf52832 SDK13 PWM cant change duty cycle at first period</title><link>https://devzone.nordicsemi.com/thread/111712?ContentTypeID=1</link><pubDate>Sun, 17 Dec 2017 18:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c12bb0e7-914f-4c71-953d-b34c99a77796</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could you post some more code on how this is configured and initialized? I.e. how does the&lt;code&gt;nrf_drv_pwm_config_t&lt;/code&gt; looks like ? how does the call to &lt;code&gt;nrf_drv_pwm_simple_playback()&lt;/code&gt; look like ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 SDK13 PWM cant change duty cycle at first period</title><link>https://devzone.nordicsemi.com/thread/111713?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 02:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e143c8-c3b5-4c29-97fc-f4989e87f4c2</guid><dc:creator>jacksong</dc:creator><description>&lt;p&gt;hi, i want to generate a Periodically changing PWM waveform : the duty cycle has 2 value : 40% and 0%,channel0 is the opposite of channel1,channel2 is same of channel 1; duty cycle will switch value at every period finish.
from the picture,you can see period 3,period 4...is change correctly ,but period 2 wrong
looks like PWM can not change duty cycle(change RAM in pwm_handler) at first period finish，but  the rest of period is change as expected&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 SDK13 PWM cant change duty cycle at first period</title><link>https://devzone.nordicsemi.com/thread/111711?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 15:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:147bb5dc-4ffe-412b-9729-a81c16706568</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you explain this some more ?&lt;/p&gt;
&lt;p&gt;You have 3 PWM channels. Is the pwm signal correct on any of these channels ?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;i wanna change the PWM duty cycle
every period&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What do you mean by this? You want to continuously change the duty cycle[%] to a different value after each period ? and for all channels ? Should this change be the same for all the channels ?&lt;/p&gt;
&lt;p&gt;How should the PWM signal look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>