<?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>Low level UART and Timer drivers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48107/low-level-uart-and-timer-drivers</link><description>Hi, 
 I have been looking at the Nordic examples and I found them to be pretty slow with the handlers being the bottleneck as opposed to the actual hardware. I was wondering what is the lowest level drivers that I can use for my applications that involve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jun 2019 11:19:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48107/low-level-uart-and-timer-drivers" /><item><title>RE: Low level UART and Timer drivers</title><link>https://devzone.nordicsemi.com/thread/192323?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 11:19:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f50569e6-d64b-4f82-800e-fb24373833bb</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;Alternatively I would recommend to try nrf_libuarte_async driver for UARTE and lossless reception without HWFC.&amp;nbsp;There are experimental_cli_libuarte and experimental_libuarte example in the SDK that show usage. They are labelled experimental due to lack of documentation but it has been thoroughly tested. The stability and quality of the libuarte is&amp;nbsp;&lt;/span&gt;&lt;span&gt;very good&lt;/span&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&lt;span&gt;The libuarte library&amp;nbsp;&lt;/span&gt;&lt;span&gt;requires one TIMER, one RTC or TIMER, couple of PPI channels (~3 if recall correctly).&amp;nbsp;It is using TIMER via PPI to count exact number of bytes received without stopping uarte.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low level UART and Timer drivers</title><link>https://devzone.nordicsemi.com/thread/191854?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2019 15:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5ea0b86-1321-4a2a-b244-077573663892</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By any chance&amp;nbsp;app_fifo_put() return NRF_ERROR_NO_MEM?&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_fifo.html?cp=5_5_0_3_14"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_fifo.html?cp=5_5_0_3_14&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tried increasing the UART baudrate?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low level UART and Timer drivers</title><link>https://devzone.nordicsemi.com/thread/190861?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 15:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32aed80e-39fa-42ee-8e3a-c0c3dbe65c3b</guid><dc:creator>firmware_master</dc:creator><description>&lt;p&gt;I checked the BLE_UART example and it seems like it is using the nrfx drivers but I&amp;#39;m not sure. In the central device, for example, I checked app_uart_put()-&amp;gt;nrf_drv_uart_tx() which calls nrfx drivers with functions like nrfx_uarte_tx() and nrfx_uart_tx().&amp;nbsp; I am receiving all correct BLE data on a central device, but there are bytes being lost when adding the data to the UART.&lt;/p&gt;
&lt;p&gt;I checked by doing the following:&lt;/p&gt;
&lt;p&gt;I counted the number of times app_fifo_put() was called and the number of times nrf_drv_uart_tx() was called. The sum of these is not equal to the number of bytes received by the BLE application in total.&lt;/p&gt;
&lt;p&gt;Let me know what you think of this.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low level UART and Timer drivers</title><link>https://devzone.nordicsemi.com/thread/190785?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 12:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56139c78-2150-4281-bbf9-7c3c1a045df1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Moving forward I would suggest using the nrfx drivers, these will be maintained for a long time to come:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrfx_migration_user_guide.html?cp=5_1_2_5"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrfx_migration_user_guide.html?cp=5_1_2_5&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>