i.mx7 SABRE spi

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

i.mx7 SABRE spi

1,010 Views
dharmeshkanzari
Contributor II

Hello i am using i.mx7 sabre board. 

On board one mikrobus socket is there and i want interface spi device on mikrobus socket how to do that.

please help me.

Regards,

Dharmesh

Labels (1)
0 Kudos
4 Replies

556 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dharmesh

one can use simple spi test in imx-test package (../mxc_spi_test)

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

please check board schematic

Schematics (2)
Design files for i.MX 7Dual (REV D)
Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual (REV D)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Linux Demo Image

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.2.0_iMX7D&appType=license&location=null&Parent_... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

556 Views
dharmeshkanzari
Contributor II

Hi Igor,

i have seen schematic and tried on my side. But the problem is according to schematic spi 3 is connected on mikrobus socket.

And i cant select spi 3 according to mxc_spi_test1.c file. so please help me how to resolve this challenge.  

please find attached screen shot when i am trying to with spi 3spi3.png

please help me to solve this challenge.

Regards,

Dharmesh

0 Kudos

556 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dharmesh

one can try to build image with  imx7d-sdb-reva-touch.dts

(enable ecspi3).

linux-2.6-imx.git - Freescale i.MX Linux Tree 

Best regards
igor

0 Kudos

556 Views
dharmeshkanzari
Contributor II

Hi Igor,

can you please give me document  or suggestion how to build image?

i don't know how to do that. Any document is enough for me

Regards,

Dharmesh

0 Kudos