<?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>app_uart_put() dropping some packets of data on UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30402/app_uart_put-dropping-some-packets-of-data-on-uart</link><description>I am working on a project where we are using a nordic bluetooth chip and connecting it to a RS485 Bus using UART with Baudrate 115200. The messages sent from the Bluetooth App should be assembled in the BUS message and should be sent using UART. For this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Feb 2018 19:31:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30402/app_uart_put-dropping-some-packets-of-data-on-uart" /><item><title>RE: app_uart_put() dropping some packets of data on UART</title><link>https://devzone.nordicsemi.com/thread/120752?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 19:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c510a5d-6127-498a-95d0-9339267bc69a</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;Hello Kenneth,&lt;/p&gt;
&lt;p&gt;Thankyou for your Reply! I found the problem. It lies somewhere else. I have ben using two timers with different timings to generate events on the same hardware pin. The second timer event seemed to disturb the first timer event, thereby distorting my UART tx channel on this common pin. I now have a single timer event for both the cases so that the timer is started at different instances of time.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Kumar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: app_uart_put() dropping some packets of data on UART</title><link>https://devzone.nordicsemi.com/thread/120574?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 13:31:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a8dbb44-1acd-4d21-8c6b-2bb058a801fd</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi Kumar,&lt;/p&gt;
&lt;p&gt;The easiest is to use the nrf UART driver directly, make sure to enable&amp;nbsp;UART0_CONFIG_USE_EASY_DMA, and then each time you want to transmit data call&amp;nbsp;nrf_drv_uart_tx(). If you have enabled a callback handler during nrf_drv_uart_init(), then you will get a event&amp;nbsp;NRF_DRV_UART_EVT_TX_DONE when the transfer is done. In general you can find information about the driver here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/hardware_driver_uart.html?cp=4_0_4_2_18"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/hardware_driver_uart.html?cp=4_0_4_2_18&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The problem with the app_fifo_put is that it was made for the nRF51-series, it still works on the nRF52-series, but it doesn&amp;#39;t relly make use of the new EasyDMA feature that came with the nRF52-series.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: app_uart_put() dropping some packets of data on UART</title><link>https://devzone.nordicsemi.com/thread/120484?ContentTypeID=1</link><pubDate>Sat, 10 Feb 2018 21:30:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9254364-138d-43f3-8e06-8d91f7930d8f</guid><dc:creator>kumar</dc:creator><description>&lt;p&gt;Hello! Even after setting the Baudrate Higher, the problem is not solved! But only one thing worked, and that is by adding a delay in front of app_fifo_put function. This is in my case, absolutely no solution because I cannot afford any delays in my UART transmissions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any Suggestions on this problem is greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Kumar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>