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,