<?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>sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38737/sd-card-problem-gpio-drive</link><description>Hello, 
 I have a problem with communicating with SD cards ( https://devzone.nordicsemi.com/f/nordic-q-a/34401/fatfs-example-does-not-work-with-every-sd-card ). I resloved partially my problems with configuring SCK and MOSI lines to H0H1. But I still</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Sep 2018 11:05:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38737/sd-card-problem-gpio-drive" /><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/150223?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 11:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:673a0005-1822-406b-903f-fe568ce61664</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I can take a look at your layout if you want. You can set this case as &amp;#39;private&amp;#39; and anything you post will be confidential from that point on.&lt;br /&gt;&lt;br /&gt;Do you have datasheets for the SD cards?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/150200?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 09:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4de06295-4483-4066-8950-cc0463b76f39</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;Symptoms are that (usually) card is able to initilize and prints capacity but then fails on mounting. I tested 3 different cards and on my pcb none of these was working. When I am trying with nrf52 dk and SD slot then usually 2 working and only one fails with the same behaviour (fail on mounting, however sometimes it works).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149999?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 11:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9547d31a-2fce-4eda-9836-008498d97044</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Do you have more information on the nature of your problem, like what are the actual symptoms, how many different cards have you tried and how many of the works?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149902?ContentTypeID=1</link><pubDate>Sat, 22 Sep 2018 08:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:358edd71-3911-4e28-8772-c297f35845ad</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thank you :) I tried applying H0H1 to all lines but did not get better result in compare to what you proposed in previous thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149895?ContentTypeID=1</link><pubDate>Sat, 22 Sep 2018 00:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a51f794-cca0-479f-813d-8b9b45803b9b</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;/CS should probably be H0H1 as well (its not mentioned above) ..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149850?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 13:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238765d6-ab3b-4c81-b5cd-9405aff7969b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;I am wondering if because of too weak drive of gpios nrf&amp;nbsp;may not be able to drive some of SD cards over SPI?&amp;quot;&lt;br /&gt;&lt;/span&gt;One way to test that hypothesis is to drive the I/O lines by external MOSFETs.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;span&gt;Or may it be that current peak caused by SD card have introduced some noise to power lines and to SPI lines?&amp;quot;&lt;br /&gt;Try decoupling the SD card supply with 4,7µF in parallell with 100nF, and 1nF.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149839?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 12:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e465395e-4eb5-4e70-b1fe-df666d55c487</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Thanks, I tried it all. I lowered CLK speed to lowest and did not get better results. Also I was checking lines with logic analyzer and I saw that sometimes lines go high or low for microseconds when they should not.&lt;/p&gt;
&lt;p&gt;I am wondering if because of too weak drive of gpios nrf&amp;nbsp;may not be able to drive some of SD cards over SPI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd card problem / GPIO drive</title><link>https://devzone.nordicsemi.com/thread/149837?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 12:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce4da0c-433c-4a70-885d-16482aa4e0d7</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I&amp;#39;d try to lower the CLK speed incrementally and see if that helps. I would also scope the IO lines with both a digital analyzer and a regular oscilloscope to see if there&amp;#39;s something out of place.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>