简体   繁体   中英

STM32F4 Discovery USB in HS mode?

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?

所有STM32F4的HS模式都需要外部PHY

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM