Hi,
I'm using the Keil MCBSTM32EXL board with the STM32F103ZG micro controller. On this board there is a microSD card holder connected to the uC. I would like to use this feature writing and reading a microSD card. I browsed the Internet, read datasheets e.t.c. It seems there are two modes of operation: SD and SPI. SD is the fastest. First I would like to communicatie SD. If this is no option then I would like to use SPI. I read something about non-closure agreements and back engineerd drivers.
My simply (newbie) question is this:
What do I practically need to communicate with the microSD card?
thanks,
Henk
I think you mean non-disclosure agreements?
It is true that the full SD standards are proprietary and "closed" - only available on payment of a (substantial?) fee to the SD Association
https://www.sdcard.org/
However, a "reduced" version of the specs is available for free:
www.sdcard.org/.../
That, together with the very large amount of material on the Web, should be plenty to get you going
www.lmgtfy.com
Note that many devkits come complete with working SD-Card demos...
I have only used SPI mode, but it seemed to me that SD mode looks more complex - so you might do well to start with SPI...?
Try FatFS:
elm-chan.org/.../00index_e.html
NXP offers existing ports to its ARM7 and CM3 chips - both SPI based but the SD interface port is not hard to make as well.