This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to adjust USB HID MAX PACKET SIZE

Other Parts Discussed in Thread: MSP430F5529

i'm using MSP430F5529, USB HID, for data transfer.

When I send 48byte data, I found the receive data front 36 byte is correct, but after 36btye is error, always.

My setting of packet size, MAX_PACKET_SIZE = 0x40

Can I adjust this size by myself? I need reduce this packet size to located issue. 

  • Hello,

    if you are seeing errors, it might be that your HID report (report_desc_HID0[] in descriptors.c) is probably not laid out correctly. 

    Here are some documents that might help with understanding the HID report:

    HID1_11.pdf   - document for explanation of fields and their values

    Hut1_11.pdf  - document for usage tables and ids and report examples

    Regards,

    Arthi Bhat

**Attention** This is a public forum