<?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>UART from nrf9160 to nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116073/uart-from-nrf9160-to-nrf52840</link><description>I currently am using a nRF9160DK. I want to have the nrf52840 on it scan for BLE devices and return the device count and then send this over UART to the nrf9160. 
 How can I do this on the nrf9160 side ? The codes I have seen don&amp;#39;t build for UART connection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Nov 2024 20:51:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116073/uart-from-nrf9160-to-nrf52840" /><item><title>RE: UART from nrf9160 to nrf52840</title><link>https://devzone.nordicsemi.com/thread/509019?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2024 20:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf9c96af-d813-429e-a285-c8a26e587951</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Any suggestions appreciated. New to nRF SDK!&amp;nbsp;[/quote]
&lt;p&gt;Given that you are new to the nRF Connect SDK, we &lt;a href="https://academy.nordicsemi.com/"&gt;recommend going through our Developer Academy&lt;/a&gt;. This gives a good starting point to learn all of the aspects of our SDK.&lt;/p&gt;
[quote user=""] I want to have the nrf52840 on it scan for BLE devices and return the device count and then send this over UART to the nrf9160.[/quote]
&lt;p&gt;The nRF52840 is the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf9160dk/doc/index.html#board_controller_firmware"&gt;board controller on the nRF9160DK&lt;/a&gt;. This&amp;nbsp;&lt;span&gt;takes care of routing specific pins of the nRF9160 SiP to different components on the DK, such as LEDs and buttons, UART interfaces (VCOMx) of the interface MCU, and specific nRF52840 SoC pins.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;More information on the &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf9160_dk/page/UG/nrf91_DK/hw_description/nrf9160_board_controller.html"&gt;nRF9160 DK board controller can be found here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The closest sample we have in order to achieve what you are looking for is the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/lte_ble_gateway/README.html"&gt;Cellular: LTE BLE gateway&lt;/a&gt;. Note that this sample is designed for use with the Thingy:52, and is not the simplest starting point. We recommend starting with e.g. nRF52840DK for Bluetooth Low Energy applications, for simplicity.&lt;/span&gt;&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>