Connecting an SD Card to a Microcontroller.

Connecting an SD Card to a Microcontroller.

In one of my previous articles we displayed an image from an SD card on a display, but a few points were left out: first, connecting the card itself; second, only some of the Petit FatFs library functions were covered. Let's look at these points in more detail. Communication with the card is possible over one of two interfaces, SPI or SD. I should say that the SD interface can work in one-bit...