cancel
Showing results for 
Search instead for 
Did you mean: 

About SPI1,2,3 CLK Config

pass3master
Senior

We are developing using STM32H743.
We want to set 100MHz for SPI1 CLK and 117kHz for SPI2,3. However, we cannot set it because of "clock tree" and "maximum divisible limit is 256".
Is there any way to achieve the above configuration?

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @pass3master,

 

SPI1, SPI2, and SPI3 share the same clock source as mentioned in RM0433 Figure 51. Kernel clock distribution for SPIs and SPI/I2S. So, they have the same clock frequency.

If you want to configure different clock frequency for SPI, you can use SP1 and SPI4 for example.

KDJEM1_0-1733481126892.png

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
KDJEM.1
ST Employee

Hello @pass3master,

 

SPI1, SPI2, and SPI3 share the same clock source as mentioned in RM0433 Figure 51. Kernel clock distribution for SPIs and SPI/I2S. So, they have the same clock frequency.

If you want to configure different clock frequency for SPI, you can use SP1 and SPI4 for example.

KDJEM1_0-1733481126892.png

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thank you for your response. We will close it now that we have clarified the specifications.