Electronic – SD card SPI interface for PIC18F25k80

picsdspixc8

I am using a PIC18f25k80 microprocessor and I want to transfer data on an SD card over SPI. The compiler I am using is MPLAB X XC8. Could you please provide an example of how I can initialise the SD card and SPI and how I can create a file where I can store the data. Even a pseudo code would be really appreciated if the task is too complicated!

I have already tried to find examples, but I am really confused on how to put all these together.

Thank you

Best Answer

there is the microchip Application note number 1045 that can help you with that:

an1045

and for come code exemple, I took this to start:

SD + PIC24F

Related Topic