hanni76 Posted November 19, 2017 Share Posted November 19, 2017 Hi, every one! have any of you guys tried to perform SPI loopback tests on any of existing boards ? I mean this driver code http://elixir.free-electrons.com/linux/v4.13.14/source/drivers/spi/spi-loopback-test.c. I tried to find any information on how to run tests but I completely failed to make it. It would be nice if someone shares a step-by-step instruction. Thanks a lot. Link to comment Share on other sites More sharing options...
martinayotte Posted November 20, 2017 Share Posted November 20, 2017 If your goal is to test SPI with a loopback wire from userspace, it is much easier to use this tool : http://elixir.free-electrons.com/linux/v4.13.14/source/tools/spi/spidev_test.c Link to comment Share on other sites More sharing options...
hanni76 Posted November 20, 2017 Author Share Posted November 20, 2017 2 hours ago, martinayotte said: If your goal is to test SPI with a loopback wire from userspace, it is much easier to use this tool : http://elixir.free-electrons.com/linux/v4.13.14/source/tools/spi/spidev_test.c Yes I want to test SPI no matter from user- or kernel space. Thanks a lot for that link, I will check it. Link to comment Share on other sites More sharing options...
Recommended Posts