<?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>nRF52840 UART TX pin pulled high (and kept high) by receiving device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43729/nrf52840-uart-tx-pin-pulled-high-and-kept-high-by-receiving-device</link><description>Hello, 
 When troubleshooting a lack of UART communication between my nRF52840 and the device on the receiving end (an STM32L4), an oscilloscope revealed that the TX pin state (from the nRF to the STM) is being held high, presumably by the STM, despite</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Feb 2019 17:34:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43729/nrf52840-uart-tx-pin-pulled-high-and-kept-high-by-receiving-device" /><item><title>RE: nRF52840 UART TX pin pulled high (and kept high) by receiving device</title><link>https://devzone.nordicsemi.com/thread/171477?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 17:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f409b8fa-b851-44ad-bbed-ddfa69296fff</guid><dc:creator>awneil</dc:creator><description>[quote userid="77069" url="~/f/nordic-q-a/43729/nrf52840-uart-tx-pin-pulled-high-and-kept-high-by-receiving-device/171463"]we can see the data on the scope before the ST boots, then stepping through the ST code line by line will eventually pull the line high when the ST UART is enabled[/quote]
&lt;p&gt;That would still be consistent with you having TX &amp;amp; Rx transposed at the STM32:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Before the UART is configured, the pin will be an input (Hi-Z);&lt;/li&gt;
&lt;li&gt;After&amp;nbsp;&lt;span&gt;the UART is configured, its Tx pin will become an output - which would force the line state.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 UART TX pin pulled high (and kept high) by receiving device</title><link>https://devzone.nordicsemi.com/thread/171463?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 16:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25770f0a-c7c2-4e8c-b258-88cc1eb1cb94</guid><dc:creator>Trent Palmer</dc:creator><description>&lt;p&gt;I&amp;#39;m very confident in the connections being correct; we can see the data on the scope before the ST boots, then stepping through the ST code line by line will eventually pull the line high when the ST UART is enabled. The obvious solution to me is to modify the ST UART&amp;nbsp;but there appears to be little to no&amp;nbsp;configuration available on the ST UART RX side of things.&lt;/p&gt;
&lt;p&gt;Although we are now thinking the dev kit may be part or all of the problem as the ST engineer has reported success when removing it from the equation. I will update when I know more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 UART TX pin pulled high (and kept high) by receiving device</title><link>https://devzone.nordicsemi.com/thread/171257?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 23:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:179a19f6-4403-48fd-860d-b9c43898e8ef</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Are you sure you have Tx &amp;amp; Rx the correct way around?&lt;/p&gt;
&lt;p&gt;The output from the nRF must go to the input of the STM, and &lt;em&gt;vice versa&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Concentrate on the the input and output functions - not the &amp;quot;Tx&amp;quot; and &amp;quot;Rx&amp;quot; names ...&lt;/p&gt;
&lt;p&gt;Is the STM on a Dev Kit? If so, check that there is nothing else on the Dev Kit using&amp;nbsp; those pins ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>