<?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>I&amp;#39;m very urgent ， When PC sends UART data, nRF52810 cannot enter a callback</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37264/i-m-very-urgent-when-pc-sends-uart-data-nrf52810-cannot-enter-a-callback</link><description>The production line is waiting ， I&amp;#39;m sorry to ask that it&amp;#39;s urgent 
 
 This debug tools display nRF52810 UART Tx is Successful 
 
 If I add the code 
 case APP_UART_TX_EMPTY: printf(&amp;quot;\r\nTest.\r\n&amp;quot;); break; 
 Then the debug tools will continue to print</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Aug 2018 17:03:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37264/i-m-very-urgent-when-pc-sends-uart-data-nrf52810-cannot-enter-a-callback" /><item><title>RE: I'm very urgent ， When PC sends UART data, nRF52810 cannot enter a callback</title><link>https://devzone.nordicsemi.com/thread/143435?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 17:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76407399-26b3-40a5-9c95-220df7f12805</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Thank you , my problem has been solved&lt;/p&gt;
&lt;p&gt;It should be 【P0.07 -&amp;gt; Number 7】, not order of arrangement（nRF52810 have pin 32）&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm very urgent ， When PC sends UART data, nRF52810 cannot enter a callback</title><link>https://devzone.nordicsemi.com/thread/143362?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 12:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efba26f8-eb6a-4fa3-83d6-a4d64ba46ae9</guid><dc:creator>tony55723</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Thank you for answer&lt;/p&gt;
&lt;p&gt;I want to receive debug tools data, and then transmit data to mobile phone through nRF52810 BLE.&lt;/p&gt;
&lt;p&gt;Debug tools(UART Tx) ---&amp;gt; (UART Rx)nRF52810(BLE) ---&amp;gt; mobile phone&lt;/p&gt;
&lt;p&gt;uart_event_handle&amp;nbsp;should be a callback function&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand , why does the system continue to enter this function ?&lt;/p&gt;
&lt;p&gt;And then i use the debug tools to send data , &amp;nbsp;but can not enter the callback function ?&lt;/p&gt;
&lt;p&gt;===========================&lt;/p&gt;
&lt;p&gt;nRF52810 send data to Debug tools is successful&lt;/p&gt;
&lt;p&gt;SDK：nRF5_SDK_15.0.0_a53641a&lt;/p&gt;
&lt;p&gt;example：ble_peripheral \ ble_app_uart&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm very urgent ， When PC sends UART data, nRF52810 cannot enter a callback</title><link>https://devzone.nordicsemi.com/thread/143348?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 11:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80337d6-0eb0-466b-9269-5980575748c3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;If I add the code&lt;/p&gt;
&lt;p&gt;case APP_UART_TX_EMPTY:&lt;br /&gt;printf(&amp;quot;\r\nTest.\r\n&amp;quot;);&amp;nbsp;&lt;br /&gt; break;&lt;/p&gt;
&lt;p&gt;Then the debug tools will continue to print &amp;quot;Test&amp;quot;&lt;/p&gt;
&lt;p&gt;This callback function is entered, but I want to receive data before entering.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This code will continuously print &amp;quot;Test&amp;quot;, as you are pushing data in a event that is signalling when the buffer is empty. What do you really want to do here?&lt;/p&gt;
&lt;p&gt;Could you explain a bit more in detail?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>