I am tring to use a USB PHY ULPI module to run USB HS on STM32H750 chip with ChibiOS.
Code: Select all
#define STM32_USB_USE_OTG1 FALSE
#define STM32_USB_USE_OTG2 TRUE
#define STM32_USE_USB_OTG2_HS TRUE
and also modified the certain GPIO Pin set to alternate mode. But the device doesn't work with the PC "unable to enumerate USB device".
Also, when I turning to the stm32 datesheet, it told me "OTG-HS1 supports both full-speed and high-speed operations, while OTG-HS2 supports only full-speed operations." Does it mean that I should define "STM32_USE_USB_OTG1_HS" as TRUE instead of the "OTG2" one? (I tried but nothing happened.)
So I am wondering how could I do to make the ULPI PHY work?