<?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>LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86456/libuarte-transmitting-only-one-byte</link><description>I am using NRF52833 in my project and I have my NRF module connected to 2 other microcontrollers on UART peripherals. The details are mentioned as below:- 
 1) NRF52833 connected to MCU A- NORMAL UART 
 RX pin of nrf- P0.29 
 TX pin of nrf- P0.28 
 2</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Apr 2022 12:53:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86456/libuarte-transmitting-only-one-byte" /><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/362353?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 12:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bab35cf-62cd-4dce-9b3f-eed0f87c2be0</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am glad that it worked for you.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/362284?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 10:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f8bff8-7613-4b0f-be78-76d0e2d6f3cb</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Thanks Dejan, I also changed the array from char to uint8_t and it started working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/362159?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 16:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d47e6d-f7ce-4bb2-a48d-ae348bd23c4b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;First change char array3[5] = { 0x73, 0x01, 0x0a, 0x0d};&lt;/p&gt;
&lt;p&gt;to&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;char array3[4] = { 0x73, 0x01, 0x0a, 0x0d};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Change the memset line in your code to this one&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;memset(buffer,0,sizeof(buffer));&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In the other board, instead of NRF_LOG_INFO(&amp;quot;%s&amp;quot;,str); use&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_LOG_HEXDUMP_INFO(str, strlen(str));&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Add the header file&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;quot;nrf_queue.h&amp;quot;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/362023?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 09:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:461ecd77-ecbf-44a4-b2ed-db1b9926f4eb</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;None of the cases are related to my issue.please help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/361512?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 12:31:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38c8e2ce-94c0-4203-976c-a26be410588e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There are six similar cases you might want to look at. These are&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/77706/nrf_libuarte_async-tx-issue"&gt;case_1&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84124/nrf_libuarte_async_rx_free-not-working-tx-buffer-overflow"&gt;case_2&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/71145/nrf_libuarte_async_rx_free"&gt;case_3&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70887/corrupted-tx-data-when-using-libuarte_async-library"&gt;case_4&lt;/a&gt;,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/80192/general-info-of-the-correct-usage-of-libuarte-error-libuarte_async-evt-failed-to-allocate-buffer-for-rx"&gt;case_5&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57431/libuarte_async-bug-s---missing-data-wrong-buffer-returned"&gt;case_6&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/361443?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be39b1d1-e533-45b9-96d8-1fcb38de177a</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;I am receiving some strings from the other mcu via libuarte.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/361433?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 09:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:591c15b1-91ca-40fb-8e5e-28be56c9ee68</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I was wondering what are the values of the parameters inside memcpy().&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/361379?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 04:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d40a88ec-e589-429a-8285-8a5e4bde4305</guid><dc:creator>sne_333</dc:creator><description>&lt;p&gt;Hi Dejan, This you aer asking for transmitting or receiving data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIBUARTE TRANSMITTING ONLY ONE BYTE.</title><link>https://devzone.nordicsemi.com/thread/361080?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2022 15:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45244b45-e9d8-487c-bb8a-be1573f622a7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Snehal,&lt;br /&gt;&lt;br /&gt;What is the value of&amp;nbsp; p_evt-&amp;gt;data.rxtx.length?&lt;br /&gt;What is the content of p_evt-&amp;gt;data.rxtx.p_data?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>