<?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>VisualGDB Beacon sample nRF51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18848/visualgdb-beacon-sample-nrf51422</link><description>Hi,
I wonder where and how to define NRF_CLOCK_LFCLKSRC using the VisualGDB Beacon sample using VisualStudio with VisualGDB. 
 The sample includes 
 #include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;ble_advdata.h&amp;quot;
#include &amp;quot;nordic_common.h&amp;quot;
#include</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 08 Jan 2017 05:12:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18848/visualgdb-beacon-sample-nrf51422" /><item><title>RE: VisualGDB Beacon sample nRF51422</title><link>https://devzone.nordicsemi.com/thread/72805?ContentTypeID=1</link><pubDate>Sun, 08 Jan 2017 05:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b53eff-ee14-466e-889f-5debde59fd4c</guid><dc:creator>Mikkael</dc:creator><description>&lt;p&gt;I just had to add this code in my main.c to make it work:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_CLOCK_LFCLKSRC{
	.source        = NRF_CLOCK_LF_SRC_RC,              \
    .rc_ctiv       = 16,                               \
    .rc_temp_ctiv  = 2,                                \
    .xtal_accuracy = NRF_CLOCK_LFCLKSRC_XTAL_50_PPM}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>