AnsweredAssumed Answered

STM32F4-Discovery HS USB

Question asked by pacman on Nov 23, 2014
Latest reply on Dec 22, 2015 by Clive One
Hi all,

I want to convert the USB HID MOUSE demonstration example (from the board firmware package) into HIGH SPEED and be able to transfer 128Bytes in a single Xfer.

I changed the following places;
HID REPORT;
REPORT_SIZE (8)
REPORT_COUNT(128)
(report descriptor works properly under FS)

USBD_HID_CfgDesc;
wMaxPacketSize = 128

USBD_DeviceDesc;
bMaxPacketSize = 128

USBD_Init(&USB_OTG_dev,
            USB_OTG_HS_CORE_ID,
            &USR_desc,
            &USBD_HID_cb,
            &USR_cb);

HID_IN_PACKET                128
HID_OUT_PACKET             128

When i run, nothing happened on PC side. Its not detected.


Please help me on that matter.




Which settings i need to change?

Outcomes