<?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>NRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62282/nrf52</link><description>I&amp;#39;m actually building a project that need to communicate with sdcard. 
 i read a lot about that and i&amp;#39;m very confusing when i passed on nordic sdk lot of code and ressources lot of files speaking about the same things: NRFx_SPI , NRF DRV SPI ... 
 Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jun 2020 18:23:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62282/nrf52" /><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/254100?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 18:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e97e3c6-1866-43b9-969b-816310ccb0be</guid><dc:creator>micheld_</dc:creator><description>&lt;p&gt;Thanks for support.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think it is better that nordicsemi can provide an example based on sdcard like STMicroelectrics on stm32 tagret, I hope I would not go to them.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/253966?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 08:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c977cac-1a77-4077-9758-8bb4b3944ec4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="micheld_"]1- Can you gives a more complete sample to build the SD card library?[/quote]
&lt;p&gt;Unfortunately, we only have the FatFs example showing the usage of this library. app_sdcard is used through&amp;nbsp;nrf_block_dev_sdc which interfaces with FatFs through Nordic&amp;#39;s port layer (diskio_blkdev).&lt;/p&gt;
[quote user="micheld_"]2- When&amp;nbsp;&lt;span&gt;APP_SDCARD_SPI_INSTANCE is activated in sdk_config.h with one will be used (nrf_SPI of nrfx_SPI?)&lt;/span&gt;[/quote]
&lt;p&gt;This will depend on the configuration of the SPI driver (nrf_drv_spi). If EasyDMA for the corresponding instance is enabled, EasyDMA will be used:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;q&amp;gt; SPIx_USE_EASY_DMA  - Use EasyDMA
 
#ifndef SPIx_USE_EASY_DMA
#define SPIx_USE_EASY_DMA 1
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/253884?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 18:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30b958cc-ecff-4057-8c0b-9379cd8372e0</guid><dc:creator>micheld_</dc:creator><description>&lt;p&gt;Thank you for your feedback.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1- Can you gives a more complete sample to build the SD card library?&lt;/p&gt;
&lt;p&gt;2- When&amp;nbsp;&lt;span&gt;APP_SDCARD_SPI_INSTANCE is activated in sdk_config.h with one will be used (nrf_SPI of nrfx_SPI?)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;is there other more configuration to set if i want to use DMA with SPI?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/253792?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 12:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fafd5c7-62b8-4ff2-8292-69e70b01a116</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You may reference the&amp;nbsp;&lt;a title="SD card library" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_sdcard.html?cp=7_1_3_40"&gt;SD card library&lt;/a&gt;&amp;nbsp;documentation. It gives a short description of how the library can use used.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_master_example.html"&gt;SPI Master example&lt;/a&gt; uses the legacy driver API (nrf_drv_spi). This driver API combines support for both SPI and SPIM (EasyDMA support) peripheral. The legacy API uses the NRFX drivers in the bottom, it is just a middle-layer adapting the API to support the old example implementations.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_spim_example.html"&gt;nrfx SPI Master example&lt;/a&gt;&amp;nbsp;uses the nrfx_spim driver API directly. This example was added since instance SPIM3 (High Speed SPI - 32 MHz) available on nRF52840 is not supported in the legacy API driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/253769?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 11:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaab6de3-23d3-4fca-a589-e345a804e32e</guid><dc:creator>micheld_</dc:creator><description>&lt;p style="padding-left:30px;"&gt;Hi,&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;The example of FatFs that you provide doesn&amp;#39;t work in all case and especially when use big files, you can read comments on this forum about that and the answer given by nordicsemi support is that the FatFs is an external third library right. it is why i prefer to not use it and use only libraries developed and supported by Nordicsemi.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;As i can see you provide the&amp;nbsp;&lt;code&gt;app_sdcard.c/h lib? how can i use it?&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;code&gt;Can you give me a clear answer according the difference between SPI Master and NRFX SPI Master?&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;code&gt;and what i shall use?&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;code&gt;Thanks&lt;/code&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;code&gt;Best Regads&lt;/code&gt;&lt;/p&gt;
&lt;div class="visible"&gt;&lt;span class="item"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52</title><link>https://devzone.nordicsemi.com/thread/253696?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2020 08:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e3f8997-2d35-414c-bbbb-34aad9651fb4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We only provide the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/app_sdcard_example.html"&gt;FatFs example&lt;/a&gt; for reading/writing SD Cards. Most customers would like a file-system for their cards and then this example makes sense. If you do not want to use this library, I guess you can use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/spi_master_example.html"&gt;SPI example&lt;/a&gt; as a starting point for your application, but you will have to read the SD Card specifications yourself to find the appropriate SPI commands to read and write blocks from/to the SD Card. We do not provide any ready-made examples that do this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>