USB HID Gereric buffer issue

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

USB HID Gereric buffer issue

767 Views
vincent_hu
Contributor I

Hi Sir,

 

When I was evaluating the LPC54628 development board ,  I met an issue .

Example : SDK\LPC54628J512\boards\lpcxpresso54628\usb_examples\usb_device_hid_generic

Evaluation Board : LPCXpresso54628

NXP Original Example :  USB HID receive data , then send data directly.    

Default USB package length = 8 bytes

This example could run well and PC send bytes(less than 8 bytes) to USB HID, then USB HID reply these bytes to PC directly.

 

 

I tried to modify data length large than 8 (e.g. 64), but set point at USB_Devicehid irq, see g_UsbDeviceHidGeneric.buffer[ ] size still is 8 bytes. 

I believe it should be modified other code, hope your suggestion ASAP.

BTW :  I think that user should not modify other layer code except some Marco Definition and user self-definition command while USB recognize. 

 

Thanks.

Best Regards,

Vincent

Labels (1)
0 Kudos
1 Reply

628 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Vincent,

I checked you submitted the same question at case: 00187393.

Please check my reply at that case.

I suggest to follow the [readme.pdf] file to make related modification at PC test tool Wimar’s USB HID Component.
The [readme.pdf] located at below path:
..\SDK_2.4.1_LPCXpresso54628\boards\lpcxpresso54608\usb_examples\usb_device_hid_generic\bm

Wish it helps.

Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos