<?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>Read UART input while using Logger Module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26700/read-uart-input-while-using-logger-module</link><description>I examine the Logger Module implementation a little and find out that the only way to get a character from UART is via the NRF_LOG_GETCHAR() macro, which is blocking. 
 I would like to receive bytes asynchronously and process them, both over UART and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 18 Mar 2018 20:54:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26700/read-uart-input-while-using-logger-module" /><item><title>RE: Read UART input while using Logger Module</title><link>https://devzone.nordicsemi.com/thread/124886?ContentTypeID=1</link><pubDate>Sun, 18 Mar 2018 20:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e690207-26e3-457b-8b90-25e7754ee991</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Keith,&lt;/p&gt;
&lt;p&gt;You can also use &lt;a href="https://www.segger.com/products/development-tools/embedded-studio/"&gt;Segger Embedded Studio IDE&lt;/a&gt; to evaluate, it has no code limit.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Segger Embedded Studio can be used for commercial and non-commercial purpose with Nordic Semiconductor devices free of charge. See &lt;a href="https://www.nordicsemi.com/News/News-releases/Product-Related-News/Nordic-Semiconductor-adds-Embedded-Studio-IDE-support-for-nRF51-and-nRF52-SoC-development"&gt;this article&lt;/a&gt; for more information about that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read UART input while using Logger Module</title><link>https://devzone.nordicsemi.com/thread/124885?ContentTypeID=1</link><pubDate>Sun, 18 Mar 2018 20:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:619fa670-780f-4793-9e14-cee426d708f7</guid><dc:creator>Keith Brafford</dc:creator><description>&lt;p&gt;BTW the SDK 14.2 cli example builds to 264 bytes larger than you can compile with the free version of Keil.&amp;nbsp; That makes it harder to evaluate.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read UART input while using Logger Module</title><link>https://devzone.nordicsemi.com/thread/105001?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2017 04:11:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9de5000-1b79-43be-a017-7ba187f75818</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I disabled UART as Logger Backend and setup app_uart_fifo for the time being. But I will definitely try to use the CLI module once I am done with my current task. Thanks for the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read UART input while using Logger Module</title><link>https://devzone.nordicsemi.com/thread/105000?ContentTypeID=1</link><pubDate>Thu, 09 Nov 2017 14:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58fd893-2bb2-4442-a2eb-55710bf8074d</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;I assume you are using SDK14.1 basing on question tag.
In such case like yours I strongly recommend using CLI module instead of NRF_LOG_GETCHAR() macro. Beginning from SDK14 CLI can be configured as Logger backend. It will give you a lot of flexibility in regards to logs display like logs filtering and text analizyses (commands or text autocompletion).&lt;/p&gt;
&lt;p&gt;Please familiarize with this example: sdk\nrf5\examples\peripheral\cli&lt;/p&gt;
&lt;p&gt;You can run two independent instances of CLI one on RTT other on UART/UARTE.&lt;/p&gt;
&lt;p&gt;More information can be found in CLI documentation:
&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/lib_cli.html?cp=4_0_0_3_10"&gt;infocenter.nordicsemi.com/.../lib_cli.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or these two blogposts:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/blogs/1150/new-command-line-interface-part-1/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/blogs/1165/new-command-line-interface-and-enhanced-logger-par/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>