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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
2,876 Views
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.

Labels (3)
1 Solution
1,767 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,768 Views
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 Kudos
Reply
1,767 Views
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you  attend this case?

0 Kudos
Reply
1,767 Views
timesyssupport
Senior Contributor II

Hi,

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

Thanks,

Timesys Support