<?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>nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68351/nrf52840dk-libuarte-balloc-fails</link><description>Hello, 
 I&amp;#39;ve been working with a nRF52840DK and the ble_app_uart example (examples\ble_central\ble_app_uart_c) trying to modify it as needed for my application. The dev kit is connected to another device for UART communication, which is constantly sending</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Dec 2021 09:11:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68351/nrf52840dk-libuarte-balloc-fails" /><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/342002?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 09:11:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0d0f9b3-624c-49c8-a221-98c4daa8988a</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;This question is not related tot he original post, pleas create a new ticket for new questions.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;#define UART_TX_BUF_SIZE&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><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/341987?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 08:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f86775-04c9-47b1-a33f-7fbcd2513dcc</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Jonathan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Finally, I found that I did not clear the memory through nrf_libuarte_async_rx_free(), which caused the Buffer to be full.&lt;br /&gt;Here I would like to ask another question where the size of Rx Buffer can be set&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/341976?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 07:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:759b72bf-5f41-49ee-99e9-dec8e1b2c72f</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Kai,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Could you also create a new ticket, then include more info, maybe parts of your code also? And then reference this ticket.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;ERROR 0 = no error, prosess was a success.&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><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/341968?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 04:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ac6a3f-cb12-4b58-88be-fba51feeab69</guid><dc:creator>kai19960504</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have roughly the same question,i&amp;#39;m using SDK v17.1.0.&lt;/p&gt;
&lt;p&gt;According to the picture,I can receive data, but the same error will appear after some time&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1638764176778v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1638764254001v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kai&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/285620?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 12:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df411e8f-835c-42c1-a8e8-b3cc83e240a5</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi sorry for the late reply,&lt;br /&gt;&lt;br /&gt;I dont have a propper solution for now.&lt;br /&gt;&lt;br /&gt;Is there any reason that you use sdk17 and not 17.0.2. SKD 17 is not supported anymore and dos due to som bugs. i would recommend to change to 17.0.2 or is there a reason you are sticking to an older version?&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><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/281392?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 16:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64814d2d-4d82-4208-9705-593bc5c9ae40</guid><dc:creator>flonch</dc:creator><description>&lt;p&gt;I don&amp;#39;t believe both are being used, I copied&amp;nbsp;the code over from the libuarte example itself.&lt;br /&gt;From libuarte example, line 60:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;From ble_app_uart modified accordingly, line 70:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 32, 3);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The 4th and 5th parameters are for passing the timer and rtc IDs respectively, and it appears as rtc is not being used according to the &amp;quot;NRF_LIBUARTE_PERIPHERAL_NOT_USED&amp;quot; parameter.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see how the issue could be within main.c if I copied the relevant code from the libuarte example itself, the libuarte example works just fine. I was expecting something to do with sdk_config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/281310?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 12:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d013e6a6-6fd1-4145-b29a-b4b0b79371a0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;&lt;br /&gt;in the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__nrf__libuarte__async.html?cp=7_5_0_6_11_28_8#ga9dd1619dcfe11f532ed96e37ebd2aca4"&gt;NRF_LIBUARTE_ASYNC_DEFIN&lt;/a&gt;&lt;span&gt;&amp;nbsp; function you have to choose RTC or TIMER cant use both.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/280435?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 16:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50df5506-0f6a-47fa-aafe-4a3a372cb5ea</guid><dc:creator>flonch</dc:creator><description>&lt;p&gt;Sorry about that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gofile.io/d/ji2tqg"&gt;https://gofile.io/d/ji2tqg&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840DK Libuarte Balloc Fails</title><link>https://devzone.nordicsemi.com/thread/280385?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 13:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:441cc4ef-fc96-407d-bb4e-aa4c98ddee7a</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Are you sure you added the correct zipped file of you project. i cant find any references to libuarte in main.c&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>