MAX31856 + SD card logger issue

Hello all,

I have a logger which I made with an Arduino Nano, a MAX31856 and a SD card.

If I use the MAX31856 without writing the temperature on the SD card, everything works fine.
If I write some data in a file on SD card, everything works fine.

If I try to read the temperature from the MAX and write it in a file on SD card....nothing is written. There is no readout from the MAX device actually.

I suspect something related with the SPI modes.
As far as I know, the MAX is working with SPI_MODE1 and the SD card with SPI_MODE0.

However, I cannot make them work together.

Any ideas?

Thanks.

Hope this helps.