<?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>Accuracy of Hardware Timer from 32MHz Xtal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113858/accuracy-of-hardware-timer-from-32mhz-xtal</link><description>Hi, 
 I am developing an application which needs a precise reference clock of 20ms. I have a 32MHz Xtal on the PCB with a tolerance of +-10ppm. To configure the device to use the XTAL i have created a kconfig as follows: 
 
 I then added a line in prj</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 11:31:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113858/accuracy-of-hardware-timer-from-32mhz-xtal" /><item><title>RE: Accuracy of Hardware Timer from 32MHz Xtal</title><link>https://devzone.nordicsemi.com/thread/498012?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 11:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7a41b0-e0a7-4e54-bd8c-6c6b7a611839</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_APP_ENABLE_HFXO is a configuration defined and used in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/boards/nrf/clock_skew/README.html"&gt;nRF5x Clock Skew Demo&lt;/a&gt;, but not in the SDK in general.&lt;/p&gt;
&lt;p&gt;In order to request the HFXO you can use&amp;nbsp;z_nrf_clock_control_get_onoff as shows in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/111401/hw-pwm-disturbance/485481"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>