I'm designing a system and maybe (if I don't find better alternatives) I will need to use a PIC32 as a handler in between two USB devices and a host. My plan is to use the PIC32 to hide the devices, so the PIC has certain protocols downstream and another protocol upstream. I've been reading a lot about the USB specification and about the support of USB on Microchip PIC32 micro controller series. But still, I have one fundamental doubt: is it possible to connect two devices downstream of the PIC and to connect the PIC upstream to a host at the same time? In other words, is it possible for the PIC32 to act as a host and device at the same time?
I would really appreciate any hint or suggestion about this
Thanks in advance.