<?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>High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71502/high-current-when-using-ble-nus</link><description>Hi, 
 I am starting to finalize a development stage and was looking at the current consumption of my device. I noticed, that when something connects to it and is starting to use the NUS service, current consumption skyrockets to 7mA and stays there, even</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2021 10:36:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71502/high-current-when-using-ble-nus" /><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/295532?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 10:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ecc2bea-3a64-40c1-a2e6-f5c7be3f24c0</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;Thank you very much, it solved the problem. I would have not suspected sprintf at all &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f62e.svg" title="Open mouth"&gt;&amp;#x1f62e;&lt;/span&gt;. I think I should have read the errata in the first place.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Roland&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/295491?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2021 08:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6809bec-2e59-44e3-b557-bbe0f8ed2130</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Roland,&lt;/p&gt;
&lt;p&gt;This issue is not related to NUS. You can see that by modifying your&amp;nbsp;&lt;code&gt;sensor_list_timeout_evt_handler()&lt;/code&gt; function to just send dummy data - in that case there is no increase in current consumption.&lt;/p&gt;
&lt;p&gt;The actual problem here is triggered by the sprintf call, which uses the FPU (for doing correct rounding of the float value). However, you have not enabled the workaround for &lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev2/ERR/nRF52840/Rev2/latest/anomaly_840_87.html"&gt;erratum 87&lt;/a&gt;. The fix is to enable the workaround by setting&amp;nbsp;&lt;code&gt;NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED&lt;/code&gt; in &lt;code&gt;sdk_config.h&lt;/code&gt; to &lt;code&gt;1&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/295393?ContentTypeID=1</link><pubDate>Fri, 19 Feb 2021 15:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9a17af-e157-4ccb-a7db-b80f5c541d73</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Here is the project files. It resides in &amp;quot;nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\multiprotocol\ble_thread\&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/294659?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 14:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a2f7cd6-3de6-4938-a2e9-eab1122e1663</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you share the code you use to reproduce this on a DK so that I can test on my side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/294476?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 18:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178f2d88-44ed-4070-803b-e6fac8774437</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I was able get back to my original problem. I replicated the issue on an nRF52840-DK. Same phenomenon: CPU usage goes up and stays there for the next reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/294161?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 13:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f6afcfa-9327-4eb1-a9d1-8c7ac4c5fc07</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is up to you &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/294143?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 11:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:455da39c-b55a-4362-abec-30ce2c9dcf8b</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Some other problems arised during development, for a couple of days I won&amp;#39;t be able to investigate the original issue on the DK.&lt;/p&gt;
&lt;p&gt;Should I close this post and reopen sometime later, or leave it as it is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293801?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 14:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03ced3ea-0441-44bf-9ffc-6eac223fd0ad</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I do not have an explanation for what you are seeing. A shot in the dark could be a potential buffer overflow or stack overflow that could cause the loop in the code snippet to keep iterating for a long time. But you should see other side effects then as well.&lt;/p&gt;
&lt;p&gt;Are you able to reproduce this on a DK? If so, can you share the code with me so that I can test on my side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293750?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 12:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2313b5a3-777d-4d89-94ae-4136c5f7588c</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;I edited made some modifications:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_BLE_GAP_DATA_LENGTH 251&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * @brief 
 * 
 * @param p_context 
 */
