2021-08-19 04:11 AM
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
2021-08-19 04:33 AM
If the respective APB clock is 80MHz, setting SPI1_CR1.BR to 0b000 sets its clock to fPCLK/2 i.e. 40MHz.
JW