<?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>SPI for SDcard, hardfault ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81616/spi-for-sdcard-hardfault</link><description>Dear Members, 
 
 I want to use SDcard with softdevice, when I run fatfs_example() 
 
 I got this : 
 nfo&amp;gt; app: Initializing disk 0 (SDC)... rror&amp;gt; hardfault: HARD FAULT at 0x00000000 &amp;lt;error&amp;gt; hardfault: R0: 0x20006E50 R1: 0x00000000 R2: 0x00000000 R3:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Nov 2021 15:58:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81616/spi-for-sdcard-hardfault" /><item><title>RE: SPI for SDcard, hardfault ?</title><link>https://devzone.nordicsemi.com/thread/338636?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 15:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c9becdf-d79b-4863-b09b-da044b04b89a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You can not use TWIM0 and SPIM0 (or SPI0) at the same time, since these peripherals share hardware resources.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you enable TWIM0 and SPIM1 instead it will work (as long as you don&amp;#39;t have any other interfaces enabled with index 1).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI for SDcard, hardfault ?</title><link>https://devzone.nordicsemi.com/thread/338467?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 05:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0e53ecb-6efc-4433-967d-4210ea3241b3</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;I got this :&lt;/p&gt;
&lt;p&gt;.\_build\nrf52840_xxaa.axf: Error: L6200E: Symbol SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler multiply defined (by nrfx_spim.o and nrfx_twim.o).&lt;br /&gt;E:\nRF5_SDK_17.0.2_d674dde\modules\nrfx\soc\nrfx_irqs_nrf52840.h&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I commented out so it can be compiled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI for SDcard, hardfault ?</title><link>https://devzone.nordicsemi.com/thread/338466?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 04:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c3120c6-42ca-44c9-b1c6-431d5235c538</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;Is it because of a conflict between TWI and SPI ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2021_2D00_11_2D00_11-12_5F00_46_5F00_10_2D00_SPI-TWI-UseEasyDMA-conflict.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>