<?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>nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70632/nrf9160-dk-uart-connection-with-external-mcu</link><description>Hi, we have a nRF9160 DK where we have uploaded the AT_CLIENT example on. Have tested the board and it works fine, able to send AT Commands and join to the network etc... Now we want to communicate with the nrf9160 modem through UART with an external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2021 10:34:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70632/nrf9160-dk-uart-connection-with-external-mcu" /><item><title>RE: nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/thread/289969?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 10:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f73c16d4-a32e-4de6-a75c-59e435fe7a3a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great!&lt;/p&gt;
[quote user="Hamza_HK"]The only issue this doesn&amp;#39;t work is that the guide does not state how to get GPIO output level on nRF9160 side to 3V[/quote]
&lt;p&gt;&amp;nbsp;Thanks for the feedback. I agree that the guide should include this information. I will forward this improvement suggestion to the team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/thread/289896?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 01:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58fb47b6-0bdb-4ffc-bc87-eb2b599de733</guid><dc:creator>Hamza_HK</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Update:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We managed to make it work with Serial LTE Modem example. Following this&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_description.html"&gt;guide&lt;/a&gt;&amp;nbsp;and scroll down to connecting with an external MCU. The only issue this doesn&amp;#39;t work is that the guide does not state how to get GPIO output level on nRF9160 side to 3V. @Heidi states on this forum &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69489/nrf9160-dk-serial-lte-modem-not-answering-to-at-commands/286447#286447"&gt;discussion&lt;/a&gt;&amp;nbsp;that &lt;strong&gt;the SW11 is to be set to 3V for to get the correct GPIO output level.&amp;nbsp;&lt;/strong&gt;So the solution is as follows:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;on nRF52840 DK we flashed &lt;a href="https://github.com/NordicPlayground/nRF52-clients-for-serial-LTE-modem"&gt;nrf52 client lte&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;on nRF96160 DK we flashed &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/applications/serial_lte_modem"&gt;serial_lte_modem&amp;nbsp;&lt;br /&gt;&lt;/a&gt;&lt;strong&gt;on nRF9160 DK set SW11 to 3V (!!!!)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Connect UART pins according to connecting with an external mcu table in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_description.html"&gt;slm description&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If those steps are followed correctly, then nRF9160 UART is accessible and responsive to AT Commands.&lt;/p&gt;
&lt;p&gt;Hopefully this is helpful for everyone!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hamza&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/thread/289895?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 23:31:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bdf5f37-2ecc-4809-9c96-d81f9af12017</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Steps if you are using nRF9160 DKs that is older than v.0.15.0:&lt;/p&gt;
&lt;p&gt;The board-controller FW that is on the nRF52840 on the nRF9160DK, will route the nRF9160 pins P0.00, P0.01, P0.14, and P0.15 to the Segger/programmer chip&amp;#39;s virtual com port, but you need to route these pins to the header. Take a look at Martin&amp;#39;s post here on how to do that:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk/178988#178988"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk/178988#178988&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The post is a tiny bit outdated on the names, the the target board for the nRF52840 on the nRF9160DK is now called nrf9160dk_nrf52840, and the config you need to set to route the pins&amp;nbsp;&lt;span&gt;P0.00, P0.01, P0.14, and P0.15, to the header is called&amp;nbsp;CONFIG_BOARD_NRF9160DK_UART1_ARDUINO&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the post a pre-compiled board controller with this configuration is also found, named&amp;nbsp;board_controller_uart1.hex , flash it to the nRF52840 on the nRF9160DK. (remember to set programming switch to nRF52 when you do this)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you are using nRF9160 DK v0.15 then&amp;nbsp;all GPIOs are now always connected to headers.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If you are still having issues, then try to use some other pins on the nRF52840DK.&lt;/p&gt;
&lt;p&gt;Let me know how it goes.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Sigurd&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/thread/289894?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 00:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e9a43db-3173-466b-a519-2a8af48770f0</guid><dc:creator>Hamza_HK</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, we are planning to send AT commands over the UART from the external MCU (nRF52840 DK) to nRF9160 modem (nRF9160 DK). Yes to use the nRF9160 as a serial LTE modem.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For nRF52840 we are using nRF5280 DK and the application is based on the nRF5 SDK.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRF9160 UART Pins

RXD Pin 0.00
TXD Pin 0.01 
RTS Pin 0.14
CTS Pin 0.15

nRF52840 UART Pins 

RX Pin P0.05
TX Pin P0.08
RTS Pin P0.13
CTS Pin 0.14&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Connection between nRF52840 DK and nRF9160 DK:&amp;nbsp;&lt;br /&gt;RX to TXD&amp;nbsp;&lt;br /&gt;TX to RXD&amp;nbsp;&lt;br /&gt;RTS to CTS&lt;br /&gt;CTS to RTS&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Hamza&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK UART Connection with External MCU</title><link>https://devzone.nordicsemi.com/thread/289893?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 16:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e630b713-7838-41da-87bc-13e946fc3b20</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]We have looked through the forum and the user manual but we were not successful with achieving our goal.[/quote][quote user=""]How can we connect the external MCU with the nrf9160 board through UART?&lt;br /&gt;[/quote]
&lt;p&gt;&amp;nbsp;What are you planning to send over the UART?&amp;nbsp;Are you planning to send AT commands, and control the modem on the nRF9160 using the nR52840? I.e. use the nRF9160 as a&amp;nbsp;Serial LTE modem? or are you planning something else?&lt;/p&gt;
&lt;p&gt;What nRF52840 board are you using ? Do you have a custom board with a nRF52840, a nRF52840-DK, or are you using the on-board nRF52840 on the nRF9160DK?&lt;/p&gt;
&lt;p&gt;Is your nRF52840 application based on nRF5 SDK or NCS(nRF Connect SDK)?&lt;/p&gt;
&lt;p&gt;What pins on the nRF9160DK did you use for the UART ? Can you describe how you connected the nRF52840 and nRF9160DK?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Sigurd&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>