I want to write a simple program to test the spi on my board ( mars board imx6 ) but I don't know how !!!
I read the documentation for the spi on ( https://www.kernel.org/doc/Documentation/spi/spi-summary ) and also the file ( spi.h) but I don't know the fonctions and the variables that I have to use.
can someone show me a simple example, to send a data for example ( to visual that with a scop ) .