Cannot use multiple SPI slaves on separate buses

I am attempting to use an SD card and a separate SPI device on two separate buses – they do not share any SPI line. However, no SPI communications work when both devices are present. Upon removing the SD card, SPI transactions with the other device work fine.

I am using a K64F MCU with Mbed 6.17.0.

Does this happen if you don’t initialize the 2nd card in software but do connect it in hardware?

No, it doesn’t.