void sensor_list_timeout_evt_handler(void *p_context)
{
	ret_code_t err_code;
	uint16_t length = 0;
	char str[512];
	size_t ptr = 0;

	if (m_conn_handle == BLE_CONN_HANDLE_INVALID || m_nus_connected == false) {
		return;
	}

	str[0] = &amp;#39;#&amp;#39;;
	ptr = 1;
	for (int i = 0; i &amp;lt; ARRAY_SIZE(m_sim_datapoints); i++) {
		if (i &amp;gt; 0) {
			str[ptr] = &amp;#39;;&amp;#39;;
			ptr++;
		}

		ptr += sprintf(&amp;amp;str[ptr], &amp;quot;%s,%d,%2.2f&amp;quot;,
			m_sim_datapoints[i].name,
			m_sim_datapoints[i].enabled == true ? 1 : 0,
			m_sim_datapoints[i].values[m_sim_datapoints[i].index]);
	}

	length = ptr;
	str[ptr] = &amp;#39;\0&amp;#39;;
	NRF_LOG_INFO(&amp;quot;strlen: %d&amp;quot;, length);

	err_code = ble_nus_data_send(&amp;amp;m_nus, str, &amp;amp;length, m_conn_handle);
	if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_NOT_FOUND))
	{
		APP_ERROR_CHECK(err_code);
	}

	/*
	length = 5;
	err_code = ble_nus_data_send(&amp;amp;m_nus, &amp;quot;Hello&amp;quot;, &amp;amp;length, m_conn_handle);
	if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_NOT_FOUND))
	{
		//APP_ERROR_CHECK(err_code);
	}
	*/
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I print out the string length.&lt;/p&gt;
&lt;p&gt;Here is the RTT log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 158 bytes on connection 0x0.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.
&amp;lt;error&amp;gt; nrf_ble_gatt: sd_ble_gap_data_length_update() (request) on connection 0x0 returned NRF_ERROR_RESOURCES.
&amp;lt;error&amp;gt; nrf_ble_gatt: The requested TX/RX packet length is too long by 89/89 octets.
&amp;lt;debug&amp;gt; nrf_ble_gatt: ATT MTU updated to 158 bytes on connection 0x0 (response).
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;debug&amp;gt; nrf_ble_gatt: Peer on connection 0x0 requested a data length of 123 bytes.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 123 on connection 0x0.
&amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 123 on connection 0x0.
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 123
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 123
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 1096
&amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 1096
&amp;lt;info&amp;gt; app: BLE NUS connected
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 0%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 43%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 58%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 58%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 57%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 57%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 57%
&amp;lt;info&amp;gt; app: strlen: 63
&amp;lt;info&amp;gt; pwr_mgmt: CPU Usage: 57%
&amp;lt;info&amp;gt; app: strlen: 63
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So the stack negotiated a length of 123 and I want to send 63. Still, the problem persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293745?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 11:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:506756ce-f2aa-43b6-8545-b49c1f57df04</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That one, I totally forgot about. I commented out a few weeks ago, because I tried to send data before NUS connection is made. That&amp;#39;s why I added later the m_nus_connected flag to check.&lt;br /&gt;Now, I de-commented and debugged the code, but no error is reported by APP_ERROR_CHECK. The elevated current persists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293738?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 11:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96de538f-8ecd-47c2-a4e3-d99faf782c6e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see you commented out the error check after calling&amp;nbsp;ble_nus_data_send(). Why is that? Did you get an error there? If so, which error code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293734?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 11:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:277dd841-4f92-49e2-9f54-bc826235a6a1</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I think I narrowed down the problem to this code section:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * @brief 
 * 
 * @param p_context 
 */
