When I connect usb upstream port of USB2513B to Windows PC and Ubuntu PC,All downstream ports are working.But when I connect upstream port to My MPU(İMX7dea-UCOM Som board) it didnt dedect any downstream ports.I added USB2513b linux driver to my kernel.When I built the my kernel it created the USB2513x.o file.How can I fix this.
Hello Emin,
USB HUB is a plug and play device, USB2513 is also, by default, you don't need to add special driver for it. you can check it like below:
---------------------
2 USB ports are supported by I.MX7D, one is USB OTG1 which works are Dual Role mode, mainly used to download images by MFG tools, the other is USB OTG2 which is often used to be USB HOST.
So your USB HUB based on usb2513 should be connected on the USB port.
1. Open terminal on windows PC
2. connect debug UART on i.MX7D to your PC
3. Power on i.MX7D board
4. After linux boot is done, connect USB HUB to USB OTG2(USB HOST ON I.MX7D).
5. check if related information on connection is showed on console(terminal)
----------------------
If steps 1-5 are done, no any response on connections, measure the voltage of USB OTG2 VBUS pin, please! The pin should supply 5V to external USB HUB.
Have a nice day!
Best Regards,
NXP TIC Weidong