How shld i program SD card for pic18? :confused::confused::confused:
P Thread Starter pinkscorpio Joined May 28, 2008 8 May 28, 2008 #1 How shld i program SD card for pic18?
M musica07 Joined May 28, 2008 13 May 28, 2008 #4 Thx. I shld click the MMC link rite?.... Bt how to write c program codes to store data to the sd card? Any idea?...we are using MP lab.
Thx. I shld click the MMC link rite?.... Bt how to write c program codes to store data to the sd card? Any idea?...we are using MP lab.
N nanovate Joined May 7, 2007 666 May 28, 2008 #5 You will be using the SPI interface. The example code is for a PIC16F876 device so you'd have to adapt it for your device.
You will be using the SPI interface. The example code is for a PIC16F876 device so you'd have to adapt it for your device.
P Thread Starter pinkscorpio Joined May 28, 2008 8 May 28, 2008 #6 The example code that you are refering to is the one for the mmc code right?
M mrmeval Joined Jun 30, 2006 833 May 28, 2008 #8 You can use SPI protocol and a floppy disk connector. http://uanr.com/sdfloppy/ A pic device logs GPS to an SD card http://www.gedanken.demon.co.uk/gps-sd-logger/ More http://www.freelabs.com/~whitis/sd_card/ http://www.mcu.fluxfocus.com/documents/SDSPI/sdspi.htm
You can use SPI protocol and a floppy disk connector. http://uanr.com/sdfloppy/ A pic device logs GPS to an SD card http://www.gedanken.demon.co.uk/gps-sd-logger/ More http://www.freelabs.com/~whitis/sd_card/ http://www.mcu.fluxfocus.com/documents/SDSPI/sdspi.htm