Skip to main content
RShar.9
Associate III
November 24, 2019
Solved

HOW to set spi mode 3 in stm32cubemx

  • November 24, 2019
  • 2 replies
  • 5336 views

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.
Best answer by David SIORPAES

Hello,

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

0690X00000AsOPIQA3.png

2 replies

David SIORPAES
David SIORPAESBest answer
ST Employee
November 25, 2019

Hello,

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

0690X00000AsOPIQA3.png

RShar.9
RShar.9Author
Associate III
November 26, 2019

Thanks it's working now