Unexpected SPI frequency variation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unexpected SPI frequency variation

954 次查看
deven_solanki
Contributor III

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,

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

875 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Deven,

which BSP/kernel are you using?

Carlos

0 项奖励
回复