This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to access a microSD card with MCBSTM32EXL

Hi,

I'm using the Keil MCBSTM32EXL development board. I would like to communicatie with a microSD card. I collected a lot of documentation from the Internet.

As I understood: the uSD card starts up in SD mode. This fast mode if for professionals only (need to pay al lot and sign a non-disclosure agreement etc). By sending a serial message to the card while holding CS low it swaps to slower general use SPI mode.

I tried all kinds of signals to get into the SPI mode but no data is coming out of the uSD card. I send 6 Bytes using CRC value of 0x95.

I use pin 2 as CS, pin 5 as CLK, pin 2 as Data-in and pin 7 as Data-out.

Where do I go wrong?

Where are the experts? ;-)

thanks

Henk

Parents
  • Yes - it is a common beginner's mistake to think that something looks simple and, therefore, it must be simple.

    Very often, quite the opposite is true - as the old saying goes, "it takes a great deal of effort to make something appear effortless"

    Congratulations - you got there in the end!

Reply
  • Yes - it is a common beginner's mistake to think that something looks simple and, therefore, it must be simple.

    Very often, quite the opposite is true - as the old saying goes, "it takes a great deal of effort to make something appear effortless"

    Congratulations - you got there in the end!

Children