Hi,
we are using imx6dl-sabresd custom design board. We are using HUB as a HS device. Most of the time if we connect pendrive it is detected and data transfer also working fine but sometimes after inserting and reinserting Pendrive is not detected.AT the time of pendrive not detected if we reboot the board pendrive is detected.
If anyone found this issue please help.
We are using linux 5.4. (yocto zeus)
Here are my dtsi entry:
reg_usb_h1_vbus: regulator-usb-h1-vbus {
compatible = "regulator-fixed";
regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&swbst_reg>;
&usbh1 {
vbus-supply = <®_usb_h1_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
status = "okay";
};
pinctrl_usbh1: usbh1grp {
fsl,pins = <
MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0
MX6QDL_PAD_EIM_D30__USB_H1_OC 0x1b0b0
>;
};
Note:We are not getting any error logs(dmesg logs) at the time of pendrive not detecting.
Hi Adarsh
reason may be weak or noisy signals, so device is not detected sometimes.
One can try to check usb signals quality running tests described in
i.MX 6 Series USB Certification Guide
Best regards
igor