test code for checking ECSPI2 on iMX8M Mini EVK

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

test code for checking ECSPI2 on iMX8M Mini EVK

Jump to solution
1,518 Views
sreedhar_appala
Contributor IV

Hi,

I am working with IMX8M Mini EVK and yocto project build details:

 

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""

I have enabled the ECSPI2 in the dts file as mentioned in the thread ECSPI2 on i.MX8M Mini EVK 

Could you please share me any test code to do the ECSPI2 test.

Is this the location of test code : 

imx-yocto-bsp/<yocto-build>/tmp/work/aarch64-mx8mm-poky-linux/imx-test/1_7.0+AUTOINC+d32727a9d7-r0/git/test/mxc_spi_test       

Thank you, Sreedhar

0 Kudos
Reply
1 Solution
1,412 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

one can look at attached patch or example of nitrogen board

linux-imx6/imx8mm-nitrogen8mm.dts at boundary-imx_4.14.x_1.0.0_ga · boundarydevices/linux-imx6 · Git... 

unit tests for test  :

mxc_spi_test\test - imx-test - i.MX Driver Test Application Software 

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

View solution in original post

0 Kudos
Reply
2 Replies
1,413 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreedhar

one can look at attached patch or example of nitrogen board

linux-imx6/imx8mm-nitrogen8mm.dts at boundary-imx_4.14.x_1.0.0_ga · boundarydevices/linux-imx6 · Git... 

unit tests for test  :

mxc_spi_test\test - imx-test - i.MX Driver Test Application Software 

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

0 Kudos
Reply
1,412 Views
sreedhar_appala
Contributor IV

Thank you igor,

you gave me the details what i am looking far.

thanks once again,

Sreedhar

0 Kudos
Reply