Posts Tagged SD Card

Using the BusPirate with a SD card

As part of my GPS Logger project I needed to make sure that I could initialise and talk to a SD card over a SPI bus. The BusPirate is an excellent tool for testing  the physical and datalink layers. All parameters can be checked and adjusted on the fly without having to write any code. When the time comes to write code for the GPS logger, it will work first time as all the kinks and quirks were quickly worked out with the BusPirate.

This post covers SPI bus setup, card initialisation, reading and writing individual sectors.

BusPirate and a SD card, together at last

Read the rest of this entry »