<?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 AT Interface options</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62415/nrf9160-at-interface-options</link><description>Hi, 
 When nRF9160 is used as a co-processor and an external host MCU is used to interface with nRF9160, what are the serial interfaces that are allowed? The at_client example uses UART, is it possible to use SPI instead of UART? 
 The at_client example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jun 2020 10:58:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62415/nrf9160-at-interface-options" /><item><title>RE: nRF9160 AT Interface options</title><link>https://devzone.nordicsemi.com/thread/254440?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 10:58:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47cc9a5-2db8-4c7f-88ef-2382aec9f808</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;
&lt;p&gt;The at_client uses the library named at_host:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/lib/at_host/at_host.c"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/lib/at_host/at_host.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which is initialized on boot up, which is the reason why main is empty:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/lib/at_host/at_host.c#L308"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/lib/at_host/at_host.c#L308&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It does not support other transport layers than UART (UART0, 1 or 2) at this time, unfortunately.&lt;/p&gt;
&lt;p&gt;However; you can patch the at_host file, and add any other transport layer if you&amp;#39;d like.&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>