Testing SPI on Apalis TK1 Eval Board

I am attempting to verify the functionality of the communication ports available on the Apalis TK1 eval board.
I have been unable to run the loopback test described here: SPI (Linux)

When running spidev_test I receive the following response rather than the transmitted hex values.

./spidev_test -D /dev/spidev0.0
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
can’t send spi message: Invalid argument
Aborted

Looking in /dev, the following devices are available: spidev0.0, spidev1.2, spidev3.0

Thank you

hi esilva

Which bsp version are you using?

Apalis-TK1_LXDE-Image_2.8b1.64-20171229

By default SPI on tk1 can’t run with 500 kHz frequency try using min of 6MHz

Thank you very much dominik, that change solved the problem