How USB HID adds endpoints

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How USB HID adds endpoints

828 次查看
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.

标签 (1)
0 项奖励
回复
2 回复数

826 次查看
MHY_0878
Contributor I

Here's my code

0 项奖励
回复

734 次查看
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 项奖励
回复