AnsweredAssumed Answered

no imx6solo ecspi1 clk in master mode

Question asked by Coiln Park on Feb 11, 2017
Latest reply on Feb 22, 2017 by Coiln Park

I am using ecspi1 as a master mode.

But CLK is not working. I don't know why it is not working...

I can only see the spidev0.0 in the dev/...

Currently, CLK signal is now, MOSI is high, MISO is low, SS is high..

I am using 4.1.15.2.0.1 of kernel.

 

&ecspi1 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
status = "okay";

spidev0: spi@0 {
      compatible = "spidev";
      spi-max-frequency = <20000000>;
      reg = <0>;
};

 

 

pinctrl_ecspi1: ecspi1grp {
fsl,pins = <
MX6QDL_PAD_DISP0_DAT20__ECSPI1_SCLK 0x100b1
MX6QDL_PAD_DISP0_DAT22__ECSPI1_MISO 0x100b1
MX6QDL_PAD_DISP0_DAT21__ECSPI1_MOSI 0x100b1
MX6QDL_PAD_DISP0_DAT23__ECSPI1_SS0 0x100b1
>;
};

Outcomes