<?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>Serial library interrupt frequency.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40493/serial-library-interrupt-frequency</link><description>We are trying to receive high speed data using UART. Currently our source is set to transmit an 8 byte packet once every second. 
 I have initialised the serial port in IRQ mode and my baudrate is set to 921600. I have also set a GPIO pin to go high upon</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Aug 2019 20:53:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40493/serial-library-interrupt-frequency" /><item><title>RE: Serial library interrupt frequency.</title><link>https://devzone.nordicsemi.com/thread/207215?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 20:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6869015-2d15-4e44-ac7c-7fe08125f141</guid><dc:creator>krog1</dc:creator><description>&lt;p&gt;Kenneth, libuarte_async looks like exactly what we need for a cellular module stack we&amp;#39;re working on. Do you know if it&amp;#39;s been tested with FreeRTOS? I&amp;#39;m not looking for guarantees,&amp;nbsp;and I&amp;#39;m happy to do the legwork to test and do some light porting, but if you know for sure it doesn&amp;#39;t work and it ain&amp;#39;t gonna because X, Y, and Z, that would save us quite a bit of time.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;- Chris.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial library interrupt frequency.</title><link>https://devzone.nordicsemi.com/thread/192328?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 11:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42276533-cbe8-4ab2-b236-58a61b34da15</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: Serial library interrupt frequency.</title><link>https://devzone.nordicsemi.com/thread/158755?ContentTypeID=1</link><pubDate>Fri, 23 Nov 2018 07:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:230b84a6-8aab-4959-af3f-68c79cfcb961</guid><dc:creator>spoologa</dc:creator><description>&lt;p&gt;Thank you for that answer. That helps.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial library interrupt frequency.</title><link>https://devzone.nordicsemi.com/thread/157596?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 20:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5fc8e25-8333-416a-8092-db3c9d3bfbb5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;NRF_SERIAL_EVENT_RX_DATA is triggered on&amp;nbsp;NRF_DRV_UART_EVT_RX_DONE, which is not the same as NRF_UARTE_EVENT_RXDRDY event. The&amp;nbsp;&lt;span&gt;NRF_UARTE_EVENT_RXDRDY&lt;/span&gt; event is not propagated to the&amp;nbsp;&lt;span&gt;serial_event_handler().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;At 921600 baud there is a byte received every 8.6us,&amp;nbsp;likely the&amp;nbsp;serial_event_handler() will not be able to execute that fast in any case. If you need to know when each byte is received you need to use the uarte driver directly, instead of the serial&amp;nbsp;library.&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></channel></rss>