Resolved! Re: SPI and I2C Pin Conflict Issue on STM32F103CBT6
(translated)I encountered the exact same problem. I2C and SPI can be used independently. When used together, SPI cannot communicate, but I2C works fine. After commenting out the I2C initialization, SPI can be used normally. The chip model is STM32F1...