AnsweredAssumed Answered

Simple program to test ( spi )

Question asked by Hamza DARDOUR on Jul 10, 2014
Latest reply on Jul 11, 2014 by Hamza DARDOUR

Hello World,

 

 

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 ) .

 

Thanks,

Outcomes