This is a cache of https://discuss.96boards.org/t/spi-frame-frequency/5573. It is a snapshot of the page at 2024-09-20T09:08:22.910+0000.
SPI frame frequency - DragonBoard410c - 96Boards Forum

SPI frame frequency

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

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-

1 Like

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