<?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>How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65718/how-can-i-output-log-information-on-my-nrf9160-board</link><description>I have designed a nrf9160 debugging board, which uses 18 and 19 pin as the log output. Then I also configure the TX and Rx of UART0 in the overlay file, which are 18 and 19 respectively. However, when I connect to the PC with the serial port cable, I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Sep 2020 10:59:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65718/how-can-i-output-log-information-on-my-nrf9160-board" /><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/269828?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 10:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2605fe7-d98c-4098-9dfc-29dbfb9d7ce8</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Please try to use another serial terminal, e.g. Termite.&lt;br /&gt;&lt;br /&gt;Another thing you could do is connect a logic analyzer to the UART pins to if it behaves correctly.&lt;br /&gt;&lt;br /&gt;You could also debug your code and check if the UART callback handler is triggered when you try to send an AT command to the nrf9160&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/269771?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 07:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b91b12f1-ab5a-4c2b-adb0-4004c176e83d</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;Yes, i only use tx and rx pins, my&amp;nbsp;project is base on NCS v1.2.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/268940?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 11:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a18e6749-54ea-4767-8f8b-90c3e8f7db4d</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Duxinglang,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you only use tx and the rx pins? or have the rts-pin and cts-pin connected?&lt;br /&gt;If you are using flow-control on NCS v1.3.0 you need to enable &amp;quot;hw-flow-control&amp;quot; in the .overlay file.&lt;br /&gt;&lt;br /&gt;Please test with the at-client sample.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can also use this guide as reference posted in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk/178988#178988" rel="noopener noreferrer" target="_blank"&gt;devzone thread.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/268828?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 02:13:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a628d443-f5f4-45f4-a7e4-df8312880432</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;I have rebooted &lt;span&gt;the LTE link Monitor&amp;nbsp;&lt;/span&gt;many times, but it still can&amp;#39;t execute the at command. Because I have seen the log output, it&amp;#39;s not the pin problem, and it shouldn&amp;#39;t be the cause of CR-LF, If I connect the PC with the USB interface of DK board, it can execute these at commands. So I wonder if&amp;nbsp;IF-MCU has any other control over at commands?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/268742?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 12:16:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06b5605a-adeb-4537-8024-bdb63dcfb77a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Duxinglang,&lt;br /&gt;&lt;br /&gt;Please make sure that you have set the correct pin, and I would also advice you to reset the LTE link Monitor. (sometimes you can get similar symptom, but fix it with just a restart)&lt;br /&gt;&lt;br /&gt;You could also test out another Serial Terminal, Such as Termite and make sure you have the correct command ending:&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5516ae7fab81415186a52930da427921/pastedimage1599653658786v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I would also like you to just run the plain AT client sample when testing this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;To make the overlay work, make sure you have the correct name &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/nrf9160/lte_ble_gateway/nrf9160dk_nrf9160ns.overlay" rel="noopener noreferrer" target="_blank"&gt;for that file.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is also described in the NCS tutorials:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial" href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial" rel="noopener noreferrer" target="_blank"&gt;NCS Tutorial - Part 0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/ncs-tutorial---temporary" href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/ncs-tutorial---temporary" rel="noopener noreferrer" target="_blank"&gt;NCS Tutorial - Part 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial---part-2-1478313418" href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial---part-2-1478313418" rel="noopener noreferrer" target="_blank"&gt;NCS Tutorial - Part 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial---part-3-temporary" href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial---part-3-temporary" rel="noopener noreferrer" target="_blank"&gt;NCS Tutorial - Part 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/268644?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 07:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca9bce96-318f-42be-99e9-c619a93b9797</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;It seems that the at command does not correspond&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QQ_FE564772_20200909151601.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I output log information on my nrf9160 board?</title><link>https://devzone.nordicsemi.com/thread/268641?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 07:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a1982a5-2102-49ef-9494-0ae07f31c587</guid><dc:creator>duxinglang</dc:creator><description>&lt;div class="trans-left"&gt;
&lt;div class="trans-input-wrap"&gt;
&lt;div class="input-wrap" dir="ltr"&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;Now，I can modify the uart0 tx-pin and rx-pin in the nrf9160_pca10090_common.dts file directly , and now it can output log. However, all&amp;nbsp;AT instructions are invalid, and from the monitor interface, many functions are limited. Why?&lt;/div&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
};

&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;31&amp;gt;;
	rx-pin = &amp;lt;30&amp;gt;;
	rts-pin = &amp;lt;27&amp;gt;;
	cts-pin = &amp;lt;26&amp;gt;;
};

&amp;amp;uart1 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;1&amp;gt;;
	rx-pin = &amp;lt;0&amp;gt;;
	rts-pin = &amp;lt;14&amp;gt;;
	cts-pin = &amp;lt;15&amp;gt;;
};&lt;/pre&gt;&lt;/div&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QQ_FE564772_20200909151230.png" /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>