I was having a problem making my SD card reader work with Arduino Mega. I tried a lot of things to no avail until I read somewhere that I should try putting a 10 kΩ or 1 kΩ resistor in series with the MOSI and SCLK pins. But for some reason in my case I had to put a 1 kΩ resistor in series with SCLK and CS pins to make it work. What exactly is the reasoning?
Waveshare micro SD card reader
Out of curiosity I added a level shifter too since the SD card module doesn't have one on it and that didn't work. So the Arduino and SD card reader pins must be connected to each other with no level shifting!