- Interface to Chan’s Library of functions
- Target development platform
- Setting up the SPI port during startup.A51
- Global type definitions and variables
- Basic SPI function
- SD Card Initialization
- Setting up the card for SPI Communication
- Reading and Writing a single sector
- Working with diskio.c
- Pulling it all together
Please Bookmark my website for more tutorials.
Download tutorial in PDF Format: MMC SD Card interfacing and FAT16 Filesystem
Link to this tutorial!
MMC SD Card interfacing with 8051/8052 and FAT16 Filesystem