So I had the idea to use a second SPI bus with MISO and MOSI swapped. With this I could solve my hardware problem by software.
But I think I can't use a second SPI bus which has the same pins as the first one.
Example Code SCK = 11, MISO = 12, MOSI = 13
- DisplaySpi = new SPIClass(FSPI);
- DisplaySpi->begin(11,13,12,CS_DISPLAY);
- BaroSpi = new SPIClass(HSPI);
- BaroSpi->begin(11, 12, 13, CS_BARO);
The SPI that was created last works without problems but the one that was created first does not work.