<?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>examples\peripheral\uart - printf is not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41224/examples-peripheral-uart---printf-is-not-working</link><description>Hallo 
 
 Im using the example of nRF5_SDK_12.3.0_02\nRF5_SDK_12.3.0_d7731ad\examples\peripheral\uart 
 to setup a uart that includes rx as well as tx, 
 I am running the example on the NRF51 DK 
 My problem is as the title suggest is the TX, via the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Dec 2018 09:19:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41224/examples-peripheral-uart---printf-is-not-working" /><item><title>RE: examples\peripheral\uart - printf is not working</title><link>https://devzone.nordicsemi.com/thread/160687?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 09:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cf1afd5-46c6-48b2-9383-a01357363c44</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Eran,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you have a nRF51 DK please try to test the uart example without any modification. A logic analyzer would be useful to check if there is any output on the TX pin.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both the&amp;nbsp;NRF_LOG module and APP_UART uses nrf_drv_uart to output data to uart. I would suggest to try using the nrf_drv_uart to output some data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Usually the uart example works out of the box with the nRF51 DK. You can try to test with a fresh copy of the SDK, just to be sure.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: examples\peripheral\uart - printf is not working</title><link>https://devzone.nordicsemi.com/thread/160632?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 18:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96f44805-7d11-429b-9426-a5c3d2b96c07</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;the problem is that there is not output on the uart_tx&lt;/p&gt;
&lt;p&gt;I have used the uart example as is&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Eran&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: examples\peripheral\uart - printf is not working</title><link>https://devzone.nordicsemi.com/thread/160464?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 17:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65ae5614-5f18-4179-bc21-63210440a98c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Eran,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you explain which exactly the problem you have now ? It&amp;#39;s not very clear from your description.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you run the uart example in the SDK (which in the image you provided ? ) do you have any problem ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are integrating APP_UART_FIFO into your project, please make sure you include app_uart_fifo.c and app_fifo.c in your project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Basically printf function will use fputc to print out each characters and fputc is redefined in retarget.c to use app_uart_put () to send the character out to UART port.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>