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

it’s actually running super fast and smooth with Adafruit_SharpMem display(&SPI, D4, 400, 240, 8000000); in non-mbed-mode but doesn’t do anything when I flash the same code in mbed…

I’m really lost at this moment.