<?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>[nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87754/nrf-connect-sdk-uart-tx-failure</link><description>Target nRF52832(nrf52dk_nrf52832) SDK NCS v1.9.1 my.dts &amp;amp;uart0 { status = &amp;quot;okay&amp;quot;; tx-pin = &amp;lt;14&amp;gt;; rx-pin = &amp;lt;13&amp;gt;; rts-pin = &amp;lt;17&amp;gt;; cts-pin = &amp;lt;16&amp;gt;; current-speed = &amp;lt;921600&amp;gt;; hw-flow-control; }; [URGENT] Issue: UART Tx failure. ( Most of time . In failure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 May 2022 10:01:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87754/nrf-connect-sdk-uart-tx-failure" /><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367788?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 10:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd86c7ac-b0b0-4b70-a081-b0f31d4a50aa</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;I could manage to fix it.&lt;br /&gt;&lt;br /&gt;Your uart driver worked well. All is timing issue between MCU s/w and my project. I reduce my margin and it works.&lt;br /&gt;Thanks for your support anyway.&lt;br /&gt;(I&amp;#39;m still using polling for Tx.)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367727?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 23:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb3af51-cce8-4916-ade6-407db6f99728</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;It was not effective for me.&lt;br /&gt;poll api, int api for tx is not working.&lt;br /&gt;async api works but I cannot use it as I mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367605?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 12:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17dbb292-3894-45b8-8ccc-1275008e7c58</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Would that be fine for you? To use&amp;nbsp;&lt;code&gt;uart_poll_out()&lt;/code&gt; to send data? Should we close this ticket?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367502?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 02:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35efae71-9ef3-46aa-92a6-f8eb55ece047</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;Thanks for updating.&lt;br /&gt;From your sample, INT used for Rx with polling writing api. It seems that It is nothing different with me.&lt;br /&gt;&lt;br /&gt;Prj.conf&lt;br /&gt;CONFIG_SERIAL=y&lt;br /&gt;CONFIG_UART_INTERRUPT_DRIVEN=y&lt;br /&gt;main.c&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;span class="pl-c1"&gt;uart_poll_out&lt;/span&gt;&lt;span&gt;(uart_dev, buf[i]);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I&amp;#39;m checking 4 uart line with micro-scope then update it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367489?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 20:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54181ec2-54b4-4fda-8de2-6db4aee5c594</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the late answer, I was a little bit busy today. Have you seen the sample&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/drivers/uart/echo_bot"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/drivers/uart/echo_bot&lt;/a&gt;? Please let me know if this is not suficcient and I will help you&amp;nbsp;to have the firmware ready before the end of the week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367278?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 04:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fecd45d5-c978-4ada-845c-4c30621ad2c8</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;In my test, async uart sample works with my target MCU so far. However I&amp;#39;m using interrupt-driven method due to case #286832 at the beginning of NCS project.&lt;br /&gt;&lt;br /&gt;My project do requires good performance of UART Rx.&amp;nbsp;&lt;span&gt;(current-speed = &amp;lt;921600&amp;gt;;&amp;nbsp;&lt;/span&gt;&lt;span&gt;hw-flow-control;)&amp;nbsp;&lt;br /&gt;Otherwise We don&amp;#39;t have lots of Tx data than Rx.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Currently I&amp;#39;m satisfied with INT-driven with uart for Rx.&amp;nbsp;&lt;br /&gt;I believe you can give me good solution.&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367275?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 01:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d6c8db-76d9-46f8-b52f-c007441e793b</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652233373611v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;I found uart_irq_tx_complete() returns &amp;#39;0&amp;#39; in success case. Please take into your consideration.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] uart tx failure</title><link>https://devzone.nordicsemi.com/thread/367249?ContentTypeID=1</link><pubDate>Tue, 10 May 2022 18:40:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4f89c01-b2ff-429c-b5f4-d6d6fb28b594</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello, I will take a look at this tomorrow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>