<?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>How to use one SPI instance in two source files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54359/how-to-use-one-spi-instance-in-two-source-files</link><description>Hello 
 
 I have both mai.c and app_sdcard.c &amp;quot;static const nrf_drv_spi_t spi = SPI_INSTANCE (spi_instance);&amp;quot; Want to use . 
 
 So using &amp;quot;extern&amp;quot; 
 
 main.c 
 
 app_sdcard.c 
 
 app_sdcard.h 
 
 
 And wrote the code. 
 But in app_sdcard.h &amp;quot;multiple storage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2019 07:54:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54359/how-to-use-one-spi-instance-in-two-source-files" /><item><title>RE: How to use one SPI instance in two source files</title><link>https://devzone.nordicsemi.com/thread/220223?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 07:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3efe61a-058c-4104-b503-c615a9f84cca</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;int -&amp;gt; const&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>