If you want USb certification, you need to have power switches which turn off the power to the downstream port when it draws more than current(>100mA for self powered HUB and >500mA for bus powered HUB).
You can use micro- B connector on the upstream port of HUB.
Thank you for your positive response!!!
I used Cypress USB hub 4 port CY7C65631 ,2 downstream port from usb hub is going to USB dual connector ,one downstream port to USB -Ethernet IC and one downstream port to USB -SPI for thermocuouple readings.
I have one doubt as USB upstream port is coming from Rapsberry Pi...and how to program the USB hub and USB to ethernet hub as both having EEPROM and can program using ISP.My question is how to program whether on board any JTAG is required or SPI lines should required to interface with external microcontroller for programming the USB hub
Kindly see the attached block diagram
I tested the board,but when I connect port of the USB hub to my computer then there will be alert message saying ""power surge - usb is getting lower power than it normally requires"".
Please guide me in design of USB hub..