<?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 to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78514/how-to-interface-external-mcu-host-viauart-interface-with-nrf9160-with-only-3-pins-from-uart-rd-tx-gnd</link><description>We would like to use nRF9160 has MODEM only feature, such that MCU in our product can talk to nRF9160 via UART interface. 
 We have found an sample application [Serial LTE Modem] that comes with nRFConnect SDK , we would need to use this application with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Nov 2021 09:46:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78514/how-to-interface-external-mcu-host-viauart-interface-with-nrf9160-with-only-3-pins-from-uart-rd-tx-gnd" /><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/336809?ContentTypeID=1</link><pubDate>Mon, 01 Nov 2021 09:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e0081f-d68f-440c-928a-c045d7549c82</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;This ticket shall be closed, As I can&amp;nbsp; interface with external GPIO and able to wakeup&amp;nbsp; UART from sleep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/331531?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 13:23:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:004eed33-59a2-47b7-9472-1b4e89748a94</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Ilanchezhian&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Håkon is currently out of office, and I will assist in the mean time.&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]I am confused what is COM8 in your case , is it the one of the enumerated port of Jlink ?.[/quote]
&lt;p&gt;This should be one of the three comports enumerated by the nRF9160DK, yes. I will confirm this when he is available.&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]But Anyway , If I am using it has the external host interface where instead of using the UART0 ,using UART2 I could able to successfully sleep using AT#XSLEEP=2 command and&amp;nbsp; wakeup using the port pin P0.31. This works with both Debug as well as run mode.&amp;nbsp;[/quote]
&lt;p&gt;If I understand you correctly you can not get it to work if you try to use UART0 with default settings, but it works if you use UART2 and route the pins from the nRF9160DK to the external uart-ttl-usb device?&lt;/p&gt;
&lt;p&gt;Or are you using your own custom hardware rather than the DK?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;COM45, 46, 47 in your case should be connected to the nRF9160 on the DK,&amp;nbsp;and would not be connected to the nRF9160 on your own board.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/331128?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 14:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:124b8644-2527-4554-af24-bb7e6e66e2d4</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Hi Helsing,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;Thanks for confirming that&amp;nbsp; for me LTE link monitor stopped sending anything after issuing sleep AT command and pressing the wake up button.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff00ff;"&gt;I am confused what is COM8 in your case , is it the one of the enumerated port of Jlink ?. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff00ff;"&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff00ff;"&gt;&lt;span style="color:#ff0000;"&gt;If that is the case&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;in my case it is as COM45, 46, 47 , I tried&amp;nbsp; in all ports but it is not working , it is not able to read the Ready message which used to appear when the modem gets powered ON.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="235" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1632494296592v1.png" width="418" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1632494408678v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;But Anyway , If I am using it has the external host interface where instead of using the UART0 ,using UART2 I could able to successfully sleep using AT#XSLEEP=2 command and&amp;nbsp; wakeup using the port pin P0.31. This works with both Debug as well as run mode.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Right now our use case is to have MCU to have external uart communication, But you can still suggest if I do need to test.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With Regards&lt;/p&gt;
&lt;p&gt;Ilanchezhian T&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/331099?ContentTypeID=1</link><pubDate>Fri, 24 Sep 2021 13:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa858a32-1158-4f9f-bd17-20e73e1cb721</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;It looks like I have been able to reproduce this, and we might have a workaround. &lt;/p&gt;
[quote user="Ilanchezhian T"]BUT IF I REMOVE the breakpoints and do the same it is not working as expected , in fact nothing happens, what is that i am doing wrong.&amp;nbsp;[/quote]
&lt;p&gt;Exactly what is not working? Is the board not waking up?&amp;nbsp;Are you able to send more AT commands? If you are not able to send anything it could be that LTE Link Monitor is failing. &lt;/p&gt;
&lt;p&gt;I have been able to reproduce similar behavior where LTE Link Monitor stops working after the breakpoints are removed.&lt;/p&gt;
&lt;p&gt;Could you please try debugging the board without LTE Link Monitor and switch to a dedicated serial output terminal? Here are the settings that worked on my side. Please note that you might need to select a different COM-port on your side. I have flow control enabled as I am using SLM out of the box.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1632487313873v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Below shows the use of AT#XSLEEP=2 and wake up by button.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6378.MicrosoftTeams_2D00_image-_2800_1_2900_.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please let me know if this works on your side. Is this a satisfying workaround at this stage? The issue you reported is is possibly a corner case related to LTE Link Monitory. Hopefully, you should be able to used LTE Link Monitor going forward with your project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/330885?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 14:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27027e62-55a4-4462-b706-298491ee38e6</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Ilan,&lt;/p&gt;
&lt;p&gt;Have you made any modifications to SLM? Have you enabled any configs or implemented the changes related to disabling flow control?&lt;/p&gt;
&lt;p&gt;I am not seeing this when I am testing SLM myself. I tested without any breakpoints, and when I press the button, I can see &amp;#39;Ready&amp;#39; appear in LTE Link Monitor: &lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1632405840785v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Would you be able to share your project files?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/330716?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 15:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e6d0b4a-6c17-4bc2-ac55-2c023d31bc56</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Hi Helsing, I am trying to put UART in sleep mode&amp;nbsp; using&amp;nbsp;&lt;span&gt;AT#XSLEEP=2.&amp;nbsp; I could see that If I put breakpoint&amp;nbsp; uart power on and uart powerOFF function&amp;nbsp; of SLM sample application this features works and if I remove the breakpoint is&amp;nbsp; not working.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My Observation:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;UART 0 is enabled and UART2 is disabled&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Breakpoint is placed at uart power on() and uart power off() function&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;provide the command&amp;nbsp;AT#XSLEEP=2, break point hit in uart power off () function , run the progam&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pressed Button 0 in the nrf9160 board , break point hit on the uart power on () function , run the program&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;provide Any uart command it works&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BUT IF I REMOVE the breakpoints and do the same it is not working as expected , in fact nothing happens, what is that i am doing wrong.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please find the Link monitor terminal logs and screen shots attached for further investigation.&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/post_5F00_in_5F00_forum_5F00_sleep_5F00_modes.JPG" /&gt;&lt;img alt="break points" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/post_5F00_in_5F00_forum_5F00_sleep_5F00_modes_5F00_break_5F00_points.JPG" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log_5F00_sleep_5F00_test2_5F00_forum_5F00_post.txt"&gt;devzone.nordicsemi.com/.../log_5F00_sleep_5F00_test2_5F00_forum_5F00_post.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ilan&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/327219?ContentTypeID=1</link><pubDate>Mon, 30 Aug 2021 12:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff775e0c-86b8-4a8d-9f37-45e25fb2d672</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;1. Assume that the modem and application on nRF9160 normally takes responsibility for sleeping whenever there is nothing to do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Please &lt;span&gt;refer to&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/applications/serial_lte_modem/doc/Generic_AT_commands.html#power-saving-xsleep"&gt;Power saving #XSLEEP&lt;/a&gt;&lt;span&gt;. #XSLEEP&amp;nbsp;has three options, so the host may put nRF9160 to idle, sleep, or only put the UART to sleep.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When the host MCU wants to wake up&amp;nbsp;the UART, use the GPIO.&lt;/li&gt;
&lt;li&gt;When the host MCU wants to turn off the UART, send AT#XSLEEP=2 to put the UART only to sleep.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The UART consumes around 700µA so it should be put to sleep whenever possible. After&amp;nbsp;&lt;span&gt;eDRX/PSM is requested, it is important to verify that this is accepted by the network. &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fxmodemsleep.html&amp;amp;anchor=xmodemsleep"&gt;XMODEMSLEEP&lt;/a&gt;&amp;nbsp;is useful for synchronizing sleep and wake-ups when optimizing power consumption.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/327022?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 14:15:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:807de232-60f2-4252-a4a1-dfed9287fefc</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Yes, you need to&amp;nbsp;delete&lt;code&gt; hw-flow-control;&lt;/code&gt;&amp;nbsp;under &amp;amp;uart2 in the&amp;nbsp;&lt;span&gt;nrf9160dk_nrf9160ns.overlay file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;uart2 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	status = &amp;quot;okay&amp;quot;;
	tx-pin = &amp;lt;10&amp;gt;;
	rx-pin = &amp;lt;11&amp;gt;;
	rts-pin = &amp;lt;12&amp;gt;;
	cts-pin = &amp;lt;13&amp;gt;;
	//hw-flow-control;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can verify that hw-flow-control is completely gone from uart2 by checking the device tree in your build folder,&amp;nbsp;&lt;/span&gt;&lt;span&gt;build/zephyr/zephyr.dts.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326708?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 10:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc214a4b-8b15-42bb-9040-acaba7cdc716</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;I am still to explore on this&amp;nbsp; GPIO. But have few queries regarding this&lt;/p&gt;
