Change SPI CPHA/CPOL in runtime | Cypress Semiconductor
Change SPI CPHA/CPOL in runtime
I use an SPI bus with different hardware components attached (sharing the same MISO/MOSI/SCLK hardware connections). Some of the components use CPHA=0, CPOL=0 others however use CPHA=1, CPOL=0. Is there a way to switch between both modes through a software API? Any other suggestions?