0
votes

I want to convert the USB HID MOUSE demonstration example (from the STM32F4 Discovery 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 even detected.

Please help me on that matter. Which settings i need to change?

1
Your host operating system is probably unwilling to recognize a "mouse" claiming to be a high speed device. You would also need to move the identification pullup resistor as for full speed, and be able to disable it.Chris Stratton
But in that case, i'd expect an UNIDENTIFIED DEVICE warning, isn't that true? (I use Windows7)pacman

1 Answers

2
votes

HS mode on all STM32F4 need external PHY