I want to interface camera to MCB2300 through USB interface. Please let me know how this should be done.
And what processor do you have on your board - does it happen to have a USB host controller? Most LPC23xx variants don't, which you probably already know from reading the user manual for the processor.
Thanks for your reply. This board has got LPC2378 and it does n't have a host controller. Is there any way that I can connect camera to this kit (MCB2300)
There are TCP/IP-based cameras, and UART-based. Definitely look at TCP/IP.
Then why not choose a board that does have a Host controller?
Or, use an external Host controller chip: NXP have some, and there are others such as www.ftdichip.com/.../VNC2.htm www.ftdichip.com/.../VNC1L.htm
Or, as already mentioned, use a camera that doesn't require a USB Host
As of now I have an USB camera and it seems that I cannot use it with my kit (MCB 2300). If not USB, what are the other ways that I can interface camera to MCB2300 kit and use it in my application?
"As of now I have an USB camera"
If you got the board first, with no USB host, then why did you choose a USB camera?
Or, if you got the camera first, which requires a USB Host, then why did you not choose a board with USB Host?
There is an important lesson to learn here about carefully considering your requirements before spending time or money on acquiring hardware!
"it seems that I cannot use it with my kit (MCB 2300)"
Incorrect! Of course you could use it - nobody said that you cannot use it. But to use it will require that you add a USB Host of some sort.
"what are the other ways that I can interface camera"
Have you actually read any of the replies you have received in this thread? At least two alternative interfacing methods have already been mentioned!
In addition, cameras with SPI are available.
Have you checked your local camera suppliers to see what's available to you?
There's lots to be found; eg,
mbed.org/.../Camera_LS_Y201
www.sparkfun.com/.../10061
Thanks for the lesson. Neither the board nor the camera was acquired by me. They are already available here which were used by somebody else for their different applications. Before acquiring hardware for my application I am verifying whether I can make use of existing stuff
Remember that nobody knows anything about you, your project, your facilities, etc, other than what you clearly state in your posts...
I have MCB2300 board with LPC2387, this processor has the USB host controller. I have downloaded from npx.com the example 'USBHostLite for LPC23xx/LPC24xx V1.00' but it seems not work. Now, I have problem with the 'Host_Init' function, could you help me with any example code?
What problem, exactly, do you have?
"could you help me with any example code?"
How do you expect anyone to know if their example code will help you when you don't say what help, exactly, you need?!
You said you already have example code - from NXP. If you can't use that, why do you think that you will be able to use any other random example code?
What study and debugging have you done to determine where the problem(s) lie in the code that you already have?
View all questions in Keil forum