microSD Card Reader & P8X32A
I have the following microSD Card Reader.
http://www.komputer.de/zen/index.php?main_page=product_info&cPath=22&products_id=122
How must i connect it to a breadboard P8X32A for spi ?
http://www.komputer.de/zen/index.php?main_page=product_info&cPath=22&products_id=122
How must i connect it to a breadboard P8X32A for spi ?
Comments
Look for "FRSW" in OBEX and there's also a driver from from Kye there too.
You could also take a look at the GadgetGangster.com "Propeller Platform USB" and see how they hooked it up...
Is this a problem ?
Tutorial: Writing to SD Cards
http://gadgetgangster.com/tutorials.html
Reading SD Cards
http://gadgetgangster.com/tutorials/414
http://code.google.com/p/propforth/wiki/PropToSDconnection
has some information for the physical connection for SD to the prop.
If you use a microSD and micro to full size SD adapter, you solder to the adapter and use it as the SD slot
Though the page is in the context of propforth, it should apply to any SD card connection, just change the pin numbers per your configuration
Take a look at the Parallax document for comparison to yours. Various vendors have different ideas about the need for pullups.f
Connecting CD may be trivial.
CD stands for Card Detect. You can get by without it, but you might have to adapt your SPIN code.
This is NOT for the Lock on the card to make it Read Only (I've corrected this post).
The feature is not critical to use SDcards.
On the other hand, some very large size SDcard have CD/DATA3 - a shared function. That may be a problem. But since smaller SDCards (less than 2Gbytes) are really all you need for the Propeller, using small cards would avoid further issues.
Parallax's Micro SD card reader includes ALL the lines and provides ALL the pullup resistors. So it is a better option.
what would you need to do if you needed to use >4gb micro SD cards? well i`ll leave the details as to why i`d need such a big storage.
Please see attached photo.
This microSD card adaptor has 10pin.
I installed it to protoboard. I re-used card-reader(junk parts).
Every microSD card adaptor terminal is same.
But some parts has no CD-terminal.
Signal direction
P0 --> microSD
P1 --> microSD
P2 --> microSD
P3 <-- microSD
microSD adaptor terminal
From upward;
DAT1/IRQ
Not Used
DAT0/DO
P3(Green wire) with pull-up resistor(10kohm)
Vss
Gnd(Gray wire)
CLK
P2(Blue wire) with pull-up resistor(10kohm)
Vdd
3.3V(Red wire)
CMD/DI
P1(White wire) with pull-up resistor(10kohm)
DAT3/CS
P0((Black wire) with pull-up resistor(10kohm)
DAT2
Not Used
CD(Card Detect)
Not Used
CD(Card Detect)
Not Used