Could it be to do with the SPI clock speed? The SD card code sets it to 1000000, so you could try specifying that when initialising SPI2 and see if that helps?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Could it be to do with the SPI clock speed? The SD card code sets it to 1000000, so you could try specifying that when initialising SPI2 and see if that helps?