LPC55S28-EVK as a USB HID

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

LPC55S28-EVK as a USB HID

289 次查看
Sang
Contributor I

Hello community,

I created the LPC55S28-EVK as a USB HID generic device. I need to know what address it will go through when sending and receiving files on the device into memory?

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

219 次查看
XuZhang
NXP Employee
NXP Employee

hi,Sang

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you, I will gladly help you with this.

Check the UM11126.pdf manual, and you can see that DEV_ADDR is used to describe the USB device address.

XuZhang_0-1722247071690.png

Modify the "lpcxpresso55s28_dev_hid_generic_bm" program as shown below

XuZhang_1-1722247091910.png

When the device manager has device information, it means that the USB device has been connected and the host has assigned an address to the USB device. Then, set a breakpoint at usb_echo in the above picture to view the register information.

XuZhang_3-1722247132260.png

Check the value of DEV_ADDR from MCUXpresso IDE, which is the device address assigned by the host.

XuZhang_4-1722247152327.png

Wish it helps you.
If you still have question about it,please kindly let me know.

 

BR

Xu Zhang

0 项奖励
回复

230 次查看
XuZhang
NXP Employee
NXP Employee

hi,Sang

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you, I will gladly help you with this.

I have received your question and will deal with it as soon as possible.

BR

Xu Zhang

0 项奖励
回复