STM32MP135F-DK bare metal - how to use the USB host ports - not OTG
Hi all,
i'm writing a program to run on STM32MP135F-DK board that enable the USB host ports of the board.
All the projects I've found are using the OTG port as host.
All the HAL_HCD apis and xxx_ll_usb source use the OTG structures.
Is there ant sample for USB HOST ports?
I only found the macros:
#define USB1HSFSP2_BASE (AHB6_PERIPH_BASE + 0xC000UL)
#define USB1HSFSP1_BASE (AHB6_PERIPH_BASE + 0xD000UL)
...
#define USB1_EHCI ((USB_EHCI_CapabilityTypeDef *) USB1HSFSP1_BASE)
that's ok .. but what about all the other USB (EHCI/OHCI) registers described in the manual?
Thanks!
