AnsweredAssumed Answered

STM32F4 SPI Clock polarity - How to change it dynamically?

Question asked by tee.cyndy on May 9, 2013
Latest reply on May 10, 2013 by jj.sprague
We can initialize the SPI port clock polarity  by :-
SPI_InitStruct.SPI_CPOL = SPI_CPOL_Low;
SPI_InitStruct.SPI_CPHA = SPI_CPHA_1Edge;


If we have several slaves connected to the SPI port, different slave operated using different clock polarity, is there any way to change those 2 parameters easily without using the above method again?

Thanks.

Outcomes