Replies: 2 comments 1 reply
-
@marwaiehm-st Would you be able to help ? |
Beta Was this translation helpful? Give feedback.
-
The overlay might be misleading. I have only made changes that differ from the nucleo dts. The pll node is merged to:
PLL_1P equals 16 MHz (HSE) / 4 * 80 / 20 = 16 MHz. However PLL_1P is not used. The line <&rcc STM32_SRC_HSE USBPHYC_SEL(0)> should set the clock source to 16 MHz HSE, but it's also the default value. In addition to that, I added setup code to the usb_dc_stm32_clock_enable function as you can see in my zephyr fork. There I
I have also checked that all this values are written into registers. |
Beta Was this translation helpful? Give feedback.
-
Hi
I try getting the USB high speed peripheral of the STM32U5A5 to work. For me, it seems it is not supported, yet. What I have done so far:
Build fails:
zephyr/drivers/usb/device/usb_dc_stm32.c:281:43: error: 'LL_AHB1_GRP1_PERIPH_OTGHSULPI' undeclared (first use in this function);
Link to repo: https://github.com/sageve/zephyr-minimal/tree/hs-usb
Modifications in usb_dc_stm32.c: main...sageve:zephyr:hs-usb
Either my device tree and/or my changes in usb_dc_stm32.c are wrong or there is a lot more missing in order to get the high speed phy work. Further debugging without knowing what's actually implemented, seems like a lot of work for me.
@erwango Can you or one of your members give me a hint?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions