AnsweredAssumed Answered

stm32f4 usb packet length

Question asked by eb3484 on Nov 4, 2016
Latest reply on Nov 5, 2016 by eb3484

I am using stm32f4 usb custom hid usb stack. For now i can send and receive just 64Byte packets. When i want to send or receive more packets like 512Byte, the stack crashes. I use the tx and rx packets length for 64Byte defines like this :

#define CUSTOM_HID_EPOUT_SIZE                0x40
#define CUSTOM_HID_EPIN_SIZE                 0x40

I use the send hid report function like this:


It works for 64Byte but i can not increase the packet length. Any advise??