cancel
Showing results for 
Search instead for 
Did you mean: 

Setting SPI1 to the highest clock frequency

HAhme.1
Associate II

Hello,

I just wanted to ask what's the best way to set the SPI and system clock in STM32L496 to have at least 40MHz frequency for the SPI1.

Thank you in advance

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1

If the respective APB clock is 80MHz, setting SPI1_CR1.BR to 0b000 sets its clock to fPCLK/2 i.e. 40MHz.

JW