cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Slave Configuration Clock

mahmoud_dhaiwi
Associate II
Posted on September 21, 2015 at 16:52

Hello,

I use a stm32f103, I want to use the SPI peripheral in slave mode.

The SPI Master is configured with a clock at 1Mhz.

I must to configure the STM32 SPI peripheral with a clock at 1Mhz, but its not possible with these prescalers availables, I can have 1.5Mhz or 0.75MKhz.

Which clock I must choose ? the upper or the lower ?

Thanks :)

#spi-slave-mode #spi-stm32f103
1 REPLY 1
Posted on September 21, 2015 at 17:28

Pretty sure the slave shouldn't care, it's using the master's clock to shift the data, and the peripheral is clocking at the APB rate internally.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..