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

USB Pen Drive

Hello frnds,

I am using LPC 2368 ARM controller for my application. I want to use Usb as MASTER communication . in my application I want to transfer data from my hardware device to pen drive(memory stick) or vice versa. I am very new developer in USB Master side. I already successfully complete USB communication as a slave communication(PC to device and vice versa.PC master and my device Slave). I have MCB2368 kit for testing. So if you have any related data or any source code for MASTER usb communication .forward me . Thank you.

Regard,
Suprit patel

  • The data sheet says "The USB device controller on the LPC23xx enables full speed (12Mb/s) data exchange with a USB host controller."

    To me, that means that the LPC2368 may only be a device, not a host.

  • I want to use Usb as MASTER communication

    This is not possible. The device does not have USB host functionality.

    From the datasheet:

    USB 2.0 full-speed device with on-chip PHY and associated DMA controller.
    

    (emphasis mine)

    USB host functionality requires much more complexity and resources that USB device functionality. You will need to chose a different chip, or a different type of memory (MMC/SD cards and CompactFlash cards come to mind).

    You might look for a chip that has USB OTG ("On the go") functionality, which, as far as I understand it, allows two USB devices to communicate without needing a host.