LPC55S28-EVK as a USB HID

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

LPC55S28-EVK as a USB HID

241 Views
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?

Labels (2)
0 Kudos
Reply
2 Replies

171 Views
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 Kudos
Reply

182 Views
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 Kudos
Reply