<?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 board controller SourceCode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45101/nrf9160-dk-board-controller-sourcecode</link><description>Dear, 
 
 I am using nrf9160 DK, we can download hex fiel for boardcontroller 
 nRF9160 DK board controller firmware 
 https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF9160-DK/Download#infotabs 
 nRF9160_DK_board_controller_FW.hex 
 It</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2019 15:38:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45101/nrf9160-dk-board-controller-sourcecode" /><item><title>RE: nRF9160 DK board controller SourceCode</title><link>https://devzone.nordicsemi.com/thread/210192?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 15:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b532a6a-bebb-416f-8df0-c7b71866a4eb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi gregers,&lt;/p&gt;
&lt;p&gt;Take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk/178988#178988"&gt;this post&lt;/a&gt;. It covers routing&amp;nbsp;UART pins, but the same method is used for the LEDs and buttons. The board controller can be found &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/boards/arm/nrf52840_pca10090/board.c"&gt;here&lt;/a&gt;. (it&amp;#39;s included when you build e.g. hello_world sample for target nrf52840_pca10090, and configurable with kconfig/menuconfig)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK board controller SourceCode</title><link>https://devzone.nordicsemi.com/thread/210061?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 09:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02c2e9ad-019b-462e-a580-f75b5c6e1f12</guid><dc:creator>gregers</dc:creator><description>&lt;p&gt;The nRF9160 DK User Guide v0.7.2 states: &amp;laquo;Configurable code examples for the nRF52840 allowing to change the board routing can be found in the nRF Connect SDK&amp;raquo;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve looked in the applications and samples folder, but I can&amp;#39;t find it. Is it still not available? Is there a trace on the PCB I can cut to use P0.02-P0.09 from the pin headers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK board controller SourceCode</title><link>https://devzone.nordicsemi.com/thread/177961?ContentTypeID=1</link><pubDate>Sun, 24 Mar 2019 12:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:641a98e2-7716-4781-824e-ab85f4d858fa</guid><dc:creator>Hoang</dc:creator><description>&lt;p&gt;Dear Sigurd,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For example: the LED1234&amp;nbsp; control&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the info from the backside of nrf9160 DK pcb&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class="content-scrollable-wrapper"&gt;
&lt;table width="128"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="64"&gt;GPIO&amp;nbsp;&lt;/td&gt;
&lt;td width="64"&gt;Function&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.02&lt;/td&gt;
&lt;td&gt;LED 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.03&lt;/td&gt;
&lt;td&gt;LED 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.04&lt;/td&gt;
&lt;td&gt;LED 3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.05&lt;/td&gt;
&lt;td&gt;LED 4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.06&lt;/td&gt;
&lt;td&gt;Button 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.07&lt;/td&gt;
&lt;td&gt;Button 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.08&lt;/td&gt;
&lt;td&gt;Button 3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.09&lt;/td&gt;
&lt;td&gt;Button 4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.26&lt;/td&gt;
&lt;td&gt;CTS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.27&lt;/td&gt;
&lt;td&gt;RTS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.28&lt;/td&gt;
&lt;td&gt;RxD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;P0.29&lt;/td&gt;
&lt;td&gt;TxD&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1553430501636v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the schematic, Switches are used for selection&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;example: pin P0.02 (from nRF91) will select LED1 or D2 (P0.02 on the PCB-P14), and the control pin nRF52_P1.05 (from nRF52)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, we need one program for nRF52 to control for GPIO:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nRF9160_DK_board_controller_FW.hex&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, the pin P0.02 will connect LED1 so pin D2 (P0.02 on the PCB-P14) is floating&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do we have any option ( for example :&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kconfig/CONFIG_GPIO.html?highlight=config_gpio#cmdoption-arg-config-gpio"&gt;&lt;strong&gt;CONFIG_GPIO=y&lt;/strong&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in &lt;strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;prj.conf&lt;/strong&gt;&lt;span&gt;&amp;nbsp;) to enable pin D2&amp;nbsp;&amp;nbsp;(P0.02 on the PCB-P14) ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;then I can use it as normal gpio&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;regards,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;hng&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK board controller SourceCode</title><link>https://devzone.nordicsemi.com/thread/177834?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 13:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544ef81e-5121-4f47-8a11-04fa2753fe41</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The board controller fw is currently not&amp;nbsp;available in&lt;span&gt;&amp;nbsp;source code&lt;/span&gt;. But as mentioned at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160.html#board-controller"&gt;this link&lt;/a&gt;, it&amp;#39;s possible to&amp;nbsp;&lt;span&gt;route some pins differently from what is done in the preprogrammed firmware.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>