<?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>Access to UART with DMA under example &amp;quot;freertos_coap_server&amp;quot; SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55732/access-to-uart-with-dma-under-example-freertos_coap_server-sdk-nrf52840-dk</link><description>Good day! Tell me how you can configure access to UART with DMA in the example freertos_coap_server for receiving and transmitting arbitrary messages. Also, please clarify what maximum write read buffer is available in DMA for UART? 
 Thank&amp;#39;s</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2019 09:07:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55732/access-to-uart-with-dma-under-example-freertos_coap_server-sdk-nrf52840-dk" /><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226502?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 09:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8e4a50-86f7-4a16-b9bd-e76d70a6853b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You are right, you need to add the configuration definition from the sdk_config.h&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can re-build the open thread library here:&amp;nbsp;&lt;a href="https://openthread.io/guides/build"&gt;https://openthread.io/guides/build&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But it would take some time to install the toolchain and build environment. If you just want to test UART, I would suggest to use UART1&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226475?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 06:22:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f7305d4-f20c-49c8-872c-35d9b4ae0102</guid><dc:creator>alex</dc:creator><description>&lt;div class="tlid-input input has-transliteration"&gt;
&lt;div class="source-wrap"&gt;
&lt;div class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;div class="source-input"&gt;
&lt;div class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="source-footer-wrap source-or-target-footer"&gt;
&lt;div class="source-input-tools" id="gt-input-tool"&gt;
&lt;div&gt;
&lt;div class="goog-container goog-container-vertical"&gt;&lt;span class="ita-kd-img ita-kd-icon ita-kd-icon-span ita-icon-24"&gt;&lt;/span&gt;&lt;span class="ita-kd-img ita-kd-arrow ita-kd-icon-span"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="source-footer"&gt;
&lt;div class="speech-wrap source-or-target-footer-button left-positioned"&gt;&lt;/div&gt;
&lt;div class="src-tts left-positioned ttsbutton jfk-button-flat source-or-target-footer-button jfk-button"&gt;
&lt;div class="jfk-button-img"&gt;How to recompile the OpenThread?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226473?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 06:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cff5a03-d2c5-420d-b470-04f43ae78d0a</guid><dc:creator>alex</dc:creator><description>[quote userid="2121" url="~/f/nordic-q-a/55732/access-to-uart-with-dma-under-example-freertos_coap_server-sdk-nrf52840-dk/226439"]In addition please add the configuration to sdk_config.h as showed in the example.&amp;nbsp;[/quote]
&lt;p&gt;Need to add all the definitions from this file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226439?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 17:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:193efd99-e9af-4811-a2df-07aeaa9d3dac</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alexander,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which issue do you have ?&amp;nbsp;&lt;br /&gt;You would need to add all the drivers and libraries as showed in the uart example into the freertos example. In addition please add the configuration to sdk_config.h as showed in the example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One notice is that OpenThread is compiled with UART0 reserved for CLI (command line interface). If you are using nRF52840 you can use the UART1 instead. If you want to use UART0 for your application, you would need to recompile OpenThread.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226282?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 07:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aa8cf14-099f-4422-a581-f0922145c2ab</guid><dc:creator>alex</dc:creator><description>&lt;p&gt;Can you show how you can combine the &amp;quot;peripheral\uart example&amp;quot; you specified with &amp;quot;freertos_coap_server&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226280?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 07:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f809be-b2b8-4569-8ecd-8621bde6775f</guid><dc:creator>alex</dc:creator><description>&lt;p&gt;The whole problem is that there is no description of how to combine examples with each other. Conflicting library dependencies constantly arise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226275?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 07:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af2e7316-c3e0-4974-9e8f-3c244ed00041</guid><dc:creator>alex</dc:creator><description>&lt;p&gt;when I try to connect the necessary files from one example to another there are many conflicting dependencies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226269?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 06:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21c0ce0e-e2c7-43f4-bfa8-32529caa480f</guid><dc:creator>alex</dc:creator><description>&lt;p&gt;Hi Hung Bui!&lt;/p&gt;
&lt;p&gt;How to transfer libraries from one cdk example to another? Maybe there is some kind of configurator, or only manually?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Access to UART with DMA under example "freertos_coap_server" SDK nRF52840-DK</title><link>https://devzone.nordicsemi.com/thread/226215?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 16:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c4c0f34-1c07-4663-9b9d-1127db5735d4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Alexander,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As long as you don&amp;#39;t use UART in blocking mode, but in interrupt mode it should work fine with the freertos_coap_server. We provided the&amp;nbsp;app_uart_fifo library that you can use. Please have a look at the peripheral\uart example in the SDK as the reference.&amp;nbsp;&lt;br /&gt;The maximum read/write buffer with DMA is defined by the MAXCNT register and it&amp;#39;s upto 65kB. In the code it&amp;#39;s defined by&amp;nbsp;UART_RX_BUF_SIZE and&amp;nbsp;UART_TX_BUF_SIZE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>