AnsweredAssumed Answered

No SPI CLK on IMX6

Question asked by kiruthika varadarajan on Mar 25, 2015
Latest reply on Feb 10, 2017 by Coiln Park

I dont see any clock on SPI1_SCLK while probing

 

My pin mux settings are as follows

 

&ecspi1 {

        fsl,spi-num-chipselects = <1>;

        cs-gpios = <&gpio2 30 0>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_ecspi1_1>;

        status = "okay";

        spidev: spidev@0 {

           compatible = "spidev";

           spi-max-frequency = <20000000>;

           reg = <0>;

        };

};

pinctrl_ecspi1_1: ecspi1grp-1 {

                        fsl,pins = <

                                MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1

                                MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1

                                MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1

                                MX6QDL_PAD_EIM_EB2__GPIO2_IO30  0x80000000

                        >;

                };

A slave device is connected to SPI1_SS0.

No clock signal. SS0 is always high. MOSI is always high.

I am using spidev_test application to send the data to connected slave through /dev/spidev0.0.

 

Thanks,

Kirthika

Outcomes