<?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>Softdevice doesn&amp;#39;t turn on HFCLK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60593/softdevice-doesn-t-turn-on-hfclk</link><description>Hi, 
 
 We build a new board based on nRF52833 wlcsp, 
 I tried to run a simple code with BLE peripheral (ble_app_uart example), and I noticed that the HFCLK is not working (Tested with scope) 
 Using s140_nrf52_7.0.1 softdevice 
 When I&amp;#39;m running the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 26 Apr 2020 08:19:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60593/softdevice-doesn-t-turn-on-hfclk" /><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246645?ContentTypeID=1</link><pubDate>Sun, 26 Apr 2020 08:19:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caed25e7-c6e6-4e9e-b6fc-563a4f28ccdd</guid><dc:creator>shai.c</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246313?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 15:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d59c7b6-0590-4770-8c71-ee1755132cf9</guid><dc:creator>Sigurd</dc:creator><description>[quote user="shai.c"]With the previous setting in sdk_config.h it tried to use external clock?[/quote]
&lt;p&gt;&amp;nbsp;That is correct. You can read more about SoftDevice clock source at &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fsd_mgr%2Fsd_mgr_clock_src.html"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246310?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 14:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072e6ceb-56cd-40b7-8e5f-947e308c5fe9</guid><dc:creator>shai.c</dc:creator><description>&lt;p&gt;Thanks for your answer,&lt;/p&gt;
&lt;p&gt;Can you explain about the&amp;nbsp;&lt;span&gt;LFRC changes?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With the previous setting in sdk_config.h it tried to use external clock?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246299?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 14:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd840ff-7f68-4ae2-a819-4e546d803ab4</guid><dc:creator>Sigurd</dc:creator><description>[quote user="shai.c"]it works with the&amp;nbsp;&lt;span&gt;internal LFRC&amp;nbsp;oscillator&amp;nbsp;&lt;/span&gt;and the device is advertising.[/quote]
&lt;p&gt;Good!&lt;/p&gt;
[quote user="shai.c"]what can be the problem with the hfclk?[/quote]
&lt;p&gt;Is there a problem with the HFCLK ? If the device is advertising, and you are able to connect to the device, then everything should be working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246291?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca40e705-5214-48f2-8901-38569ea2643a</guid><dc:creator>shai.c</dc:creator><description>&lt;p&gt;it works with the&amp;nbsp;&lt;span&gt;internal LFRC&amp;nbsp;oscillator&amp;nbsp;&lt;/span&gt;and the device is advertising.&lt;/p&gt;
&lt;p&gt;what can be the problem with the hfclk?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246286?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d7cea4d-e069-4140-897f-c613648e85f7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Try using the internal LFRC&amp;nbsp;oscillator instead.&amp;nbsp;In sdk_config.h set NRF_SDH_CLOCK_LF_SRC to 0, NRF_SDH_CLOCK_LF_RC_CTIV to 16, NRF_SDH_CLOCK_LF_RC_TEMP_CTIV to 2, and NRF_SDH_CLOCK_LF_ACCURACY to 1&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246282?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88632f7b-636a-4803-bf86-18cc7e875055</guid><dc:creator>shai.c</dc:creator><description>&lt;p&gt;No&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246281?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19304503-b268-4191-a2b7-b3f2da1f35e7</guid><dc:creator>Sigurd</dc:creator><description>[quote user="shai.c"]No, the device isn&amp;#39;t advertising[/quote]
&lt;p&gt;&amp;nbsp;Do you have a LF Crystal on your custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246279?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0149f2ec-50b4-4165-97f3-5dbb4a17286c</guid><dc:creator>shai.c</dc:creator><description>&lt;p&gt;No, the device isn&amp;#39;t advertising&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice doesn't turn on HFCLK</title><link>https://devzone.nordicsemi.com/thread/246278?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2020 13:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf2c123b-ecd8-438a-9803-7f892f1494f5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SoftDevice will only request the HFCLK when it needs to. I.e. when it uses the RADIO. Only requesting the HFCLK when needed&amp;nbsp;lowers the&amp;nbsp;power consumption.&lt;/p&gt;
&lt;p&gt;If you want the SoftDevice to keep the HFCLK running, use the function &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.0.1%2Fgroup___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga3e5afb495a1b0307c749cc268df94a74"&gt;sd_clock_hfclk_request&lt;/a&gt;&lt;span&gt;()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]ble_app_uart example[/quote]
&lt;p&gt;&amp;nbsp;Do you see the device advertising, if you use &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile/GetStarted"&gt;nRF Connect for mobile&lt;/a&gt; to scan for the device ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>