You're still doing this with the F4? Do you ever call SPI1.setup(...)? I didn't see that in the code you posted above - I guess it's possible that the default pins for SPI have changed for some reason.
Maybe you could try software SPI just to narrow it down:
var spi = new SPI();
spi.setup({miso: yourpin, mosi:yourpin, sck:yourpin});
...
var d = spi.send(...);
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.
You're still doing this with the F4? Do you ever call
SPI1.setup(...)
? I didn't see that in the code you posted above - I guess it's possible that the default pins for SPI have changed for some reason.Maybe you could try software SPI just to narrow it down: