<?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>About NRF52832 PWM output accuracy and pin problem?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26415/about-nrf52832-pwm-output-accuracy-and-pin-problem</link><description>How do you do
1.Now want to set the PWM output frequency is 60 hz, but with an oscilloscope test is 60.24 hz, here more than 0.24 hz.How can I do the precision of the precision of 0.01 hz or 0.05 hz?
Procedures and oscilloscope is as follows:
top_value</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2017 14:31:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26415/about-nrf52832-pwm-output-accuracy-and-pin-problem" /><item><title>RE: About NRF52832 PWM output accuracy and pin problem?</title><link>https://devzone.nordicsemi.com/thread/103964?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 14:31:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7702366-bbff-4bba-9137-59812e198bd9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;That is correct. You need to start the HFCLK crystal oscillator with the &lt;code&gt;TASKS_HFCLKSTART&lt;/code&gt; to get more accuracy in the PWM signal.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Some GPIO pins on the nRF52-DK are used for other things, e.g. LF-Crystal, buttons, leds. Pin 9 and 10 are used for NFC by default. See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52_dev_kit/hw_conn_interf.html?cp=2_1_4_5_3"&gt;this page&lt;/a&gt; for a drawing.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About NRF52832 PWM output accuracy and pin problem?</title><link>https://devzone.nordicsemi.com/thread/103963?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2017 10:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e190bfa-d2f3-48d0-9dd6-6cf4e38dbc83</guid><dc:creator>creator</dc:creator><description>&lt;p&gt;NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
while(!NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED){}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>