AnsweredAssumed Answered

Not able to read from spi imx6ul evk

Question asked by Pratyush Tomar on Aug 6, 2016
Latest reply on Sep 8, 2016 by Pratyush Tomar

I am using a wifi device on spi 4. I am able to compile drivers successfully. By debugging driver and using oscilloscope I am able to observe that driver sends packet to wifi module and wifi also replies back but at imx6 ul evk spi end no data is received. I am using spi 4 on imx6ul evk and I am using following dts configuration


&ecspi4 {

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

         pinctrl-names = "default";

         pinctrl-0 = <&pinctrl_ecspi4>;

         status = "okay";


        wilc_spi@0 {

             compatible = "atmel,wilc_spi";

             spi-max-frequency = <6000000>;

             reg = <0>;

             status = "okay";




pinctrl_ecspi4: ecspi4grp {

       fsl,pins = <

                  MX6UL_PAD_ENET2_TX_CLK__ECSPI4_MISO   0x100b1

                  MX6UL_PAD_ENET2_TX_EN__ECSPI4_MOSI    0x100b1

                  MX6UL_PAD_ENET2_TX_DATA1__ECSPI4_SCLK 0x100b1