Here is how I made it work:

CS Connects also to GND in M5. Some Card adapters requires 5V to work (bigger ones) Card must be formatted as FAT32 SD card capacity <=32G