SPI not working with MBED (was: Performance of XIAO with Sharp Memory Display)

For BMP388, the following will read 0x50 of ChipID for both mbed and non-mbed.

//SPI.transfer(0x00); // Address to read from peripheral
//SPI.transfer(0x80); // Byte signalling read instruction to peripheral
SPI.transfer(0x80); // Address to read from peripheral
SPI.transfer(0x00); // Byte signalling read instruction to peripheral