If you use mbed for BSP, the SPI clock is only 8MHz even if you set SD.begin(SD_CS, 32000000). Please also refer to the following link.