<?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>PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37465/pca10056-with-sd-card-module</link><description>Hi. I&amp;#39;m using the NRF-52 DK (PCA10056) with an SD card module and I&amp;#39;m trying to upload the FatFS example code for SDK 15. I&amp;#39;m using a kingston 8GB SD card and I&amp;#39;m unable to get any result. The same is working with SDK12. How do I sort this issue.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Aug 2018 12:52:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37465/pca10056-with-sd-card-module" /><item><title>RE: PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/thread/144947?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 12:52:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb752545-42fa-420d-8ea7-39c96ef382b0</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;
[quote user="Vishal Aditya"]2. Can&amp;#39;t understand can you please explain?[/quote]
&lt;p&gt;I am sorry, I was assuming you were using the USB MSC example in the SDK with a SD-card. For this, there are some erratas for the USBD that needs to be applied.&lt;/p&gt;
[quote user="Vishal Aditya"]Consider, we have check these PINS more than 10 times:&amp;nbsp;&lt;strong&gt;nRF5_SDK_15.0.0_a53641a\examples\peripheral\fatfs&lt;/strong&gt;[/quote]
&lt;p&gt;These&amp;nbsp;pins are by default used (located in your pca10056.h):&lt;/p&gt;
&lt;p&gt;#define ARDUINO_13_PIN NRF_GPIO_PIN_MAP(1, 15) // Digital pin 13&lt;br /&gt;#define ARDUINO_12_PIN NRF_GPIO_PIN_MAP(1, 14) // Digital pin 12&lt;br /&gt;#define ARDUINO_11_PIN NRF_GPIO_PIN_MAP(1, 13) // Digital pin 11&lt;br /&gt;#define ARDUINO_10_PIN NRF_GPIO_PIN_MAP(1, 12) // Digital pin 10&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that these are on PORT1, not PORT0. It maps to P1.12 to P1.15, which are located in the top left corner of the nRF52840-DK.&lt;/p&gt;
&lt;p&gt;If you are using these pins, could you verify with a logic analyzer or oscilloscope that there&amp;#39;s SPI data going over these GPIOs?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/thread/144906?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 11:05:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4191c7-507b-40d3-a940-f80171adf2f7</guid><dc:creator>Vishal Aditya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your response we have tried point 1. and updated the&amp;nbsp;&lt;strong&gt;nRF5_SDK_15.0.0_a53641a\components\drivers_nrf\usbd\nrf_drv_usbd_errata.h&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But it didn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;2. Can&amp;#39;t understand can you please explain?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;The SDCard module works with Arduino, nRF51 DK (SDK 12)&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Doesn&amp;#39;t work with nRF52832 DK(pca10040), nRF52840(pca10056) using SDK12.3 or SDK15.0&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Consider, we have check these PINS more than 10 times:&amp;nbsp;&lt;strong&gt;nRF5_SDK_15.0.0_a53641a\examples\peripheral\fatfs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define SDC_SCK_PIN     ARDUINO_13_PIN  ///&amp;lt; SDC serial clock (SCK) pin.
#define SDC_MOSI_PIN    ARDUINO_11_PIN  ///&amp;lt; SDC serial data in (DI) pin.
#define SDC_MISO_PIN    ARDUINO_12_PIN  ///&amp;lt; SDC serial data out (DO) pin.
#define SDC_CS_PIN      ARDUINO_10_PIN  ///&amp;lt; SDC chip select (CS) pin.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Vishal Aditya&lt;/p&gt;
&lt;p&gt;Embedded Software Engineer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/thread/144126?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 10:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:880fcac2-4262-490f-bb13-f111cbe432d0</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;This is good, you&amp;#39;re using the latest revision of the chip. Sorry for misunderstanding, some of the earliest nRF52840-PDK had a SD-card slot, but this was later removed.&lt;/p&gt;
&lt;p&gt;Currently, we have two issues that might affect your application.&lt;/p&gt;
&lt;p&gt;1. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34605/usb-not-enumerating-after-reset/133051#133051"&gt;Erratas not properly applied&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36654/usbd_msd-disk-initialization-fails-in-usb-unplug-with-sdk15-0/141462#141462"&gt;usbd_msc example might fail if you alter files, then unplug/plug the USB&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try the two workarounds above and see if this fixes the issue?&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><item><title>RE: PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/thread/144119?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 09:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02c37786-86ca-49e6-a41d-844b9123cbd7</guid><dc:creator>Sudarshan J</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do i know whether I&amp;#39;m using an older version of the DK or the newer one.&amp;nbsp;&lt;br /&gt;The chip on my dk says : PCA10056, 1.0.0, 2018.25, 683802088&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10056 with SD card module</title><link>https://devzone.nordicsemi.com/thread/144085?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 07:59:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cbdf560-31a5-4b37-b529-dc23bebdc193</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;If you are using one of the older nRF52840-PDK, this has the engineering A device, which was deprecated with the SDK v15 release. I would recommend that you obtain the latest revision of the nRF52840 to develop on.&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>