cancel
Showing results for 
Search instead for 
Did you mean: 

HOW to set spi mode 3 in stm32cubemx

RShar.9
Senior

HOW to set spi mode 3 in stm32cubemx.

SPI Mode 3 CPOL = 1 (polarity), CPHA = 1 (phase), how to set these setting in spi stm32cubemx

1 ACCEPTED SOLUTION

Accepted Solutions
David SIORPAES
ST Employee

Hello,

for CPOL=1 and CPHA=1 set SPI peripheral as follows:

0690X00000AsOPIQA3.png

View solution in original post

2 REPLIES 2
David SIORPAES
ST Employee

Hello,

for CPOL=1 and CPHA=1 set SPI peripheral as follows:

0690X00000AsOPIQA3.png

Thanks it's working now