Using STM32l476 controller. Master is running at 30 MHz and slave is running 15 MHz.
- In SPImaster, clock should be system clock/2.
- In slave, clock should be system clock/4.
- 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?
- Which is max clock speed I can choose in the above scenario?
- What if Master clock is 32 MHz ?How to choose frequency? If you divide 15/4 = 3.75 MHz, with 30 MHz Master clock can be scaled down to 30/8 = 3.75 MHz