I’ve tried to connect a STM32F103RBT6 Board via SPI but in MBED OS no SPI pin is working and I get error messages in MBED OS.
With the NUCLEO-F767ZI (NUCLEO-F767ZI | Mbed) I have the same problem when I connect my Board with the SPI4 Pins PE_2, PE_4, PE_5 and PE_6. But when I use the SPI4 Pins PE11, PE_12, PE_13 and PE_14 everything is fine.
It is a good idea to list the version of Mbed OS you are currently using.
This error usually occurs when you use a wrong pin in the wrong place - according to pinmap. For example, if you swap if you swap PE_6 with PE_4.