Hi,
I have a few questions about SPI.
I am developing using the imx6q-sabresd board.
Here is my code :
1. fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.h
/* ECSPI1 */ is the existing code and I added /*ECSPI2*/.
2. fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.c
3. add CONFIG_SPI_SPIDEV=y
I made this setting, but I can not see the / dev / spi related device.
I need help. please.
Best regards
CHEON
Hi kangta
one can look at L3.0.35 spidev example:
/dev/spidev not appearing on iMX6Q despite kernel configuration and modalias="spidev"
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your reply. I set it up as you told me, but I do not see / dev / spi info.
Excuse me, can you suggest another way?
Thank you for your help. Now I can see /dev/spi2.0. By the way, I am looking for a way to check spi behavior. echo "test"> /dev/spi2.0 I tested it with the command, but it has no response. ./mxc_spi_test1.out -D 0 -s 1000000 -b 8 E6E0 In the test using / unit_test / mxc_spi_test1.out Error: Can not open device (Maybe not present in your board?) This error message is output. I searched the community, but I could not find the cause. Could you help me? Thank you.