SPI tutorial, 8051

Discussion in 'The Projects Forum' started by myztic_man, Jun 18, 2009.

  1. myztic_man

    Thread Starter Member

    Apr 27, 2009
    21
    0
    Hi there.
    I am in the middle of building a GPS logging system (and other sensors) with an Atmel AT89C51AC3.

    So far I have the NMEA strings from GPS coming in via UART, getting split up via some String Handling functions and then getting displayed on a 16*2 LCD.
    I am now onto trying to log the data using a MicroSD Card and Breakout Board (sparkfun).

    I am going to interface to the microSD using SPI, however this is a transmission protocol that I've not experienced / used before and I am finding it very hard to understand. I am trying to follow a tutorial :
    http://www.8051projects.net/mmc-sd-interface-fat16/index.php
    Which shows how to interface an 8051 processor to a MMC/SD Card, however i've not the required experience in SPI to understand even the tutorial.

    Do you know of any C-based SPI tutorials which may provide me with some kind of insight (at an SPI beginners level)? I've been googling for hours and found nothing but examples of Complex Machine Code. (I am programming in C).

    Thoughts appreciated...
     
  2. myztic_man

    Thread Starter Member

    Apr 27, 2009
    21
    0
Loading...