&lt;p&gt;1. How does the MCU host gets indicated that nRF9160 is in idle or sleep state.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. When do we need to activate this GPIO to save power, For example my use case is that&amp;nbsp; let&amp;#39;s say during host powered ON , it sends set of&amp;nbsp; AT commands initially to&amp;nbsp; connect to network with say eDRX and PSM mode enabled/disabled. And then host application is sending the data to the external devices&amp;nbsp; every 5 mins once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326705?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 10:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8d11a7-446d-47b3-b5e9-172901c447f0</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1629972886332v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hi Helsing, I could get my application running with 3 wires and able to communicate with external uart ttl 3V3 cable. The change made is that removed RTS,CTS and hW-flow-control configurations in the nrf9160dk_nrf9160ns.overlay file . Then I just compiled the same and tested it got worked&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/25841.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;Ilanchezhian T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326702?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 10:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f5aac84-8ecd-42c7-8e23-9b6e7090cda3</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Thanks for the clarification on this&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326596?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 14:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e78971c-aa81-453a-a6a0-b0480a00ff21</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;2.a) Using the GPIO is the recommended way to go. If saving one pin is important, you may leave the peripheral running while the application is sleeping. This would add an extra&amp;nbsp;&lt;span&gt;~0.5 mA.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326588?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 13:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13941fc8-c0bf-4164-81e2-7c0ad0bbd6b4</guid><dc:creator>helsing</dc:creator><description>[quote user="Ilanchezhian T"]2) What are the necessary UART pins required ( As per the application note we have seen that 5 pins (RTS,CTS,RX,TX,GPIO) are mentioned, &lt;br /&gt; I think GND pin is also required as the uart signals are not differential signals)[/quote]
&lt;p&gt;2) Normally, only the three connections RX, TX and ground are needed for UART to work without flow control. I have not yet been able to confirm whether someone has tested disabling this with serial_lte_modem, specifically.&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]2.a) If all the pins are not required ( then RX,TX,GND) is ok to establish connection between modem and our host microcontroller[/quote]
&lt;p&gt;2.a) The serial_lte_modem has a config option,&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/applications/serial_lte_modem/doc/slm_description.html#cmdoption-arg-CONFIG_SLM_INTERFACE_PIN"&gt;&lt;code&gt;&lt;span&gt;CONFIG_SLM_INTERFACE_PIN&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;Interface&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;GPIO&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;to&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;wake&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;up&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;or&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;exit&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;idle&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;mode&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;,&amp;nbsp;for setting up an additional GPIO between nRF9160 and the external MCU. This GPIO seems to be used for exiting nRF9160 from IDLE or sleep. If you have another way to wake up nRF9160, then only RX, TX and GND are needed between the two devices.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img height="155" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1629898617663v1.png" width="203" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326498?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 10:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdcfa869-72f3-4727-83dd-7e73748c7aa8</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;6.a) Thank you for the clarification. In order to program the nRF9160 SiP you only need the programming interface mentioned as a reply to 6).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326456?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 07:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae68d244-4804-49f0-a204-794f2e4bd3e2</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;&lt;span&gt;6.a) Question is - Do we need to have&amp;nbsp; similar hardware circuitry as present in nRF9160 DK ( usb connector and debugger circuitry) in our product in order to code flashing in both Modem Processor and Application Processor.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326455?ContentTypeID=1</link><pubDate>Wed, 25 Aug 2021 07:02:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb45109-e473-4c9f-b31d-7416927845a3</guid><dc:creator>helsing</dc:creator><description>[quote user="Ilanchezhian T"]5) We might need to develop the custom hardware that gets plugged into our product, How easy is to customize the &amp;quot;LTE Serial Modem&amp;quot; software available as part of nrf9160 SDK[/quote]
&lt;p&gt;It sounds like changing a few configs and device tree properties will allow you to run the application on a custom board. We are not&amp;nbsp;testing the applications in all possible combinations of configurations, so you would need to perform tests, like any project.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]5.a) If it is very simple only in terms of configurations please provide us some steps to perform this[/quote]
&lt;p&gt;This should be feasible. Going through the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/applications/serial_lte_modem/doc/slm_description.html#application-description"&gt;application description&lt;/a&gt;&amp;nbsp;and the section on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/applications/serial_lte_modem/doc/slm_description.html#connecting-with-an-external-mcu"&gt;Connecting with an external MCU&lt;/a&gt;&amp;nbsp;should get you started. I will be back with more details.&lt;/p&gt;
&lt;p&gt;One approach, as you are moving forward,&amp;nbsp;might be to demonstrate the setup using an nRF 52 series DK. This setup has been tested, and it allows you to get familiar with the functionality.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please also read the section&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/applications/serial_lte_modem/doc/slm_extending.html#extending-the-application"&gt;Extending the application&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326431?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 21:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:760d6fec-b741-47b1-96eb-a4d4fa83dc90</guid><dc:creator>helsing</dc:creator><description>[quote user="Ilanchezhian T"]4) Our microcontroller I/O line is 3.3V does the nRF9160 supports 3.3V on its I/O line[/quote]
&lt;p&gt;&amp;nbsp;4) Yes. As mentioned above, make sure to configure nRF9160 accordingly.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]6) In our custom hardware , to flash the nrf9160 modem software and its MCU for applications, What are the additional circuitry required other than the uart I/F connections, VCC and GND ?[/quote]
&lt;p&gt;&amp;nbsp;6) You will need the 10-pin &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/ext_programming_support.html"&gt;programming interface&lt;/a&gt; in Table 1. Does your board have tight pcb area constraints? If that case, you could convert this to a 6-pin interface. The board will&amp;nbsp; in any case need to have it&amp;#39;s own supply as this is not supplied through the programming interface.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="Ilanchezhian T"]6.a) I think we need usb and jlink circuitry, please provide your input in this regard[/quote]
&lt;p&gt;6.a) Sorry, I am not sure exactly what you are asking for. Could you please explain?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326403?ContentTypeID=1</link><pubDate>Tue, 24 Aug 2021 14:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3cde078-82cb-4c44-b6c4-0cea26acd0b8</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;1.a) This approach should be fine. Just make sure the voltages are correct. It could be a good idea to measure the voltages from the&amp;nbsp;&lt;span&gt;USB-232-3V3 cable to see if they infact are 3V3. Have you checked this communication with a scope? Also remember to set up nRF9160 DK for 3V3 communication. You can set the VDD voltage to 3V0 with SW9, however, you probably need to go to 3V3. This can be done by &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/power_sources_vdd.html"&gt;customizing the DK&amp;#39;s voltage level&lt;/a&gt;. If you apply 3V3 to VIO_REF(P20) then the GPIO voltages should be adjusted automatically.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Ilanchezhian T"]3) What are pins present in nRF9160-DK can be used to have external UART interface with host microcontroller[/quote]
&lt;p&gt;&amp;nbsp;3) You may choose any pin that is not already in use. I could get back to you with a few examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Answers to the rest of your questions will follow later today.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/326138?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 10:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef53ef88-3677-4c29-a13c-9ef598e6caf2</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Let me put down what I am trying to Evaluate.&lt;/p&gt;
&lt;p&gt;Our objective is to use the nrF9160 as a module which can act as AT modem and can be&lt;br /&gt;interfaced with our 16bit microcontroller via UART I/F.&lt;/p&gt;
&lt;p&gt;Setup for Evaluation:&lt;/p&gt;
&lt;p&gt;Hardware used - nRF9160-DK&lt;/p&gt;
&lt;p&gt;Software used -&lt;/p&gt;
&lt;p&gt;1. Modem Firmware - mfw_nrf9160_1.3.0&lt;/p&gt;
&lt;p&gt;2. SDK - version 1.6.1&lt;/p&gt;
&lt;p&gt;3. Application Software - LTE Serial Modem ( present in the installed sdk under location : C:\ESLI\nrfIDE\v1.6.1\nrf\applications\serial_lte_modem)&lt;br /&gt; - Please suggest is this a right application we have choosen for our use case&lt;/p&gt;
&lt;p&gt;4. With the USB cable connected and emulated via VCOM port, we are able to communicate via NRF link Manager software using AT commands&lt;/p&gt;
&lt;p&gt;Queries:&lt;/p&gt;
&lt;p&gt;Please note as we do not know how the &amp;quot;LTE Serial Modem&amp;quot; software is written we have certain queries which are listed below, &lt;br /&gt;also for initial evaluation we are planning to use the nrF9160-DK, before going with custom hardware&lt;/p&gt;
&lt;p&gt;1) For our initial validation to check external UART is possible, I am planning to connect the pins of USB-232-3V3 cable &lt;br /&gt; to the UART pins present in the nrF9160-DK and provide AT command via any PC serial terminal software like Docklite for example.&lt;br /&gt; 1.a) Could you please let us know this appoach is fine. This is what we are trying and could not do as of now.&lt;/p&gt;
&lt;p&gt;2) What are the necessary UART pins required ( As per the application note we have seen that 5 pins (RTS,CTS,RX,TX,GPIO) are mentioned, &lt;br /&gt; I think GND pin is also required as the uart signals are not differential signals) &lt;br /&gt; 2.a) If all the pins are not required ( then RX,TX,GND) is ok to establish connection between modem and our host microcontroller&lt;/p&gt;
&lt;p&gt;3) What are pins present in nRF9160-DK can be used to have external UART interface with host microcontroller &lt;br /&gt; 3.a) Does any modifications in &amp;quot;LTE Serial Modem&amp;quot; software [OR] some configuration that needs to be done to have &amp;quot;LTE Serial Modem&amp;quot; with respect to UART interface&lt;/p&gt;
&lt;p&gt;4) Our microcontroller I/O line is 3.3V does the nRF9160 supports 3.3V on its I/O line&lt;/p&gt;
&lt;p&gt;5) We might need to develop the custom hardware that gets plugged into our product, How easy is to customize the &amp;quot;LTE Serial Modem&amp;quot; software available as part of nrf9160 SDK&lt;br /&gt; 5.a) If it is very simple only in terms of configurations please provide us some steps to perform this&lt;/p&gt;
&lt;p&gt;6) In our custom hardware , to flash the nrf9160 modem software and its MCU for applications, What are the additional circuitry required other than the uart I/F connections, VCC and GND ?&lt;br /&gt; 6.a) I think we need usb and jlink circuitry, please provide your input in this regard&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/325543?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 14:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8b42842-7035-4796-82ca-17a91489d1f8</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Thanks for the response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. I could see the different information ( mentioned in nRF9160 DK HW manual and application description in developer guide) regarding the UART2 pins of the nrF9160. Which one is correct I am really confused.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt="nrF9160 DK connection diagram" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2.jprg.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Different infomation in DK user guide and developer guide regarding UART2 connection with nrF9160" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0312.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0334.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2.regarding the settings to be touched I have taken a screen shot, could you provide your feedback for the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Project setting and configuration details " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8357.nrf9160_5F00_uart2_5F00_settings.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;3. As I am new to embedded linux based development, I do not really understand how feature configuration and pin configuration works in the form of .dts, .dtsoverlay, menuconfig and prj.conf. Please let me know the proper steps to configure and use application processors&amp;nbsp;UART2 of nRF9160 in 2 pin mode. My end objective is to interface my external MCU host via UART interface to communicate via UART I/F with nrF9160 modem via AT commands.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ilanchezhian T&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/325436?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 09:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:935ee3b2-8799-4055-9f63-56f44b031c79</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Take a look at this case and let me know how it goes.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74011/disable-hwfc-in-serial-modem-application"&gt;Disable HWFC in serial modem application&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to interface  external MCU host viaUART interface with nrf9160, with only 3 pins from UART (RD,TX,GND)</title><link>https://devzone.nordicsemi.com/thread/324999?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 03:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec4847c5-1044-4a66-bf69-57ce00221939</guid><dc:creator>Ilanchezhian T</dc:creator><description>&lt;p&gt;Before connecting any other host MCU, is there a way to connect the external USB to UART TTL cable to test the function of modem nrf9160 using AT commands.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If so please let me know the steps to do that&amp;nbsp; in&amp;nbsp;&lt;span&gt;nRF9160 development kit&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf9160-dk"&gt;https://www.nordicsemi.com/Products/Development-hardware/nrf9160-dk&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ilanchezhian&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>