<?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>Help understanding how to test the BLE UART Example using nRF52832 and test the data using nrf connect app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90742/help-understanding-how-to-test-the-ble-uart-example-using-nrf52832-and-test-the-data-using-nrf-connect-app</link><description>Hi, 
 I am working om a project in which i need to send few data through NRF52832 serial port and via BLE I need to update the same to NRF connect app 
 I have tested the same with NRF52840 DK it worked fine but when i am trying to do the same with NRF52832</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 12:34:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90742/help-understanding-how-to-test-the-ble-uart-example-using-nrf52832-and-test-the-data-using-nrf-connect-app" /><item><title>RE: Help understanding how to test the BLE UART Example using nRF52832 and test the data using nrf connect app</title><link>https://devzone.nordicsemi.com/thread/380378?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 12:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78b9404f-a83b-4552-b9c6-93da8cb540bb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please look at the sdk_config.h snippet from &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67478/nrf52840-examples-with-lfrc-and-calibration/276416"&gt;the post&lt;/a&gt;&amp;nbsp;I linked to in my previous post. This shows exactly what you need to configure in your sdk_config.h. No other changes should be needed. Including here for simpler reference:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &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
#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
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;To break it down, set&amp;nbsp;NRF_SDH_CLOCK_LF_SRC to 0 to specify that LFRC should be used. The other configurations are for configuring calibration and the accuracy. Set these as well as you see in the snippet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help understanding how to test the BLE UART Example using nRF52832 and test the data using nrf connect app</title><link>https://devzone.nordicsemi.com/thread/380377?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 12:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:affcb98e-c5a9-4d9e-8129-6827e9522f63</guid><dc:creator>RakeshHegden</dc:creator><description>&lt;p&gt;Hi I have checked the sdk_config.h file as well as nrf_sdh.c file&amp;nbsp;&lt;/p&gt;
&lt;p&gt;how to change the clock source to internal from the below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrf_clock_lf_cfg_t const clock_lf_cfg =&lt;br /&gt; {&lt;br /&gt; .source = NRF_SDH_CLOCK_LF_SRC,&lt;br /&gt; .rc_ctiv = NRF_SDH_CLOCK_LF_RC_CTIV,&lt;br /&gt; .rc_temp_ctiv = NRF_SDH_CLOCK_LF_RC_TEMP_CTIV,&lt;br /&gt; #ifdef S140&lt;br /&gt; .xtal_accuracy = NRF_SDH_CLOCK_LF_XTAL_ACCURACY&lt;br /&gt; #else&lt;br /&gt; .accuracy = NRF_SDH_CLOCK_LF_XTAL_ACCURACY&lt;br /&gt; #endif&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;#ifdef ANT_LICENSE_KEY&lt;br /&gt; ret_code = sd_softdevice_enable(&amp;amp;clock_lf_cfg, app_error_fault_handler, ANT_LICENSE_KEY);&lt;br /&gt; #else&lt;br /&gt; ret_code = sd_softdevice_enable(&amp;amp;clock_lf_cfg, app_error_fault_handler);&lt;br /&gt; #endif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help understanding how to test the BLE UART Example using nRF52832 and test the data using nrf connect app</title><link>https://devzone.nordicsemi.com/thread/380356?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 11:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8b3688f-0b47-4255-b18c-342c1a57d49b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sd_softdevice_enable() will start the 32.768&amp;nbsp; kHz LF clock, and will block until the clock is started. The default configuration of the SDK examples is to use an external 32.768 kHz crystal, and if it does not exist,&amp;nbsp;sd_softdevice_enable() will never return. So you need to modify your configuration to use the internal LFRC oscillator instead by adjusting sdk_config.h as explained in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67478/nrf52840-examples-with-lfrc-and-calibration/276416"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>