test code for checking ECSPI2 on iMX8M Mini EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

test code for checking ECSPI2 on iMX8M Mini EVK

跳至解决方案
1,300 次查看
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 项奖励
1 解答
1,194 次查看
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 项奖励
2 回复数
1,195 次查看
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 项奖励
1,194 次查看
sreedhar_appala
Contributor IV

Thank you igor,

you gave me the details what i am looking far.

thanks once again,

Sreedhar

0 项奖励