This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sample code for using both USB ports as Host in LPC 2468 Simultaneously

I am Using LPC2468 Micro-controller in my Electronic cash Register.Now I am only able to connect a single USB device with the ECR machine at a time,i.e I can connect either a USB Printer or a USB bar-code Scanner to the machine at one Time.But As there are two USB Host ports available in LPC2468,I want to use both the ports simultaneously so that I can Connect both USB printer and Bar-code scanner with the machine at same time and use them. Is there any Sample code available for achieving this.Please provide a suitable Link for Code if Possible.

  • > I can connect either a USB Printer or a USB bar-code Scanner to the machine at one Time.

    Which one is the host stack you are using now?
    I believe Keil RL-USB middleware doesn't support LPC24xx.
    If you would have full source code of the host stack, and if the stack would be a simple one, like NXP USB host lite, addition of the second host port shouldn't be so difficult.

    Tsuneo