SPI frame frequency

96boards

#1

Hi
can anyone tell me whether the frequency of the chip_select or chip_enable in SPI protocol is fixed or changing ?


#2

The rate at which chip selects are generated are under software control, and likely not very accurate. The clock rate is under hardware control and very repeatable.

-Lawrence-


#3

Hi
Thank You.
Previously i was using Raspberry pi-3 and faced the issue where the chip select frequency was not constant .

can you please tell me how to alter the SPI code (since you mentioned it is software controlled ) to get better chip select frequency?

When i was working on RPi-3, i implemented SPI using Python and C-programming where i was able to change the frequency of the SCLK and its polarities but not the chip select .

Thank you for your time

Vybhav