AnsweredAssumed Answered

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

Question asked by Vincent Pena Amiel on Feb 26, 2014
Latest reply on Mar 11, 2014 by Timesys Support



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