<?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>Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67684/programming-debugging-nrf9160-sip-on-custom-board</link><description>Hello, guys, 
 We are designing our custom board that contains nRF9160 SiP. 
 I would like to ask some questions here concerning programming/debugging nRF9160 SiP on the custom board. 
 We know it is possible to use nRF9160-DK as a programmer 
 
 
 Is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Nov 2020 08:15:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67684/programming-debugging-nrf9160-sip-on-custom-board" /><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277963?ContentTypeID=1</link><pubDate>Mon, 02 Nov 2020 08:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b38f402-7b9a-4e06-a946-0af9f5908a34</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;br /&gt;&lt;br /&gt;SW11 set to 1.8V is perfectly fine when both boards are powered externally.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="bojan"]only GND, SWDIO, SWDCLK, nRESET pins would be enough.[/quote]
&lt;p&gt;&amp;nbsp;yes&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277900?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 21:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca680f77-0be0-40fe-bda1-2732b4968dea</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hey, &lt;a href="https://devzone.nordicsemi.com/members/jonathanll"&gt;JONATHAN LL&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;I have a second thought concerning this diagram:&lt;/p&gt;
&lt;p&gt;&lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7242.pastedimage1603830153116v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;There is no sense to me to use &lt;em&gt;&lt;strong&gt;&lt;span style="background-color:rgba(204, 255, 255, 1);"&gt;NRF_VDD+VTG&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt; from the nRF9160-DK to supply our custom board!?1.8V is not enough for supplying nRF9160. &lt;/p&gt;
&lt;p&gt;It is OK to set SW11 to 1.8V because GPIO voltage on our custom board is 1.8V. However, we are gonna supply our custom board with external power supply from LiPo batery and, consequently, only GND, SWDIO, SWDCLK, nRESET pins would be enough.&lt;/p&gt;
&lt;p&gt;Am I missing something here?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277789?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 11:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd52560-7349-4f92-97b5-5eb3beec7c57</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;This is what I call great support!&lt;/p&gt;
&lt;p&gt;Thank you very much for all your efforts, &lt;a href="https://devzone.nordicsemi.com/members/jonathanll"&gt;JONATHAN LL&lt;/a&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277786?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 11:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cbbacb3-cec2-4c98-9412-15e675aefb48</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="bojan"]Do we need to include Hardware Flow Control pins (RTS, CTS) of the UART port on our custom board?[/quote]
&lt;p&gt;&amp;nbsp;Flow Control is a option, and in LTE Link monitor there is a box you can check or un-check to enable/disable.&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1258.pastedimage1604053168410v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Here is a&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/uarte.html?cp=2_0_0_5_18_4#concept_xsw_mtw_sr"&gt; link to the documentation&lt;/a&gt; on suing without flow control&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="bojan"] Is it recommended to use the same GPIOs of nRF9160 for UART connection in order to benefit from LTE Link Monitor?[/quote]
&lt;p&gt;&amp;nbsp;Anny general purpose I/O can be used as as UART, it is easier to test/import examples from NCS when the pin configuration is similar to that of the DK. there will be less to change in the board configuration or overlay file if you all ready use the same pins. But for LTE Link Monitor it wont matter as it sees wat COM port it can connect to.&lt;br /&gt;&lt;br /&gt;Link to nrf9160 SiP pin map:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/pin.html?cp=2_0_0_9_0_0#reference_hyx_mmw_pv"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf9160/pin.html?cp=2_0_0_9_0_0#reference_hyx_mmw_pv&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/if_connector.html?cp=2_0_5_4_5"&gt;Link to GPIO&lt;/a&gt; interface on the nrf9160DK and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/mcu_virtual_com_port.html#mcu_virtual_com_port"&gt;COM port&lt;/a&gt; documentation.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277769?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 10:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ee0017-5b02-428d-a274-a7b87534fae4</guid><dc:creator>bojan</dc:creator><description>&lt;p&gt;Hey,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jonathanll"&gt;JONATHAN LL&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;Thank you very much for your thorough explanations!&lt;/p&gt;
&lt;p&gt;Few more questions... On Thingy:91 board we access nRF9160 through &lt;span style="background-color:rgba(204, 255, 255, 1);"&gt;USB&amp;lt;-&amp;gt;nRF52840 UART &amp;lt;-&amp;gt; nRF9160 UART&lt;/span&gt; path.&lt;/p&gt;
&lt;p&gt;- Do we need to include Hardware Flow Control pins (RTS, CTS) of the UART port on our custom board?&lt;/p&gt;
&lt;p&gt;- Is it recommended to use the same GPIOs of nRF9160 for UART connection in order to benefit from LTE Link Monitor?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Bojan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming/Debugging nRF9160 SiP on custom board</title><link>https://devzone.nordicsemi.com/thread/277443?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 15:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8cdbf40-db74-480e-80c8-2008568a4dc4</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Bojan,&lt;br /&gt;&lt;br /&gt;The picture is correct.&amp;nbsp;&lt;/p&gt;
[quote user=""]Is this all we need for programming and debugging nRF9160 SiP on our custom board? Do we need to include a &lt;span style="background-color:rgba(204, 255, 255, 1);"&gt;nRESET &lt;/span&gt;pin as well?[/quote]
&lt;p&gt;&amp;nbsp;It is not a must, but can be nice to have.&lt;/p&gt;
[quote user=""]Can we update the LTE modem as well with the above approach?[/quote]
&lt;p&gt;Yes&amp;nbsp;&lt;/p&gt;
[quote user=""]Do we need some USB/UART converter (that supports 1.8V voltage level because our GPIO level on nRF9160 will be 1.8V) for being able to benefit from &lt;span style="background-color:rgba(204, 255, 255, 1);"&gt;LTE Link Monitor&lt;/span&gt; and send AT Commands to the modem?[/quote]
&lt;p&gt;Yes, for a custom board if you want to use a serial interface to talk to the nrf9160 from a pc (such as with LTE Link Monitor) then that is the case, you can use either a onboard&amp;nbsp;USB bridge as it is done on the DK&amp;#39;s or USB to serial adapter, &lt;a href="https://www.ftdichip.com/Products/Cables/USBTTLSerial.htm"&gt;example link here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there any advantage of using JLink Base programmer/debugger over nRF9160-DK?[/quote]
&lt;p&gt;In short: Using a&amp;nbsp;dedicated debugger/programmer instead of the nrf9160DK does provide some benefits but for developing and testing the nrf9160 DK is ok.&lt;br /&gt;&lt;br /&gt;The nrf9160 DK provides the &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ob/"&gt;J-link OB&lt;/a&gt; it does have some limitations compared to a fully featured expensive J-link but do you relay need the features. If you want to program and debug the DK&amp;#39;s are sufficient most of the time as it has the same features at J-link BASE.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Model &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/model-overview/"&gt;overview for J-link&lt;/a&gt; products if you want to dive in and compare some products.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Check out this case:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56112/nrf9160-custom-pcb-programming---using-nrf91dk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/56112/nrf9160-custom-pcb-programming---using-nrf91dk&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Here is some more dokumetaion:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/ext_programming_support.html?cp=2_0_5_4_9_0"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/ext_programming_support.html?cp=2_0_5_4_9_0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>