<?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 PWM doesn&amp;#39;t start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28651/nrf52832-pwm-doesn-t-start</link><description>Dear friends, 
 I am trying to run the PWM in my project. I have: 
 
 
 added the PWM driver successfully (4.0.0-2.alpha, nrf_drv_pwm.c, nrf_drv_pwm.h) ; 
 
 
 set #define PWM0_ENABLED 1 into nrf_drv_config.h 
 
 
 enabled PWM into sdk_config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Dec 2017 07:09:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28651/nrf52832-pwm-doesn-t-start" /><item><title>RE: nRF52832 PWM doesn't start</title><link>https://devzone.nordicsemi.com/thread/113580?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 07:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abcc0f29-7563-4b30-895f-33ca7ef93fcc</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 PWM doesn't start</title><link>https://devzone.nordicsemi.com/thread/113579?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 01:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29d3568b-9259-4368-8a86-8b2cde859046</guid><dc:creator>kont40</dc:creator><description>&lt;p&gt;Indeed, after adding the statement the PWM worked normally! Big thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 PWM doesn't start</title><link>https://devzone.nordicsemi.com/thread/113578?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 13:25:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a16206c3-47fe-48d4-aad8-36ea3d8ffbb8</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello kont40&lt;/p&gt;
&lt;p&gt;If you take a look at the pwm example in the SDK_Folder\examples\peripheral\pwm_driver, you will find that the code you have written only initializes the PWM (prepares it for execution), but to actually execute it you must call either nrf_drv_pwm_simple_playback() or nrf_drv_pwm_complex_playback().&lt;/p&gt;
&lt;p&gt;Before calling either of the two functions you must define your sequence as a series of duty cycles to be executed, as well as choose their settings, length, repeats and end_delay.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>