<?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 communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37986/spi-communication-method-of-nrf-52832-and-sd-card</link><description>Hello! 
 
 I am a beginner. 
 I am trying to communicate with the SD card with SPI using nrf 52832.(BLE Nano v2) 
 I am using fatfs of nRF5_SDK_15.0.0_a53641a. I am writing a program with keil. 
 I refer to sdcard.c to initialize the SD card, but I do</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Sep 2018 05:36:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37986/spi-communication-method-of-nrf-52832-and-sd-card" /><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/147461?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 05:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e4b71c-03b0-44b1-97ce-eb53d12dab2f</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;I was able to execure fatfs by changing CS from HIGH to LOW!&lt;/p&gt;
&lt;p&gt;Thank you for your cooperation!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/146460?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 09:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:335d3b10-8c89-4e98-858f-0c3371cfa3c5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The FatFS example will put the SD card in SPI mode. The card is put in SPI mode by pulling the CS/CD pin low. Please read more in footnote 3 of chapter 3.7.1 in &lt;a href="https://www.sdcard.org/downloads/pls/click.php?p=Part1_Physical_Layer_Simplified_Specification_Ver6.00.jpg&amp;amp;f=Part1_Physical_Layer_Simplified_Specification_Ver6.00.pdf&amp;amp;e=EN_SS1"&gt;SD Association Part1 Physical Layer Simplified Specification Ver6.00&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/146413?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 07:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b239fbe-960b-4a44-8172-73ec777f6344</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found out thea using fatfs makes it possible to write to a file, but I do not know how to put the SD card in SPI mode.&lt;/p&gt;
&lt;p&gt;Do you know what to do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/146408?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 06:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f99b8f-1e43-4ffe-9114-264bd1292095</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Example is intended to create a file: NORDIC.TXT&lt;br /&gt;Within this file you shall see text &amp;quot;SD card example.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Some SD cards requires different pull up configuration on MISO line. You can modify it in the sdk_config.h file: NRF_SPI_DRV_MISO_PULLUP_CFG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/146405?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 06:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86980225-b11f-4f44-a2c2-388159ed18f4</guid><dc:creator>y001</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;thank you for your reply!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nRF5_SDK_15.0.0_a53641a/examples/peripheral/fatfs&amp;nbsp; is referred to.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On the first row&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;#define SDC_SCK_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; ///&amp;lt; SDC serial clock (SCK) pin.&lt;br /&gt;#define SDC_MOSI_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp; 29&amp;nbsp; ///&amp;lt; SDC serial data in (DI) pin.&lt;br /&gt;#define SDC_MISO_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp; ///&amp;lt; SDC serial data out (DO) pin.&lt;br /&gt;#define SDC_CS_PIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28&amp;nbsp; ///&amp;lt; SDC chip select (CS) pin.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you change the pin number and use it, a file is created and added to a text file.&lt;/p&gt;
&lt;p&gt;#define TEST_STRING &amp;quot;SD card example.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Will characters weitten as defined in are written ?&lt;/p&gt;
&lt;p&gt;Are there other parts to change?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI communication method of nrf 52832 and SD card.</title><link>https://devzone.nordicsemi.com/thread/146403?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 06:23:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df993693-8287-42a2-87a6-dea091d39e69</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you check an example provided in the SDK?&lt;/p&gt;
&lt;p&gt;\sdk\nrf5\examples\peripheral\fatfs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>