Skip to main content
RShar.9
Associate III
Nov 24, 2019 10:44 AM UTC
Solved

HOW to set spi mode 3 in stm32cubemx

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

This topic has been closed for replies.
David SIORPAES
David SIORPAESBest answer
ST Employee
Nov 25, 2019 8:18 AM UTC

Hello,

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

0690X00000AsOPIQA3.png

2 replies

David SIORPAES
David SIORPAESBest answer
ST Employee
Nov 25, 2019 8:18 AM UTC

Hello,

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

0690X00000AsOPIQA3.png

RShar.9
RShar.9Author
Associate III
Nov 26, 2019 5:18 AM UTC

Thanks it's working now