Stm32mp157c-odyssey OTG issues
- February 20, 2026
- 2 replies
- 309 views
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";
};