void sensor_list_timeout_evt_handler(void *p_context)
{
	ret_code_t err_code;
	uint16_t length = 0;
	char str[512];
	size_t ptr = 0;

	if (m_conn_handle == BLE_CONN_HANDLE_INVALID || m_nus_connected == false) {
		return;
	}

	str[0] = &amp;#39;#&amp;#39;;
	ptr = 1;
	for (int i = 0; i &amp;lt; ARRAY_SIZE(m_sim_datapoints); i++) {
		if (i &amp;gt; 0) {
			str[ptr] = &amp;#39;;&amp;#39;;
			ptr++;
		}

		ptr += sprintf(&amp;amp;str[ptr], &amp;quot;%s,%d,%2.2f&amp;quot;,
			m_sim_datapoints[i].name,
			m_sim_datapoints[i].enabled == true ? 1 : 0,
			m_sim_datapoints[i].values[m_sim_datapoints[i].index]);
	}

	length = ptr;
	str[ptr] = &amp;#39;\0&amp;#39;;
	//NRF_LOG_INFO(&amp;quot;sensor list: %s&amp;quot;, str);

	err_code = ble_nus_data_send(&amp;amp;m_nus, str, &amp;amp;length, m_conn_handle);
	if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_NOT_FOUND))
	{
		//APP_ERROR_CHECK(err_code);
	}

	/*
	length = 5;
	err_code = ble_nus_data_send(&amp;amp;m_nus, &amp;quot;Hello&amp;quot;, &amp;amp;length, m_conn_handle);
	if ((err_code != NRF_ERROR_INVALID_STATE) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_RESOURCES) &amp;amp;&amp;amp;
		(err_code != NRF_ERROR_NOT_FOUND))
	{
		//APP_ERROR_CHECK(err_code);
	}
	*/
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This function is called periodically by an app_timer every 1000ms, from the start of the app. If I send only &amp;quot;Hello&amp;quot;, it works fine and consumption is not increased. If I send the originally intended content, it sends successfully, but consumption skyrockets.&lt;/p&gt;
&lt;p&gt;Is it something to do with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Peer on connection 0x0 requested a data length of 123 bytes.
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 27 on connection 0x0.
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: Data length updated to 27 on connection 0x0.
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_octets: 27
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_octets: 27
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_rx_time: 1096
 0&amp;gt; &amp;lt;debug&amp;gt; nrf_ble_gatt: max_tx_time: 1096&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;? Should these transfer sizes be increased to fit my needs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293719?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 10:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1be8517-e158-4d85-80b7-94e00031c01a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Rolan,&lt;/p&gt;
&lt;p&gt;I do not immediately see how the NUS service implementation itself could cause this. The large increase in CPU usage is very interesting, though.&amp;nbsp; Have you been able to see which part of your code is being run during this time? Perhaps just testing without optimization and pausing execution from a debugger could give some interesting observations on where time is being spent? If that does not provide any clues, can you share your code so that I can take a look?&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293711?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 09:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8581117-86e9-45ba-a72f-fc1792833668</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Yes, I agree, hope that Nordic can help. Good luck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293709?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 09:42:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55999fec-9681-4ffa-b5d9-a0b5fd64b5a1</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;RTT might add some cosumption, but when I&amp;#39;m not using NUS, my IDLE current can go &amp;lt;10uA, so the 7mA increase is nothing related to that.&lt;br /&gt;I&amp;#39;m using a custom hardware, but then again, without NUS, I have no problem with consumption, BLE generally. I&amp;#39;m even using DFU and other services, all of them works fine (even those, which have NOTIFY attributes). Only the NUS is giving me trouble, so this purely a software issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293706?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 09:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3de1a9b1-1ca3-4d69-ae71-5455f35baa79</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;I understand. I do not know your hardware configuration so just be aware that having programmer pins connected can cause an increase in power consumption.&amp;nbsp;&lt;br /&gt;Are you using NCS or nRF5SDK?&lt;br /&gt;Also, RTT is adding to power consumption, so turning that off as well will help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293705?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 09:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79512dcd-b424-4b08-bc96-c99b457c0351</guid><dc:creator>rmakl</dc:creator><description>&lt;p&gt;Hi Vojislav,&lt;/p&gt;
&lt;p&gt;I forgot to mention, that I&amp;#39;m not using UART, or any other peripheral. I would like to use NUS for raw data transfer. As for the programmer, I measure the elevated consumption after a power reset, so the nRF is not in debugger mode. Also, the project is compiled in &amp;#39;Release&amp;#39; config and has no other problem whatsoever.&lt;br /&gt;&lt;br /&gt;BR,&lt;/p&gt;
&lt;p&gt;Roland&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current when using BLE NUS</title><link>https://devzone.nordicsemi.com/thread/293702?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 09:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:980e1e23-53af-443a-9d06-db0a5c16b41c</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;As I know you need to disable&amp;nbsp;UART and disconnect the programmer so you get the real power consumption for the NUS example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>