We are Using LPC2468 in our Electronic cash register.Currently we are using USB port1 for the role of host and USB port2 for the role of Device. Now we want to use both USB ports as host simultaneously.so that we can attach a USB bar-code scanner at one port and USB printer at the other.
1.Is it possible to use both USB ports as host at the same time?
2. What changes do i need to do for configuring and to make the USB port2 to work as host?
There are actually 2 questions there:
1. Is the hardware capable? That is a question which you need to address to the hardware manufacturer - in this case, NXP. What does the hardware documentation tell you?
2. Is the support software/middleware capable? To answer that, it would obviously be necessary to know what software/middleware you're using - wouldn't it!
Again, it is obviously impossible to say what needs changing without knowing what you already have!
But the chip documentation will tell you all the details of the available configurations
And the documentation for whatever middleware/libraries you're using...
While you're busy studying all the documentation, you could also check whether a hub is supported...
The controller does not have ability to support HUB.