This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HID Custom Data Size

I use the USB controller on the ARM Cortex-M3 (STM32F103R8T6) and would like to implement an HID device class for specific reasons.

The HID demo from the ST USB Library works fine but it was written to send and receive a maximum of 2 bytes. I would like to send and receive at least 32 bytes per transfer.

Did anyone have success in changing the data transfer size?

After changing the appropriate firmware sections (Init, Descriptors, etc.) the device still can't transmit due a buffer overrun. This overrun is because the IN and OUT buffers for EP1 is not large enough.

I can't determine how they implemented these buffers only that they located them at an absolute address.

Please advice if you had success with changing this demo.

0