Can't change SPI speed from spidev or kernel [Vybrid Linux]

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

Can't change SPI speed from spidev or kernel [Vybrid Linux]

跳至解决方案
2,871 次查看
vpa
Contributor II

Hi,

I try to change spi speed from userspace or kernel space.

I tried to use ioctl function (SPI_IOC_WR_MAX_SPEED_HZ) but it appears that it has no effect on the clock signal.

I modified kernel spi_board_info structure like that :

{ .modalias = "spidev"

  .max_speed_hz = 2000000,

   [...]

}

SPI works well but i can't change the clock signal speed, it appears that the frequency is fixed to 8 Mhz.

Board : TWR-VF65GS10

Running on Timesys kernel 3.0

Driver SPI spidev

Vincent.

标签 (3)
1 解答
1,762 次查看
timesyssupport
Senior Contributor II

Hi Vincent,

In the Linux 3.0 kernel source, the supported SPI device driver is M25P80 with the at26df081a chip. If you are using a different driver or chip, Timesys can support this under a services agreement. Please contact Timesys at http://linuxlink.timesys.com/support if you are interested in doing so.

Thanks,

Timesys Support

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,763 次查看
timesyssupport
Senior Contributor II

Hi Vincent,

In the Linux 3.0 kernel source, the supported SPI device driver is M25P80 with the at26df081a chip. If you are using a different driver or chip, Timesys can support this under a services agreement. Please contact Timesys at http://linuxlink.timesys.com/support if you are interested in doing so.

Thanks,

Timesys Support

0 项奖励
回复
1,762 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you  attend this case?

0 项奖励
回复
1,762 次查看
timesyssupport
Senior Contributor II

Hi,

We are looking into this issue. We expect an update to be available early next week.

Thanks,

Timesys Support