<?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 custom board overlay for am335x (linux)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66407/nrf9160-custom-board-overlay-for-am335x-linux</link><description>We are using a nRF9160 and are interfaced to a Texas Instruments AM335x running Linux over a UART interface. I&amp;#39;ve read through the guide on making a custom overlay. So far, I have copied the nRF9160dk_nrf9160, and have renamed references for our board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Sep 2020 11:23:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66407/nrf9160-custom-board-overlay-for-am335x-linux" /><item><title>RE: nRF9160 custom board overlay for am335x (linux)</title><link>https://devzone.nordicsemi.com/thread/271742?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 11:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:446caa7a-8e3c-49e1-881f-e66cae2f62a5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]NRF52840_GPIO_RESET_PIN which is something unique to the dk. What pin on the nRF9160 is this going to? If we need this reset, it could be done using p0.00-p0.03?[/quote]
&lt;p&gt;&amp;nbsp;This is a pin that is&amp;nbsp;routed on the nRF9160-DK, from the nRF9160 to the nRF52840 device.&lt;/p&gt;
&lt;p&gt;If you have routed it differently &lt;em&gt;and re-use this functionality&lt;/em&gt;, you need to alter the assert condition in this specific file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/boards/arm/nrf9160dk_nrf9160/nrf52840_reset.c#L16"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/master/boards/arm/nrf9160dk_nrf9160/nrf52840_reset.c#L16&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that this is a signal from the nRF9160 to reset an external device. If you want to reset the nRF9160 instead, you should route a pin from your main controller to the nRESET pin of the nRF9160 for instance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]The am335x is not in the list of supported mcu&amp;#39;s. The closest thing is the &amp;#39;native_posix&amp;#39;? I&amp;#39;m not sure how the interaction between the nrf and the am335x works outside of the uart. For example, today I build the gps sample using the nRF9160dk_nrf9160 board and loaded that hex onto the nRF9160 on our board. Once I enabled the nRF9160 (just enabling power), I had the GPS working. In this case, the dk board setup works fine. On the serial_lte_modem fw, things didn&amp;#39;t work as well. On the dk, I can connect the lte here reliably. On our board, using the same sim chip, it doesn&amp;#39;t connect to the lte so far. The sequence of responses doesn&amp;#39;t match up the same between the two.[/quote]
&lt;p&gt;&amp;nbsp;Don&amp;#39;t you have a system running on your main controller? If your device supports other bus transports (SPI, UART, I2C), you can technically use any of these to interface the nRF as long as both support the same peripheral bus. Easiest is to use UART with flow control (ie: RXD/TXD/CTS/RTS), and you can add another gpio which you use as a reset signal (to the nRESET pin for instance)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]On our board, using the same sim chip, it doesn&amp;#39;t connect to the lte so far. The sequence of responses doesn&amp;#39;t match up the same between the two.[/quote]
&lt;p&gt;&amp;nbsp;Do you have a debug log showing the behavior?&amp;nbsp;Do you get connected to the network (AT+CEREG? should give you this status)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>