<?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>UART data sending issue in custom board using nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109711/uart-data-sending-issue-in-custom-board-using-nrf52832</link><description>Hi, 
 We are doing a project on nRF52832 which uses UART for QR-code sensor, I2C for OLED and SPI for external flash. 
 The code works fine as expected when tested in nRF52832 DK (PCA10040), and we have designed a new PCB for our project. 
 Now we are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Mar 2024 11:35:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109711/uart-data-sending-issue-in-custom-board-using-nrf52832" /><item><title>RE: UART data sending issue in custom board using nRF52832</title><link>https://devzone.nordicsemi.com/thread/476281?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 11:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbe0ad08-2811-4d93-8777-22d172e641be</guid><dc:creator>siltvm</dc:creator><description>&lt;p&gt;Disabling flow control solved the issue&lt;/p&gt;
&lt;p&gt;Changed APP_UART_FLOW_CONTROL_ENABLED to APP_&lt;strong&gt;UART_FLOW_CONTROL_DISABLED&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART data sending issue in custom board using nRF52832</title><link>https://devzone.nordicsemi.com/thread/476259?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 04:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf5b58c-08d0-4744-b4d4-f633af69fed8</guid><dc:creator>siltvm</dc:creator><description>&lt;p&gt;Hi Reuven,&lt;/p&gt;
&lt;p&gt;Thank you for ur response/suggestion.&lt;/p&gt;
&lt;p&gt;Currently we are developing our project using nRF52 SDK, anyway we just started through the documentations/ courses for nRF connect SDk. But it may take time as we need to use multiple peripherals in single project like UART,SPI,I2C . We are also using SAADC and softdevices for the project. So planning&amp;nbsp; a demo version using nRF sdk in the custom board for now.&lt;/p&gt;
&lt;p&gt;Is there any example projects available with these peripherals ? If yes, that will be helpful. But as per current knowledge we have to add different peripherals one by one to the project&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But if some configuration&amp;nbsp; issue persists ,how can it work properly in nRF52832 DK as expected ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Edit&lt;/p&gt;
&lt;p&gt;After Debugging via RTT&amp;nbsp;Failed receiving NUS message. Error 0x04 is found inside nus_data_handler(). And commenting the do while section resolves the BLE transfer issues. Here also UART transmission seems the issue&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  for (uint32_t i = 0; i &amp;lt; p_evt-&amp;gt;params.rx_data.length; i++)
        {
           BLEDataBuff[i]=(p_evt-&amp;gt;params.rx_data.p_data[i]);
            do
            {
               BLEDataBuff[i]=(p_evt-&amp;gt;params.rx_data.p_data[i]);
                err_code = app_uart_put(p_evt-&amp;gt;params.rx_data.p_data[i]);
                if ((err_code != NRF_SUCCESS) &amp;amp;&amp;amp; (err_code != NRF_ERROR_BUSY))
                {
                    NRF_LOG_ERROR(&amp;quot;Failed receiving NUS message. Error 0x%x. &amp;quot;, err_code);
                    APP_ERROR_CHECK(err_code);
                }
            } while (err_code == NRF_ERROR_BUSY);
        }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;thanks &amp;amp; regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART data sending issue in custom board using nRF52832</title><link>https://devzone.nordicsemi.com/thread/476242?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2024 00:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb653e4d-6db4-46a4-bc12-f6f536641851</guid><dc:creator>RM</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;It looks like a configuration issue, can you switch to newer SDKs using Zephyr , would be easier.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Reuven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>