<?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 issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35218/high-current-issue-resulted-from-uart-in-nrf52832</link><description>I am developing my code in a custom nrf52832 breakout board. My code was modified from the example &amp;quot;ble_app_uart&amp;quot;. 
 I find a high current issue with UART. The current is around 58uA as I expected after power startup with RX and TX pins 
 connected to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Jun 2018 05:18:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35218/high-current-issue-resulted-from-uart-in-nrf52832" /><item><title>RE: High current issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/thread/135468?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 05:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a98aea9-476f-431a-8b64-c6827cd1228f</guid><dc:creator>conrad</dc:creator><description>&lt;p&gt;Hi hmolesworth,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks for your reply. I check the connection of my board. The power of nRF52832 is form USB to TTL 3.3v output pin.&lt;/p&gt;
&lt;p&gt;With the same connection, if I don`t initialize the UART in my code, the current is normal. So it seem not only related to hardware connection.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/thread/135462?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 03:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abbc320c-4f5d-447a-ac18-4d663e6f2d8d</guid><dc:creator>conrad</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; This morning I do several tests based on the &amp;quot;&lt;span&gt;ble_app_uart&amp;quot; code. I add a 10ms APP_TIMER to be the same with my&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;appliction code. The following are the test conditions and results:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Items&amp;nbsp;/ Conditions / Results&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1/ Uart not initialized / current is normal (46uA)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2/&amp;nbsp;Uart initialized /&amp;nbsp;current is kept high (2.26mA)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3/ Uart initialized; UART&amp;nbsp;&lt;/span&gt;&lt;span&gt;disabled by&amp;nbsp;app_uart_close()&amp;nbsp;after&amp;nbsp; ble_stack_init() / After power on, the current is kept high (2.26mA) for several seconds.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;4/&amp;nbsp;Uart initialized; UART disabled by&amp;nbsp;app_uart_close()&amp;nbsp;before ble_stack_init() / The current is normal as test item 1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;All the above test conditions are Rx and Tx pins disconnected. The nRF52832 is powered by USB_TO_TTL dongle 3.3V.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The main loop of my code:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;int main(void)&lt;br /&gt;{&lt;br /&gt; uint32_t err_code;&lt;br /&gt; bool erase_bonds;&lt;br /&gt; &lt;br /&gt; uint32_t i;&lt;/p&gt;
&lt;p&gt;// Initialize.&lt;br /&gt; APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, false);&lt;br /&gt; uart_init();&lt;/p&gt;
&lt;p&gt;//buttons_leds_init(&amp;amp;erase_bonds);&lt;br /&gt; ble_stack_init();&lt;br /&gt; &lt;br /&gt; gap_params_init();&lt;br /&gt; services_init();&lt;br /&gt; advertising_init();&lt;br /&gt; conn_params_init();&lt;br /&gt; &lt;br /&gt;app_timer_create(&amp;amp;fbm320_timer_id,&lt;br /&gt; APP_TIMER_MODE_REPEATED,&lt;br /&gt; timer_fbm320_handler);&lt;br /&gt; app_timer_start(fbm320_timer_id, APP_TIMER_TICKS(10, APP_TIMER_PRESCALER), NULL);&lt;/p&gt;
&lt;p&gt;// printf(&amp;quot;\r\nUART Start!\r\n&amp;quot;);&lt;br /&gt; &lt;br /&gt; err_code = ble_advertising_start(BLE_ADV_MODE_FAST);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;&lt;br /&gt; app_uart_close();&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;// Enter main loop.&lt;br /&gt; for (;;)&lt;br /&gt; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; power_manage();&lt;br /&gt; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/thread/135414?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 21:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61db5523-4228-45ba-ab1d-94eccb015397</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;The USB to TTL dongle will provide power to the nRF52832 via the internal schottky protection clamp diodes unless the USB to TTL voltage (typically 3.3 volts) is the same as the nRF52832 Vdd (typically 2.8 volts or less). With the Rx and Tx line disconnected you are seeing the true consumption, with Rx and Tx connected the measured value is incorrect. As a test, use the USB to TTL dongle voltage as the Vdd source for the nRF52832; usually this is available on a header unless it is the encased type. When connected thus the Rx and Tx will work but you will see the higher current consumption.&lt;/p&gt;
&lt;p&gt;This is commonly referred to as phantom power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/thread/135396?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 14:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bbfcebb-6c50-4931-a9c1-5c504073d2b6</guid><dc:creator>conrad</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I had not check the result if I use the uart example in the peripheral folder. I will test the example to see if it is the same in&lt;/p&gt;
&lt;p&gt;next Monday. Thanks for your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High current issue resulted from UART in nRF52832</title><link>https://devzone.nordicsemi.com/thread/135358?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 12:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7862a2a-7c6c-424d-b569-16aa76840902</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Do you see the same if you test the uart example in the peripheral folder ( ..\examples\peripheral )?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>