juan bautista

Please Help (microSD card and SPI - MC9s08GT32

Discussion created by juan bautista on Oct 5, 2008
Latest reply on Aug 31, 2009 by Oliver Rutsch
Hi guys, I am working with a microSD card in SPI mode. The cpu is a gt32
I can`t enter in spi mode, I do not see any response from the card,. I have done a little piece of code that sends CMD0 and whait for the R1 response (0x01 card in idle state) but it never comes.
I think the code is ok, maybe is hardware problem, I have tested the connection and is ok. I didnt put any pullup or pull down resistors. I dont know what  to do! please help me!
The attached file is the code, if someone could check it, it would help me a lot.
Added p/n to subject.

Message Edited by NLFSJ on 2008-10-06 07:02 AM


Message Edited by t.dowe on 2009-09-04 02:01 PM