Connectcore Imx6UL Micro AB OTG enable

Hi,

I am new to DIGI community, I want to enable OTG support on the micro AB. I have used the following setup in order to enable OTG for the Micro AB:

&usbotg1 {
dr_mode = “host”;
fsl,power-line-polarity-active-high;
disable-over-current;
};

&usbotg2 {
dr_mode = “host”;
fsl,power-line-polarity-active-high;
disable-over-current;
};

But, Unfortunately I am not able to enable OTG on the micro USB. When I try drmode = otg @usbotg1, USB1 in host turns off and no longer reads.

Kindly, let me know for any suggestions.

Thank you.

You are not enabling otg support, you are
e configuring both ports as host only.
Which board are you using? SBC pro or SBC express?
dfor SBC PRO
https://www.digi.com/resources/documentation/digidocs/90002285/#reference/bsp/v4-9_6ul/r_usb_6ul.htm
ConnectCore 6UL SBC Pro device tree
&usbotg1 {
dr_mode = “otg”;
vbus-supply = <&reg_usb_otg1_vbus>;
pinctrl-0 = <&pinctrl_usbotg1>;
digi,power-line-active-high;
};

&usbotg2 {
dr_mode = “host”;
digi,power-line-active-high;
disable-over-current;
};

&iomuxc {
imx6ul-ccimx6ul {

    pinctrl_usbotg1: usbotg1grp {
        fsl,pins = &lt;
            MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID    0x17059
            MX6UL_PAD_GPIO1_IO04__GPIO1_IO04    0x17059 /* USBOTG1 PWR */
            MX6UL_PAD_GPIO1_IO01__USB_OTG1_OC    0x17059
        &gt;;
    };
};

};

Please note:
dr_mode = “otg”;

Hi,

I am using SBC express. As, I mentioned I did try drmode = “otg”. But, when I do that that particular USB host gets disabled and I can no longer access sda. But, I haven’t used pinctrl-0 = <&pinctrl_usbotg1>;. I will try that and check.

Tried and still not working. As I said, USB1 is getting disabled when I try in OTG mode.