I need spi device on IMX6ULEVK as master to transfer command to peripheral chip.
There are spidev0.0/spidev2.0/spidev3.0 under my /dev now.
I test these port with three ways:
echo "hello" > /dev/spidev0.0
I probed CLK/CS/MOSI pins with oscilloscope,found that CLK nerver go high,CS、MOSI go high and nerver go low after I test these port with above ways.
ECSPIx.CONREG.CHANNEL_MODE will turned 0x0/0x1 into 0xf after the tests.
I tried many ways on nxp forum,but I still can't use ECSPI port normally.
Attached is my device tree files,could anyone give me some advice?