Showing results for 
Search instead for 
Did you mean: 


Contributor II

If you wish to use and SDCard with PSOC6, take a look at the following link:

We are successfully using this code.  If an error occurs, you can handle there in the code, rather than having to patch into an exception vector.

This code can also be used in other ways, say and EMMC via direct memory or SPI or other interface.

This is fully open source, and can be used freely, the license is as follows:


/ FatFs - Generic FAT Filesystem Module Rx.xx /



/ Copyright (C) 20xx, ChaN, all right reserved.


/ FatFs module is an open source software. Redistribution and use of FatFs in

/ source and binary forms, with or without modification, are permitted provided

/ that the following condition is met:


/ 1. Redistributions of source code must retain the above copyright notice,

/ this condition and the following disclaimer.


/ This software is provided by the copyright holder and contributors "AS IS"

/ and any warranties related to this software are DISCLAIMED.

/ The copyright owner or contributors be NOT LIABLE for any damages caused

/ by use of this software.


Also take a look at PSOC5 and SDCARD, warning  regarding pins close together on PSOC 5 (may not be an issue on PSOC6).

1 Reply

We already provide a code example that uses the FatFS with SD card. Please refer to:

GitHub - cypresssemiconductorco/mtb-example-psoc6-usb-msc-file-system: This example demonstrates how...

Top labels