<?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>Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75856/porting-an-application-developed-for-the-nrf9160-dk-to-a-custom-hardware-incorporating-the-nrf9160-sip</link><description>Dear Nordic-Support-Team, 
 I (software developer) work together with an electrical engineer to develop a device, which will incorporate the nRF9160 SiP. The firmware/application development is nearly at its end and the hardware development will start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jun 2021 05:54:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75856/porting-an-application-developed-for-the-nrf9160-dk-to-a-custom-hardware-incorporating-the-nrf9160-sip" /><item><title>RE: Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/thread/314593?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 05:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:133a63ec-f246-4b63-a127-fd21039c66a2</guid><dc:creator>Sebastian Stein</dc:creator><description>&lt;p&gt;That is good to know. Thank you for the hint.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Sebastian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/thread/313577?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 09:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4148f84e-7d70-4474-ae4b-5ea1e6299b89</guid><dc:creator>Simon</dc:creator><description>[quote user="Sebastian Stein"]I am looking forward to read the new sections as soon as they are ready. I am especially interested in the last point:[/quote]
&lt;p&gt;In the meanwhile you could look at some other custom boards, based on the nRFf9160 and without the nRF52840. E.g. the &lt;a href="https://www.nordicsemi.com/News/2020/08/Circuit-Dojos-Feather-platform-employs-nRF9160"&gt;Circuit Dojo Feather Board&lt;/a&gt;: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/2541c598706e87d0475f650b9a27e89a701c58c6/boards/arm/circuitdojo_feather_nrf9160"&gt;zephyr/boards/arm/circuitdojo_feather_nrf9160&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/thread/313548?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 06:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fb733d4-3f3e-4c8f-bc32-9db470564b50</guid><dc:creator>Sebastian Stein</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;thank you very much for your help. This is exactly what I was looking for.&lt;/p&gt;
&lt;p&gt;I am looking forward to read the new sections as soon as they are ready. I am especially interested in the last point:&lt;/p&gt;
[quote userid="72692" url="~/f/nordic-q-a/75856/porting-an-application-developed-for-the-nrf9160-dk-to-a-custom-hardware-incorporating-the-nrf9160-sip/312924#312924"]If you don&amp;#39;t have an nrf52840 on your custom board
&lt;ul&gt;
&lt;li&gt;Show what should be removed.&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Sebastian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/thread/313025?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 07:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9064cac-6eb2-43a3-86ea-5929d03be085</guid><dc:creator>Simon</dc:creator><description>[quote user=""]Furthermore it would be great if you could tell me which parts of the documentation my colleague has to read to start with the hardware layout. Will the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_037/WP/nwp_037/nwp_037_intro.html"&gt;nRF9160 Hardware Design Guidelines&lt;/a&gt; be sufficient?[/quote]
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf91%2Fstruct%2Fnrf91_guidelines.html&amp;amp;cp=2_0_7"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_nrf91%2Fstruct%2Fnrf91_guidelines.html&amp;amp;cp=2_0_7&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_037/WP/nwp_037/nwp_037_intro.html?cp=2_0_7_0"&gt;Hardware Design Guidelines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_034/WP/nwp_034/nwp_034_intro.html?cp=2_0_7_1"&gt;Hardware Verification Guidelines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_033/WP/nwp_033/nwp_033_intro.html?cp=2_0_7_2"&gt;Antenna and RF Interface Guidelines&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ref, design:&amp;nbsp;
&lt;div&gt;&lt;a title="https://infocenter.nordicsemi.com/topic/ps_nrf9160/ref_circuitry.html?cp=2_0_0_9_2" href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/ref_circuitry.html?cp=2_0_0_9_2" rel="noopener noreferrer" target="_blank"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf9160/ref_circuitry.html?cp=2_0_0_9_2&lt;/a&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;You may also look at the design for the nRF9160DK and the Thingy:91&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting an application developed for the nRF9160 DK to a custom hardware incorporating the nRF9160 SiP</title><link>https://devzone.nordicsemi.com/thread/312924?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 14:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7194b7f8-b70d-45f4-8702-f6219164074d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out the NCS tutorial and section &lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0#h11sk6ks1jkp1figkuq6gxw1m1rctdp0"&gt;2. Using a custom board with NCS&lt;/a&gt;. Jump straight to &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0#h113sk0f71cly1ckwgkkxioblcbcsge6"&gt;2.2 Walkthrough&lt;/a&gt; to get to the practical part.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Check out the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/zephyr/guides/porting/board_porting.html"&gt;Board Porting Guide&lt;/a&gt; as well. You will find that in the Zephyr documentation, which you can get to in the following manner:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="cursor:auto;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6607.blog1b.jpg" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By the way, the 2.2 Walkthrough only shows how to create a new custom board folder, that you can use as a base for your specific board. It does not show how to add additional functionality to your board. I will add a new section to the tutorial soon, that go through some different scenarios. Something like this:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If your board only has one button, connected to GPIO&amp;nbsp;30
&lt;ul&gt;
&lt;li&gt;Then you have to remove the other &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/54dea0b2b5309098c388a836fe9b152318592495/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common.dts#L50-L61"&gt;button instances&lt;/a&gt;, and change the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/54dea0b2b5309098c388a836fe9b152318592495/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common.dts#L47"&gt;GPIO of button1&lt;/a&gt;&amp;nbsp;to 30 (instead of 8)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you have an adxl362 device on you board, connected to some specific GPIOs
&lt;ul&gt;
&lt;li&gt;Then you could look at the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/6040e6e1e849e5f7e8e09d5d0edc04cda7a50fe7/boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts#L128-L142"&gt;board folder for the Thingy:91&lt;/a&gt;&amp;nbsp;to see&amp;nbsp;how to add it to the board folder. Change the SPI instance if you want to use another, and select &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/6040e6e1e849e5f7e8e09d5d0edc04cda7a50fe7/boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts#L131-L134"&gt;the pins&lt;/a&gt; according to how the adxl362 is connected.&lt;/li&gt;
&lt;li&gt;Then you can build the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/54dea0b2b5309098c388a836fe9b152318592495/samples/sensor/adxl362"&gt;adxl362 sample&lt;/a&gt; with your custom board name and it should work out of the box&lt;/li&gt;
&lt;li&gt;(Be aware that this can also get added to an &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/54dea0b2b5309098c388a836fe9b152318592495/samples/sensor/adxl362/boards/nrf52dk_nrf52832.overlay"&gt;overlay file&lt;/a&gt;, but if the sensor is part of the custom board, the proper way is to add it to the dts board files)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you don&amp;#39;t have an nrf52840 on your custom board
&lt;ul&gt;
&lt;li&gt;Show what should be removed. E.g. &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/54dea0b2b5309098c388a836fe9b152318592495/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common.dts#L64-L78"&gt;interface_to_nrf52840&lt;/a&gt;, &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/54dea0b2b5309098c388a836fe9b152318592495/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common.dts#L80-L88"&gt;nrf52840_reset&lt;/a&gt;++&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Furthermore it would be great if you could tell me which parts of the documentation my colleague has to read to start with the hardware layout. Will the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_037/WP/nwp_037/nwp_037_intro.html"&gt;nRF9160 Hardware Design Guidelines&lt;/a&gt; be sufficient?[/quote]
&lt;p&gt;&amp;nbsp;I will get back to you tomorrow about this&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>