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
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
Master should determine SPI interface clock.
As the spi clock define procedure is telling, Master device is the one that are defining clock speed
View all questions in Keil forum