<?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>Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65244/thingy91-nrf9160-and-nrf52840-communication</link><description>Hi 
 I am working on a project based on Thingy91. Is there any sample application in NCS SDK to show the communication between the two SoCs on the Thiny91. I will need to transfer the user input data(write to the utility files,readme.txt, config.txt on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 21:32:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65244/thingy91-nrf9160-and-nrf52840-communication" /><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/269060?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 21:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c92ad95-7e76-4e31-a241-c64d8d949769</guid><dc:creator>inyourface</dc:creator><description>&lt;p&gt;Thanks for the detailed answer. We checked the device tree of thingy91. The interface(MCU_IF) between 9160 and 52840 are UART0 and UART1. We also noticed that 9160 uses UART1 for logging.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How can we register the UARTs (UART0 or UART1) on 9160&amp;#39;s asset tracker application to receive UART events from nRF52840&amp;#39;s Connectivity Bridge?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Face&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/267763?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 08:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28fb3c07-c5ab-4df1-b66e-afa8b1fc5c7b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Face,&lt;/p&gt;
[quote user="inyourface"]Are the UARTs disabled by default in the Connectivity Bridge project ?[/quote]
&lt;p&gt;No, UART is enabled by default. What version of LTE Link Monitor are you running? Version 1.1.6 should have a fix for this. Do they show in the device manager as COM ports?&lt;/p&gt;
[quote user="inyourface"]2. Can you please explain&amp;nbsp;what are&amp;nbsp;uart_handler.c and usb_cdc_handler.c for? I tried to look for answer on nRF Connect SDK documents&amp;nbsp;and no luck.&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;uart_hancler.c and usb_cdc_handler.c handles the communication UART USB CDC input and output seperately. Data is routed between the two using event manager. E.g. when data is received with USB CDC it generate a cdc_data_event. The UART handler subscribes to this event, and will send this data via UART to nRF9160. Equivalent when data is received on UART from nRF9160 an event will trigger and send data via USB.&lt;/p&gt;
[quote user="inyourface"]3. Is there any sample code/project in the NCS to show case the UART communication between nRF9160 and nRF52840 ? I will implement it into the Connectivity Bridge to pass the data from USB to nRF9160.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;The Connectivity Bridge implements UART communication between nRF52 and nRF91&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/267507?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 22:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae20924-4758-48bf-8748-d788cdbbf451</guid><dc:creator>inyourface</dc:creator><description>&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;1. I tried to build and load the Connectivity Bridge on to the Thingy and LTE monitor could not detect it while if I load pre-compiled Connectivity Bridge hex.&amp;nbsp;LTE monitor can find it. Are the UARTs disabled by default in the Connectivity Bridge project ?&lt;/p&gt;
&lt;p&gt;2. Can you please explain&amp;nbsp;what are&amp;nbsp;uart_handler.c and usb_cdc_handler.c for? I tried to look for answer on nRF Connect SDK documents&amp;nbsp;and no luck.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Is there any sample code/project in the NCS to show case the UART communication between nRF9160 and nRF52840 ? I will implement it into the Connectivity Bridge to pass the data from USB to nRF9160.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Face&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/267430?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 10:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d1598a2-c208-474a-a624-abdb27e97110</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Face, sorry for the delayed answer. I had a talk with our developers. Their response is, yes, it&amp;nbsp;should be possible to do this. Note that this is something we don&amp;#39;t have at the moment.&amp;nbsp;&lt;br /&gt; The file structure is handled by &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/applications/connectivity_bridge/src/disk"&gt;/src/disk&lt;/a&gt;&amp;nbsp;in Connectivity Bridge.&amp;nbsp;The intention is that each .c file is responsible for writing the file, and parsing the file once the user disconnects the USB disk.&amp;nbsp;Parsing the file can entail sending the contents via UART if you want. Note that it is a bit tricky to determine when it is safe to parse the file. To make things easy on the Thingy, parsing is done once the USB drive is disconnected. Problems could arise if you mount the drive in the firmware, while the USB host also has the drive mounted and may have pending file changes.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/266804?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 15:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cedad97f-817e-417f-bc34-8010b06d3688</guid><dc:creator>inyourface</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Correct. Can we use the Thingy91 as a USB mass storage? Can&amp;#39;t those utilities files of Connectivity Bridge be written from the PC&amp;#39;s USB or just read only?&lt;/p&gt;
&lt;p&gt;We would like to have an physical interface to the nRF9160 for users to input a few bytes data, which way is the best to do that if USB is not possible? UART?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Face&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy91 nRF9160 and nRF52840 communication</title><link>https://devzone.nordicsemi.com/thread/266728?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 12:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78baf9cb-18e3-4eac-ae14-3986832526bf</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Face,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;From your description, you want to write to e.g. readme.txt, and then send what you wrote to the nRF91? From what I have understood, this is not possible with the current version of Connectivity Bridge.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>