<?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>How to get low level uart event in nrf connect ask?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86604/how-to-get-low-level-uart-event-in-nrf-connect-ask</link><description>Hi Nordic, 
 I am trying to implement a custom uart driver in my inter processor communication application. In the driver implementation I want to use uart with dma and I want to know the TX_STARTED, END_TX, RX_STARTED, END_RX events. The nrf connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Apr 2022 09:03:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86604/how-to-get-low-level-uart-event-in-nrf-connect-ask" /><item><title>RE: How to get low level uart event in nrf connect ask?</title><link>https://devzone.nordicsemi.com/thread/362528?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 09:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11f1a261-5a65-4e31-9fae-64808bf007e6</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;As Martin points out, the Zephyr UART driver uses nrfx with DMA &amp;quot;under the hood&amp;quot;,&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/serial/uart_nrfx_uarte.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/drivers/serial/uart_nrfx_uarte.c&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Zephyr UART driver API doc:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/reference/peripherals/uart.html"&gt;https://docs.zephyrproject.org/latest/reference/peripherals/uart.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you need to use the nrfx UART directly then we do not have lots of examples on that. i blive this is the only thing as of now:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nrf/nrfx_prs"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nrf/nrfx_prs&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Joanthan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low level uart event in nrf connect ask?</title><link>https://devzone.nordicsemi.com/thread/362189?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 00:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0fb20c9-c74e-4553-b91e-2cb97f653a19</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;What are your concerns in using the Zephyr UART drivers ?&lt;/p&gt;
&lt;p&gt;Under the hood, the Zephyr UART driver will use DMA, and they will use Nordic&amp;#39;s nrfx drivers, which will in turn&amp;nbsp;uses nrfx uart&amp;nbsp;TX_STARTED, END_TX, RX_STARTED, END_RX events on your behalf. In addition, they will give your appropriate callbacks when transmission is finished, and upon reception of data.&lt;/p&gt;
&lt;p&gt;I wouldn&amp;#39;t see any value in starting from scratch to create effectively a new UART driver.&lt;/p&gt;
&lt;p&gt;To see Zephyr UART drivers in use, you can check out the NCS projects&amp;nbsp;&lt;strong&gt;\nrf\samples\bluetooth\peripheral_uart&lt;/strong&gt; and/or&amp;nbsp;&lt;strong&gt;\nrf\samples\bluetooth\central_uart&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low level uart event in nrf connect ask?</title><link>https://devzone.nordicsemi.com/thread/361919?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 18:48:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f329a683-ce79-481f-b0b2-9297c60a50f9</guid><dc:creator>Mohinish</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;Can you share with me a sample example project to understand how to use the drivers.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Mohinish Naik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get low level uart event in nrf connect ask?</title><link>https://devzone.nordicsemi.com/thread/361836?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 12:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd834a56-ffc4-4303-aae5-bba9469ada01</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;NRFX is an alternative that you can use:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrfx/drivers/uart/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrfx/drivers/uart/index.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>