<?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>direction finding zephyr ...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75518/direction-finding-zephyr</link><description>I have a sniffer working . I Have a bouad with 
 west build -b nrf9160dk_nrf9160 .. If I start an example on the zephyr-mainline hello it work I see in ttyACM0 the printk(&amp;quot;...&amp;quot;) 
 west build -b nrf9160dk_nrf52840 samples/hello_world 
 west flash in the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 May 2021 10:21:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75518/direction-finding-zephyr" /><item><title>RE: direction finding zephyr ...</title><link>https://devzone.nordicsemi.com/thread/311404?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 10:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f845d839-2cfb-49c9-af38-418791c11d08</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Novello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;What version of NCS are you currently working on? The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/ug_nrf9160.html#board-controller"&gt;nRF52840 on thenRF9160 DK functions as a board controller&lt;/a&gt;, and as stated under the board controller chapter:&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;If you want to route some pins differently from what is done in the preprogrammed firmware, program the&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v2.4.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/zephyr/samples/hello_world/README.html#hello-world"&gt;&lt;span&gt;Hello World&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample instead of the preprogrammed firmware. Build the sample (located under&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;ncs/zephyr/samples/hello_world&lt;/span&gt;&lt;/code&gt;&lt;span&gt;) for the nrf9160dk_nrf52840 board. To change the routing options, enable or disable the corresponding devicetree nodes for that board as needed. See&amp;nbsp;&lt;/span&gt;&lt;a title="(in Zephyr Project v2.4.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/zephyr/boards/arm/nrf9160dk_nrf52840/doc/index.html#nrf9160dk-board-controller-firmware"&gt;&lt;span&gt;Board controller firmware&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;for detailed information.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;The nRF52840 controls analog switches on the&amp;nbsp;&lt;span&gt;nRF9160 DK&lt;/span&gt;, enabling routing of some of the nRF9160 GPIO pins to onboard functionality, for example LEDs, or the regular GPIO interfaces. More &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/board_controller.html"&gt;information in the nRF9160 DK User Guide&lt;/a&gt;. Make sure to route the correct UART pins in regards to &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/mcu_virtual_com_port.html"&gt;the VCOM ports&lt;/a&gt;. The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/nrf9160dk_nrf52840/doc/index.html#nrf9160-dk-nrf52840"&gt;board documentation &lt;/a&gt;found in the Zephyr repo provides &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/nrf9160dk_nrf52840/doc/index.html#board-controller-firmware"&gt;more information on the board controller FW&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]The other question is Wich is the  best mainline to use with which version of zephyr.[/quote]
&lt;p&gt;We recommend using the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/ug_nrf9160.html#working-with-nrf9160-dk"&gt; latest tag (currently v1.5.1) of nRF Connect SDK&lt;/a&gt;, which is the official SDK to use with nRF9160 DK.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>