<?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>lf clock configuration with softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29491/lf-clock-configuration-with-softdevice</link><description>Hello, 
 In sdk 14.2 configuration of LF clock with softdevice are in 2 header files (pca100xx.h and
sdk_config.h) 
 pca10040.h 
 // Low frequency clock source to be used by the SoftDevice
#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jan 2018 12:56:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29491/lf-clock-configuration-with-softdevice" /><item><title>RE: lf clock configuration with softdevice</title><link>https://devzone.nordicsemi.com/thread/117225?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 12:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac45cd1-e0e3-4354-be30-94c21957078d</guid><dc:creator>Ole Saether</dc:creator><description>&lt;p&gt;The NRF_SDH_xx #defines in sdk_config.h are used by the Softdevice Handler (nrf_sdh.c). You can tell the softdevice handler which clock source to use with NRF_SDH_CLOCK_LF_SRC, calibration interval with NRF_SDH_CLOCK_LF_RC_CTIV and so on. If you are not using the softdevice handler you can use the macro in pca10040.h to set all values of the nrf_clock_lf_cfg_t to a default value:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can still change the individual fields, eg:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;clock_lf_cfg.source = NRF_CLOCK_LF_SRC_XTAL;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;clock_lf_cfg.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>