I am using a STM32F767zi nucleo board as SPI full duplex slave. The dummy cycles of the slave device is varies in accordance with the master frequency change. How can I handle the dummy cycles independent of master frequency? What is the solution for making fixed dummy cycles for various master frequencies?
Thanks and regards,
Arjun
I have to fix the dummy cycles issues by getting the fixed dummy cycles values for various frequency ranges from master.
The way this normally works is that the slave has to have a control register that the master writes to set the number of dummy cycles.
The master must write this control register before it makes any data transactions (read or write).
The master can then use any clock speed up to the maximum, and the maximum depends on the value that it writes to the control register.