cancel
Showing results for 
Search instead for 
Did you mean: 

missing Standard Interface Requests implementation on STM32_USB_Device_Library :(

thln47
Associate III
Posted on December 14, 2015 at 17:11

Hi,

\STM32Cube_FW_F3_V1.4.0\Middlewares\ST\STM32_USB_Device_Library\Core\Src\usbd_ctlreq.c

The device doesn't pass the usb test (USB3CV Tool at http://www.usb.org/developers/tools/) because some mandatory functions in usb device described in USB Spec Rev2.0 aren't implemented.

These

standard

functions should be present inside USBD_StdItfReq function in usbd_ctlreq.c file :

USB_REQ_CLEAR_FEATURE, USB_REQ_SET_FEATURE, USB_REQ_GET_STATUS, USB_REQ_GET_INTERFACE, USB_REQ_SET_INTERFACE

and the structure USBD_HandleTypeDef should handle the current alternate interface setting.

My question is : should I implement this functions, myself ?

if yes, on next library update, my work will be erased.

if no, is a future release of this library expected in a few time ?

Thanks for reply

#usb-stm32
0 REPLIES 0