SPI and ststm32

I have a few AZ3166 boards and I am looking to use SPI for an MCP 2515 (CAN bus) board. I have been able to get this working on an Arduino UNO without issue, but can’t get the SPI libraries to work with the AZ3166. Any suggestions or samples I can review? I have found the az3166spi.h header and see the mbed header is being included from the SPI.h header.

What platformio.ini and code are you using, what’s the wireup between your board and the target MCP2515 module, what debugging steps have you made? Simply blinky / serial output firmwares work on the board?