<?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>Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65860/connect-uart-to-j-link-to-access-openthread-cli-with-nrf-connect-sdk</link><description>My team is trying to acess OpenThread CLI over UART0 with the nRF Connect SDK OpenThread CLI sample with our custom board. 
 We have tested with a Nordic&amp;#39;s nRF52840 DevKit and it works perfectly, however with our custom board using a J-Link which doesn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Nov 2020 08:15:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65860/connect-uart-to-j-link-to-access-openthread-cli-with-nrf-connect-sdk" /><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/280520?ContentTypeID=1</link><pubDate>Wed, 18 Nov 2020 08:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e273b05a-57ed-47be-86fd-1ee9d1a0572b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry, I thought this was done in the config file but it seems I was mistaken when I went to make sure. Please add the following snippet as part of your UART initiatilization code before you enable the UART in order to disable flow control.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;struct uart_config cfg;
uart_config_get(uart, &amp;amp;cfg);
cfg.flow_ctrl = UART_CFG_FLOW_CTRL_NONE;
uart_configure(uart,&amp;amp;cfg);&lt;/pre&gt;&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><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/280266?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 08:59:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c0d6196-406f-4a23-b320-4c9c846f5fd9</guid><dc:creator>GPereira</dc:creator><description>&lt;p&gt;Hello, thank you.&lt;/p&gt;
&lt;p&gt;Which Kconfig option can I use for that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/280255?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 08:18:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc833c4e-bfcc-4f9b-95e5-016116a32080</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Edvin is on leave for the time being, so I have been tasked with looking after this case in his place. It seems like the correct way of disabling flow control is to do so in your prj.conf file.&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><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/279945?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 14:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88b9e1de-1f45-495e-a979-91a925a25fbc</guid><dc:creator>GPereira</dc:creator><description>&lt;p&gt;No it does not work with any sample. Only works on nRF52840 DK but on my device I am not able to use hardware flow control. Any solution? I only need that connection for debugging purposes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269854?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d86b28bd-cec8-443d-ba87-58db3b82be92</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, I guess you tried this in another example, and it worked? I suspect that it is a bit different in the Openthread examples, because the UART is more heavily weaved into the openthread module. I will have to look more into this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First: Can you confirm that this works without any issues in a non-thread examples in NCS (nRF Connect SDK)? E.g a hello-world or blinky example,&amp;nbsp;where you don&amp;#39;t use flow control on the custom board? Just to check whether this is opnethread related at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269697?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 14:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ba81d62-4344-434f-8fc4-d46d6a458074</guid><dc:creator>GPereira</dc:creator><description>&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace, &amp;#39;Droid Sans Fallback&amp;#39;;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#9cdcfe;"&gt;&amp;amp;uart0&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; compatible = &lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;quot;nordic,nrf-uart&amp;quot;&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; status = &lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; current-speed = &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;115200&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; tx-pin = &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;6&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt; rx-pin = &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;8&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#d4d4d4;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269695?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 14:21:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03fc79a0-505c-4e8a-ac63-04c3a821080a</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;How exactly did you change this in your device tree?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269429?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 14:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6097632a-757c-4057-85f5-b18178d2aa0c</guid><dc:creator>GPereira</dc:creator><description>&lt;p&gt;I am describing the UART interface on NCS using device tree. I am declaring my UART pins and I would expect to access zephyr console from that interface. We can put openthread to the side for now since openthread CLI will be on top of that using the ot command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269425?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 14:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0c90d8d-0cd7-49fa-af9a-96003a70c1b0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Actually, I don&amp;#39;t think that openthread is dependent on the LFXTAL. If you want to change something on the UART, you need to rebuild the openthread stack. Please check &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/thread_ot_libraries_building.html?cp=7_3_2_1_4" rel="noopener noreferrer" target="_blank"&gt;how to rebuild it&lt;/a&gt;, and modify the UART before you build it. Make sure to use the same github tag as the SDK is using. It is mentioned in&amp;nbsp;4.1.0\external\openthread\project\readme.txt.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269419?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 14:10:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74502a1b-9c76-4a40-aedc-74dab99d470b</guid><dc:creator>GPereira</dc:creator><description>&lt;p&gt;How can I define such thing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connect UART to J-Link to access OpenThread CLI with nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/269418?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 14:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:310a9bdf-1681-4324-b120-9d1a1757593b</guid><dc:creator>Edvin</dc:creator><description>[quote user=""]We already tried the blinky example so we have ensured ourr power supply is OK[/quote]
&lt;p&gt;&amp;nbsp;I am not sure exactly how this works in NCS (nRF Connect SDK), but it is a common issue in the nRF5 SDK. Does your custom board have an external LFXTAL? If not, is the application aware of this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>