AnsweredAssumed Answered

Unexpected SPI frequency variation

Question asked by DEVEN SOLANKI on Sep 4, 2017
Latest reply on Sep 26, 2017 by Carlos_Musich

Hi,

 

 

I am working in imx7d sabresd. Right now I am testing SPI which is available in mikrobus with spitest application (link: https://raw.githubusercontent.com/raspberrypi/linux/rpi-3.10.y/Documentation/spi/spidev_test.c).

 

I am changing frequency (from application) so mostly I am getting nearby clock value(like for 25MHz output frequency is 20MHz), that is ok because it is using divider.

But when I am giving 3MHz,4MHz,8MHz and 9MHz I am getting very low frequency(below 1MHz), and when I am giving 2MHz it is reflecting as same 2Mhz. Why it is like that?

 

Thanks in advance,

Outcomes