Hi,
I have downloade the USB HID code of 3180 and configured it 3250 ics.nxp.com/.../code.bundle.lpc3180.keil.zip
I have seen a thread regarding this "USB implementation in LPC3250".I am facing the same problem like "USB DEVICE IS NOT RECOGNIZED" It is not enumerated in the PC.
I would like to know how it is(or can be) resolved?
Also it says "SDRAM ***MUST*** be initialised for USB sample code to work". I did not get how it need to be initialized also.
Thanks in advance.
Ok. So we've now established what you're actually debugging.
You say your evaluation board has an ISP1301, but have you confirmed that it is being accessed correctly? Is the I2C address as expected by the example code?
Have you now checked the startup code to ensure that it is enabling all the necessary devices on the board correctly - Including the SDRAM.
Is the memory layout of your evaluation board the same as expected by the example code?
These are questions you should have answers to. In answering those, you might find the a difference that is causing your board to fail. I can confirm that I got the basic example code working on our custom board, with only minor tweaks.
Thanks for the replies IB Shy, I have made it work.
I have been struggling to get USB Host configured on the Phytec Board (with a different OS & Compitler). I have confirmed the ability to configure the ISP1301 and clocks appear to be correct. I have configured the LPC3250 USBHost controller in DAT/SE0 bi-directioanl mode to the point that it queues Transfer Buffers, but the D+/D- lines never toggle on the scope. Each transfer subsequently results in a "No Device Response" condition code.
Do you have a code fragment that configures USBHost that you can share? Or possibly just register dumsp of the relevant USB register?