<?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>UART SDK12 NRF_LOG_GETCHAR() does not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17207/uart-sdk12-nrf_log_getchar-does-not-work</link><description>When I use NRF_LOG_GETCHAR() witn nRF52 DK and onboard SEGGER UART it stops in next NRF_LOG_INFO(). Also after ARM reset it keeps in this error state. It seems that SEGGER does not correctly drive CTS pin. 
 Also it is strange that when I disable UART</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Apr 2017 14:45:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17207/uart-sdk12-nrf_log_getchar-does-not-work" /><item><title>RE: UART SDK12 NRF_LOG_GETCHAR() does not work</title><link>https://devzone.nordicsemi.com/thread/66107?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 14:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e57752c-b2e1-4614-a91f-12eb5327c54b</guid><dc:creator>639zw</dc:creator><description>&lt;p&gt;Thanks for this answer saved me a bit of time. Just as an update for others: &lt;code&gt;NRF_LOG_GETCHAR()&lt;/code&gt; does now work &lt;strong&gt;without&lt;/strong&gt; hardware flow control. (Tested with NRF52-DK SDK 12.2.0)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART SDK12 NRF_LOG_GETCHAR() does not work</title><link>https://devzone.nordicsemi.com/thread/66106?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 16:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd61c6e-75e8-46f8-bc2d-7a7bc91f0dfa</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;I found a fix - you need to change a file: &lt;code&gt;SDK12\components\drivers_nrf\uart\nrf_drv_uart.c&lt;/code&gt;
lines 81 and 94 from:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_cfg_input(p_config-&amp;gt;pselcts, NRF_GPIO_PIN_NOPULL);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Into:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_cfg_input(p_config-&amp;gt;pselcts, NRF_GPIO_PIN_PULLDOWN);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also note that flow control has to be enabled in &amp;quot;sdk_config.h&amp;quot;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_LOG_BACKEND_SERIAL_UART_FLOW_CONTROL 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note that another option is to add external pull down on CTS (P0.7) and it starts work. Even when I touch it by finger it works...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>