This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI clock selection

Using Stm32l476 controller. Master is running at 30 MHz and slave is running 15 MHz. In SPI master clock should be system clock/2 slave clock should be system clock/4

Question 1: My understanding is slave need clock from master. Data shifting completely depends on masters clock. In that case why datasheet mentions slave clock selection condition?

Question 2: Which is max clock speed I can choose in the above scenario?

Question 3: What if Master clock is 32 MHz ?How to choose frequency? if you divide 15 MHz /4 =3.75 MHz ,with 30 MHz Master clock can be scaled down to 30/8 =3.75 MHz

Thanks, Raju

Parents Reply Children
No data