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.
Modify the "lpcxpresso55s28_dev_hid_generic_bm" program as shown below
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.
Check the value of DEV_ADDR from MCUXpresso IDE, which is the device address assigned by the host.
Wish it helps you.
If you still have question about it,please kindly let me know.
BR
Xu Zhang
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