Reply by WangoTango September 14, 20102010-09-14
In article <icCdnZuD_ZgS-hLRnZ2dnUVZ_radnZ2d@giganews.com>, 
madhu.komaraneni@n_o_s_p_a_m.gmail.com says...
> Hi > > I'm trying to interface SD card (Transcend 1GB and 2GB) through SPI to > Infineon controller. > It is not initializing, infact i'm not getting response from SD card for > CMD0 (0x40). > when i'm going through some web site, it is given that not all SD cards > support SPI communication. > I wanted to know whether these SD cards what i'm using will support SPI? > and also the initialization sequence will differ from card to card? if so > how can resolve this issue. > > awaiting for u'r reply. >
As was mentioned in another post, you can't talk to the card any faster than about 100 - 400K before it is fully initialized.
Reply by Warren September 14, 20102010-09-14
larwe expounded in news:01ea491d-350c-495b-9307-da818d83e0a2
@g18g2000vbn.googlegroups.com:

> On Sep 14, 8:16&#4294967295;am, "madhuk" <madhu.komaraneni@n_o_s_p_a_m.gmail.com> > wrote: > >> when i'm going through some web site, it is given that not all SD
cards
>> support SPI communication. > > I never met a (fullsize) SD card that didn't support SPI mode. Get the > datasheet for your actual card and read it. 99.99999% likely your code > is buggy.
Are you using an SPI peripheral controller, or bit-banging it? Even if using the SPI peripheral, there are several configuration options that need careful selection. For starters, drop the speed down to some low level to make sure that the basics work. Check the clock polarity and phase also. Warren
Reply by larwe September 14, 20102010-09-14
On Sep 14, 8:16=A0am, "madhuk" <madhu.komaraneni@n_o_s_p_a_m.gmail.com>
wrote:

> when i'm going through some web site, it is given that not all SD cards > support SPI communication.
I never met a (fullsize) SD card that didn't support SPI mode. Get the datasheet for your actual card and read it. 99.99999% likely your code is buggy.
Reply by madhuk September 14, 20102010-09-14
Hi

I'm trying to interface SD card (Transcend 1GB and 2GB) through SPI to
Infineon controller.
It is not initializing, infact i'm not getting response from SD card for
CMD0 (0x40).
when i'm going through some web site, it is given that not all SD cards
support SPI communication.
I wanted to know whether these SD cards what i'm using will support SPI?
and also the initialization sequence will differ from card to card? if so
how can resolve this issue.

awaiting for u'r reply.

thank you,
madhu

	   
					
---------------------------------------		
Posted through http://www.EmbeddedRelated.com