Hello!
So you are talking about CPU register needed to access SD card?
- Setup a SPI connection (see the docs of the PIC you are using for specific registers).
- Then use the code of FvM's links.
For MSP430, for example, you can send data by SPI by writing UCxxTX = my_byte;
and the byte is sent immediately.
For receiving, it's like this: my_byte = UCxxRX;
Now there are myriads of subtleties depending on whether you send / receive byte
by byte (I would recommend you to start like this), or using DMA which is more tricky
but more efficient.
PS: Look around to find some code, I am sure there is. I'm an absolute beginner
with PIC, and I found this:
**broken link removed**
with which I could write an LCD graphic interface (Pic32).
Dora.