<?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>Printf only sends first byte and with an odd problem (52832)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19763/printf-only-sends-first-byte-and-with-an-odd-problem-52832</link><description>I am using example-&amp;gt;peripheral-&amp;gt;uart(KEIL version MDK 5) in SDK11.0 . Because my 52832 board is a new one I made, I changed RX_PIN_NUMBER and TX_PIN_NUMBER to 9 and 8. CTS_PIN and RTS_PIN are not connected, so I changed FLOW_CONCTROL to APP_UART_FLOW_CONTROL_DISABLED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2017 04:54:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19763/printf-only-sends-first-byte-and-with-an-odd-problem-52832" /><item><title>RE: Printf only sends first byte and with an odd problem (52832)</title><link>https://devzone.nordicsemi.com/thread/76847?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2017 04:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:750cd779-6540-430f-9a2c-746e630e4044</guid><dc:creator>Edward</dc:creator><description>&lt;p&gt;I found the reason was that I use P0.09 as RXD, but I did not define CONFIG_NFCT_PINS_AS_GPIOS.P0.09 is used as NFC pins by default!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Printf only sends first byte and with an odd problem (52832)</title><link>https://devzone.nordicsemi.com/thread/76845?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 16:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d409f5bc-4d80-4478-8d0b-c45b149654f0</guid><dc:creator>Edward</dc:creator><description>&lt;p&gt;Yes! The application was indeed resetting! I let LEDS on my board blink before APP_UART_FIFO_INIT(),and I move printf out of while(1). I found LEDS were blinking and &amp;#39;s&amp;#39; was received in the same frequency! Why the application was resetting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Printf only sends first byte and with an odd problem (52832)</title><link>https://devzone.nordicsemi.com/thread/76846?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 16:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91718ac-5f41-449d-a60c-f69a73832e61</guid><dc:creator>wizath</dc:creator><description>&lt;p&gt;Check if the app_fifo (because you are using uart_fifo) is included in keil project. That should help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Printf only sends first byte and with an odd problem (52832)</title><link>https://devzone.nordicsemi.com/thread/76844?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2017 13:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e068f0-e737-4205-b639-ebace683ad27</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you test with the ble_app_uart do you see &amp;quot;UART Start!&amp;quot; printed on the terminal?
S printed very fast sounds like the application was resetting and UART haven&amp;#39;t managed to print anything more than S before it&amp;#39;s reset. You can try to put an infinite loop after you call  &lt;code&gt;printf(&amp;quot;Start: \n\r&amp;quot;);&lt;/code&gt; just call it once, don&amp;#39;t put in inside a loop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>