2026-02-20 2:06 AM
Hello,
I am using and stm32mp157c-odyssey SoM with a custom made motherboard,
However I am having issues getting the usb port function properly.I am using otg fs. It fails the enumeration in the pc side and gets stuck at L1 sometimes and other errors. I still don't know if it's a hardware or software related issues. I am configuring it as device only.
below I will include picture of the usb schematic, the logs, as well as the device tree node.
Note : We are not using otg_fs_id it's not connected to anythhing , and vbus comes directly from the PC host to the OTG_vbus pin so no vbus gpio.
Using yocto image 6.1 mickledore.
&usbotg_hs {
compatible = "st,stm32mp15-fsotg", "snps,dwc2";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&usbotg_fs_dp_dm_pins_a>;
dr_mode = "peripheral";
};
2026-02-23 3:42 AM
Hi @softcity002
It seems control transfers on EP0 are failing. Disable LPM as a test.
This could be SW or hardware issue. You can reach to Seeed SoM directly to get support.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-02-23 8:39 AM
Hi,
did you try to use similar settings than the high-speed without VBUS nor ID ?
DT configuration example as high-speed OTG in Host or Peripheral mode, with micro-B or Type-C connector, and with VBUS and ID left unconnected
dr_mode = "peripheral";
usb-role-switch;
role-switch-default-mode = "peripheral";
Regards.
2026-02-23 10:33 PM
Hello, I did disable LPM but the behavior didn't change.
2026-02-23 10:35 PM
Hi.
I did try that and everything proposed in the ST wiki, but same behavior.