Skip to main content
hariprasad
Associate III
July 8, 2015
Question

How to use 30Mhz clock on SPI SCK.

  • July 8, 2015
  • 0 replies
  • 527 views
Posted on July 08, 2015 at 08:14

I'm using stm32f429. I have configured my system core clock to 160Mhz and I use the APB2 clock divider as 4, which gives me 40Mhz to my SPI4 peripheral ,

I want to use my SPI peripheral at 30Mhz, since the SPI core clock is 40 when I divide it using the prescalars the frequency's that i'll get 40,20,10,....

I can't change the core clock from160Mhz and the SPI peripheral.

So is there any way to set 30Mhz on my SPI4 without changing core clock and APB2 clock divider value.

#clock #spi #!stm32f4-disco
This topic has been closed for replies.