<?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>nrf9160 pwm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65726/nrf9160-pwm</link><description>Dear Sir. 
 
 Some problem with the PWM . 
 Pwm output on pin 12 is connected to a buzzer. 
 
 
 When pwm_pin_set_usec(pwm_dev,PWM_IO, 260, 130,0) is set through the pwm_init routine , I hear the buzzer after 30 to 40 seconds. 
 If I set the pwm_pin_set_usec</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 13:53:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65726/nrf9160-pwm" /><item><title>RE: nrf9160 pwm</title><link>https://devzone.nordicsemi.com/thread/269016?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 13:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf0d0f7-1837-4830-97a8-564962281fe2</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Ephraim,&lt;br /&gt;Please use &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-3-0#h166sjwm56wzcmgvd418wzzus1esk5n3" rel="noopener noreferrer" target="_blank"&gt;the tutorial as reference&lt;/a&gt;, there PWM is used.&lt;br /&gt;&lt;br /&gt;You also look at how the api is used in the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/tests/drivers/pwm/pwm_api/src/test_pwm.c" rel="noopener noreferrer" target="_blank"&gt;test_pwm.c file in zephyr&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>