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
Solved! Go to Solution.
Hi Alejandro,
Thank you for your information.
I am getting SPI clock now. The reason behind is hardware issue with pullup and SPI slave.
Thanks,
Kiruthika
Hi,
Please check that the MX6QDL_PAD_EIM_D16 is not used by any other node. If it is used you have to either remove that node or just disable it -> status = "disabled";
In this thread you can find an example of the dts and dtsi for the imx6Sololite. I think you can find it helpful.
How to enable and test SPI in i.MX6SoloLite using kernel 3.10.17?
Best Regards,
Alejandro
Hi Alejandro,
Thank you for your information.
I am getting SPI clock now. The reason behind is hardware issue with pullup and SPI slave.
Thanks,
Kiruthika
hi, I also have the same issue...
please share your solution...
Best regards,
Colin