We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
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.