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 HID code not working with LPC2387

Hello Everyone,

I have downlaoded sample code of USB HID of LPC2368 and I am using to test it with LPC2387.
But code is not working properly.

LED of USB connect is blink while I am attaching USB that means it connects properly But its not able to transfer data.
I don't know what is wrong in my code or I am doing something wrong.

Please if anybody had done this before it please suggest me what is wrong.

Thanks in advance.

Parents
  • Hi Tsuneo,

    I am confused in this matter.
    I had checked my connections and D+ line of connector is connected to D+ line of microcontroller and same for D- line.

    You said that lines are swapped so I have to change that connection and if I do this means I have to connect D+ line of connector to D- line of controller.
    But I don't understand how it will work if I make this type of reverse connection..

    Let me know the logic behind it.

    Thanks & Regards
    Dhaval

Reply
  • Hi Tsuneo,

    I am confused in this matter.
    I had checked my connections and D+ line of connector is connected to D+ line of microcontroller and same for D- line.

    You said that lines are swapped so I have to change that connection and if I do this means I have to connect D+ line of connector to D- line of controller.
    But I don't understand how it will work if I make this type of reverse connection..

    Let me know the logic behind it.

    Thanks & Regards
    Dhaval

Children
No data