Page 1 of 1

FatFs SDcard filesystem for PIC18F46K42

PostPosted: Tue Dec 29, 2020 12:30 pm
by RISC
Hi,

The current version of MCC enable the rapid development of a project which needs a SD card to log data.
FatFs open source file system is supported in MCC as a library : http://elm-chan.org/fsw/ff/00index_e.html
This project shows how to configure MCC for the HPC curiosity board (PIC18F46K42) + microSD card click board to create and write text into a file on a FAT32 formatted micro SD card.
It can be easily reconfigured for another PIC16 or PIC18 device. SPI port is needed to communicate with the microSD card.
Excellent tutorials can be found here : https://www.studentcompanion.co.za

microSD card project : https://github.com/ohayo35?tab=repositories

Regards