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.
已解决! 转到解答。
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
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
timesyssupport can you attend this case?