I think the debug output will use one the D2. You would need to disable both the uart and the debug uart - as the serial output could be upsetting your spi output
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.
@Wilberforce,
Yes, I did try exactly what you have mentioned, but no luck so far...