I have some experience with these microcontrollers, and as far as I know, you cannot use both USB OTGs_HS simultaneously. They share several resources, including clock, reset, bus address, CPU interrupt, power supply, and pins. You can only use one of the two USB OTGs_HS at a time.😯