<?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>Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48201/laird-ble654-with-segger-embedded-studio-and-nrf-sdk</link><description>Hi! 
 I am using the Segger embedded Studio with PCA10056 successfully. Now I have to evaluate LARD DVK-BL654 (because it has external antenna). I found a guide which says to use eclipse (Junu version, which is old?). 
 So I was wondering if I could use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jun 2019 09:18:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48201/laird-ble654-with-segger-embedded-studio-and-nrf-sdk" /><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/192868?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 09:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e2a540b-b3cd-4419-bc25-c74ebfc0f47d</guid><dc:creator>awneil</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/48201/laird-ble654-with-segger-embedded-studio-and-nrf-sdk/191358"]It looks like the BSP example accesses the clock register directly instead of using the clock driver,&amp;nbsp;so the clock configuration from sdk_config.h will not be applied[/quote]
&lt;p&gt;So that&amp;#39;s another thing which needs to go into your blog post / app note / whatever on how to properly configure for &amp;amp; use the internal RC:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46564/error-133-0x85-gatt-error-on-nrf52840/185362#185362"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46564/error-133-0x85-gatt-error-on-nrf52840/185362#185362&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/192859?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 08:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c566112c-f030-4f64-be93-acb66910f4cf</guid><dc:creator>Andreas48752</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. I wasn&amp;#39;t able to check this because we ended Laird evaluation for other reasons. I will mark as suggested answer...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191358?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 12:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e71d53d-ce54-4213-a40b-80d9046d3111</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like the BSP example accesses the clock register directly instead of using the clock driver,&amp;nbsp;so the clock configuration from sdk_config.h will not be applied.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Remove this line from the clock_initalization routine in order to use the internal RC:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_CLOCK-&amp;gt;LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191288?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 09:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9df9a24-db8e-404b-aaef-be1eab8b49fa</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Did you see the Rigado blog post - linked from the mentioned thread?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46564/error-133-0x85-gatt-error-on-nrf52840/185362#185362"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46564/error-133-0x85-gatt-error-on-nrf52840/185362#185362&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That seems to be the most complete description of all the things that need to be changed to work with the internal RC.&lt;/p&gt;
&lt;p&gt;For editing the sdk_config.h file, see:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45362/cmsis-configuration-wizard---option-highlighting/178343#178343"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45362/cmsis-configuration-wizard---option-highlighting/178343#178343&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191252?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 07:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6401f3e2-da32-4ba3-bca2-7df9a81a979f</guid><dc:creator>Andreas48752</dc:creator><description>&lt;p&gt;As I am using SDK 15.2 I changed the code in &amp;quot;nRF5_SDK\components\softdevice\common\nrf_sdh.c&amp;quot; back to original and tried to set parameters with the projects sdk_config.h&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt; if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2 // updated 2019-04-18 to reflect Nordic&amp;#39;s recommendations
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_ACCURACY_20_PPM 
// &amp;lt;8=&amp;gt; NRF_CLOCK_LF_ACCURACY_10_PPM 
// &amp;lt;9=&amp;gt; NRF_CLOCK_LF_ACCURACY_5_PPM 
// &amp;lt;10=&amp;gt; NRF_CLOCK_LF_ACCURACY_2_PPM 
// &amp;lt;11=&amp;gt; NRF_CLOCK_LF_ACCURACY_1_PPM

#ifndef NRF_SDH_CLOCK_LF_ACCURACY
#define NRF_SDH_CLOCK_LF_ACCURACY 1 // updated 2019-04-18 to match Nordic&amp;#39;s latest nRF52 specifications
#endif

// &amp;lt;e&amp;gt; NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
//==========================================================
#ifndef NRFX_CLOCK_ENABLED
#define NRFX_CLOCK_ENABLED 1
#endif
// &amp;lt;o&amp;gt; NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
 
// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing

#ifndef NRFX_CLOCK_CONFIG_LF_SRC
#define NRFX_CLOCK_CONFIG_LF_SRC 0
#endif

// &amp;lt;h&amp;gt; nRF_Drivers 
// &amp;lt;e&amp;gt; NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
//==========================================================
#ifndef NRF_CLOCK_ENABLED
#define NRF_CLOCK_ENABLED 1
#endif
// &amp;lt;o&amp;gt; CLOCK_CONFIG_LF_SRC - LF Clock Source
 
// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing

#ifndef CLOCK_CONFIG_LF_SRC
#define CLOCK_CONFIG_LF_SRC 0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But still&amp;nbsp;&lt;span&gt;NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED is not set, so&amp;nbsp;clock_initialization() does not complete. I think I set everything like it should? Maybe you or someone else already used BLE654 and has some comments on what to change?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for all the support...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191135?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad0e04a-5936-4dcc-ab58-5789b98bdbf6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Sounds like you haven&amp;#39;t (quite) got the LF clock setup right.&lt;/p&gt;
&lt;p&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46564/error-133-0x85-gatt-error-on-nrf52840/185362#185362"&gt;devzone.nordicsemi.com/.../185362&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to properly post source code:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4807._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191132?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcf0c89c-0baa-4b6f-a65b-6913b4373d97</guid><dc:creator>Andreas48752</dc:creator><description>&lt;p&gt;That is, what it normally does. But not with the LAIRD Board. My screenshot above is after I hit &amp;quot;Debug-&amp;gt;Go&amp;quot;. But no stop at the start of main() happens.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I tried the blinky example. This works with the &amp;quot;blank&amp;quot; folder but not mit &amp;quot;mbr&amp;quot;. BSP example goes to start of main but hangs at &lt;span&gt;clock_initialization&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;void clock_initialization()&lt;br /&gt;{&lt;br /&gt; NRF_CLOCK-&amp;gt;LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);&lt;br /&gt; NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;&lt;br /&gt; NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART = 1;&lt;/p&gt;
&lt;p&gt;while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0)&lt;br /&gt; {&lt;br /&gt; // Do nothing.&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191126?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5d6592-3b8f-401e-ab19-547fe1134e78</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;When you do Debug &amp;gt; Go, it will download the code and then stop at the start of main():&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1559740419961v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191124?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 13:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71883223-7cb2-48ec-bc94-bf26716dcbd8</guid><dc:creator>Andreas48752</dc:creator><description>&lt;p&gt;Thank you for the reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I mean that I can run the sample projects on the nordic nrf52840-dk but not on the DVK-BL654. I can select &amp;quot;Debug-&amp;gt;Go&amp;quot; but after Downloading the app nothing happens on the LAIRD board:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1559739980681v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Laird BLE654 with Segger embedded Studio and NRF SDK</title><link>https://devzone.nordicsemi.com/thread/191105?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 12:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7924e701-0b98-4535-8461-31dcf8458c6a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It&amp;#39;s still an nRF52840 - so of course you can use SES!&lt;/p&gt;
&lt;p&gt;Or any other IDE.&lt;/p&gt;
[quote userid="77053" url="~/f/nordic-q-a/48201/laird-ble654-with-segger-embedded-studio-and-nrf-sdk"]I can select debug (connection to device via j-link is done) but after that nothing happens...[/quote]
&lt;p&gt;What do you mean by, &amp;quot;select debug&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Have you looked at the tutorials on how to use SES to download, run &amp;amp; debug code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>