How USB HID adds endpoints

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How USB HID adds endpoints

796 Views
MHY_0878
Contributor I

Hello seniors, I am a novice learning nxp microcontroller, and I now have a board of LPCXpresso55s69. I'm learning the use of USB, I modified the code on the official example, I want to add a new OUT endpoint on the original interface, after adding the USB enumeration is successful, but the newly added endpoint can't be used (the host fails to send data to it), and finally I attach my code, I want your seniors to help me, thank you.Hello seniors, I am a novice learning nxp microcontroller, and I now have a board of LPCXpresso55s69. I'm learning the use of USB, I modified the code on the official example, I want to add a new OUT endpoint on the original interface, after adding the USB enumeration is successful, but the newly added endpoint can't be used (the host fails to send data to it), and finally I attach my code, I want your seniors to help me, thank you.

Labels (1)
0 Kudos
Reply
2 Replies

794 Views
MHY_0878
Contributor I

Here's my code

0 Kudos
Reply

702 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @MHY_0878 

If you are new to LPC55S69 USB, I suggest you use the Config Tool inside MCUXpresso IDE to configure the USB. It is also easy to add an OUT endpoint using it.

Alice_Yang_0-1736736702967.png

 

It is a graphical configuration interface. And it is friendly for beginners in development,  There is a quick - start guide that you can refer to:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Using-ConfigTool-to-create-USB-Project-F...  

 

BR

Alice

0 Kudos
Reply