<?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>COM port forwarding on nRF9160-DK / Pin conflict with nRF7002-EK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109108/com-port-forwarding-on-nrf9160-dk-pin-conflict-with-nrf7002-ek</link><description>Hello, we are using the nRF9160-DK for one of our project demonstrators (proof of concept, prototype). 
 For easier implementation, we will not use the nRF52840 MCU, so no logic for individually switching of the COM ports is implemented. 
 As I need more</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Mar 2024 12:59:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109108/com-port-forwarding-on-nrf9160-dk-pin-conflict-with-nrf7002-ek" /><item><title>RE: COM port forwarding on nRF9160-DK / Pin conflict with nRF7002-EK</title><link>https://devzone.nordicsemi.com/thread/473432?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2024 12:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bf1bc4-8b03-4b9d-afe6-f1b8357c00ad</guid><dc:creator>Kenneth</dc:creator><description>[quote user="puz_md"]If /IF_MCU_DISCONNECT is pulled to GND via SW6, U14 connects nRF91_UART1_CTRL to VDD and nRF91_UART2_CTRL to GND. This directly disconects the VCOM* ports from the nRF91. The nRF52 might still get a feedback signal about the switch position, but it does not control the relevant nRF91_UART*_CTRL signals at the switches anymore.[/quote]
&lt;p&gt;Sorry,&amp;nbsp;You are correct, I overlooked this switch.&lt;/p&gt;
[quote user="puz_md"]If I understand correctly, this means that I cannot disable the VCOM ports with SW6 and still use the develompent kit&amp;#39;s built in debugger. I either have to use a separate debugger or configure the nRF52 to disable the VCOM port in question.[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Correct, SW6 is meant to disconnect the debugger from the circuit entirely. To only disable parts, this must be done in the nRF52840 board controller.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="puz_md"]&lt;p&gt;(1) Do not use the onboard debugger - turn it off via SW6 or use a different power source (e.g. VIN3-5V on P20) - and program the nRF91 via the nRF91 Debug In connector P18&lt;/p&gt;
&lt;p&gt;(2) First program the nRF52 before you mount the nRF7002-EK so that it pulls nRF91_UART2_CTRL to Low, which disconnects the VCOM2 from the nRF91 and frees the Arduino pins P3.1&amp;amp;P3.2&lt;/p&gt;[/quote]
&lt;p&gt;This looks correct, however in (1) you can still use USB to supply the kit if that is desired.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is an overlay which will disable the UART on this pins when using nRF7002EK. See sdk-nrf-2.5.2\samples\cellular\lwm2m_client\boards\nrf9160dk_with_nrf7002ek.overlay&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: COM port forwarding on nRF9160-DK / Pin conflict with nRF7002-EK</title><link>https://devzone.nordicsemi.com/thread/473295?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 18:50:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381ae105-55b4-4199-9db6-cf4fbe1f8381</guid><dc:creator>puz_md</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;thank you for telling me about the background of this circuit!&lt;/p&gt;
[quote userid="2111" url="~/f/nordic-q-a/109108/com-port-forwarding-on-nrf9160-dk-pin-conflict-with-nrf7002-ek/473275"]SW6 does not control UART switches directly. The &amp;quot;IF_MCU_DISCONNECT&amp;quot;, coming from SW6, is an input to nRF52840, so if SW6 diasbles the UARTs or not is dependent on the FW running in nRF52840.[/quote]
&lt;p&gt;Here I disagree, please have a look at this part of the schematic (and the &amp;quot;UART control&amp;quot; block posted last time):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1710181500275v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If /IF_MCU_DISCONNECT is pulled to GND via SW6, U14 connects nRF91_UART1_CTRL to VDD and nRF91_UART2_CTRL to GND. This directly disconects the VCOM* ports from the nRF91. The nRF52 might still get a feedback signal about the switch position, but it does not control the relevant nRF91_UART*_CTRL signals at the switches anymore.&lt;/p&gt;
&lt;p&gt;Unfortunately, looking into the schematic again, I noticed that /IF_MCU_DISCONNECT also disables the power supply to the IMCU:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1710181903774v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I understand correctly, this means that I cannot disable the VCOM ports with SW6 and still use the develompent kit&amp;#39;s built in debugger. I either have to use a separate debugger or configure the nRF52 to disable the VCOM port in question.&lt;/p&gt;
&lt;p&gt;This leads me back to my initial question: How can I use the nRF7002-EK safely on the nRF9160-DK? Please have a look at Arduino header P3.1-P3.2, which is nRF9160 port P0.0 and P0.1. These pins are connected to UART2 RXD and TXD (connected to VCOM2). The nRF7002-EK uses the same Arduino pins P3.1-P3-2 for IOVDD_EN and BUCK_EN.&lt;/p&gt;
&lt;p&gt;Is my assumption correct that there are only two ways to safely use the nRF7002-EK on the nRF9160-DK?&lt;/p&gt;
&lt;p&gt;(1) Do not use the onboard debugger - turn it off via SW6 or use a different power source (e.g. VIN3-5V on P20) - and program the nRF91 via the nRF91 Debug In connector P18&lt;/p&gt;
&lt;p&gt;(2) First program the nRF52 before you mount the nRF7002-EK so that it pulls nRF91_UART2_CTRL to Low, which disconnects the VCOM2 from the nRF91 and frees the Arduino pins P3.1&amp;amp;P3.2&lt;/p&gt;
&lt;p&gt;If something slipped my mind, please let me know.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: COM port forwarding on nRF9160-DK / Pin conflict with nRF7002-EK</title><link>https://devzone.nordicsemi.com/thread/473275?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 16:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e92fe15a-1fd0-4747-8fc6-2c88c237ccfa</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]This means both ports are pre-enabled while in one case with a High signal, in the other case with a Low signal? Does this make any sense ????[/quote]
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Yes, you are correct, one is active high and one is active low, I agree this is unfortunate. If some backround is of interest, early on it was planned to pipe all data through one UART, and thus only have 1 UART enabled by default. Since the switch IC uses less current with the input signal low it made sence to have the default setting with low input signal. When it later was decided that both UARTs had to be enabled by default there were already a lot of kits with this configuration made so changing the polarity was considered to make more &amp;quot;noise&amp;quot;. The polarity would then have been dependent on the kit version which is absolutely not desirable.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]And does this mean that I can only either enable both or disable both with SW6, unless I use the control signals from the nRF52840? It would be nice to have one UART connection for the debug console[/quote]
&lt;p&gt;&lt;span dir="ltr"&gt;SW6 does not control UART switches directly. The &amp;quot;IF_MCU_DISCONNECT&amp;quot;, coming from SW6, is an input to nRF52840, so if SW6 diasbles the UARTs or not is dependent on the FW running in nRF52840.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Hope that helps,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: COM port forwarding on nRF9160-DK / Pin conflict with nRF7002-EK</title><link>https://devzone.nordicsemi.com/thread/473165?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 12:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b470ac4-52b5-4c92-8498-37d0b19e23fe</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Let me check if one of the designers of the nRF9160-DK can comment.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>