-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB keyboard. LED control #59
Comments
Hello @alekseibutiaev, Thank you for this report. We will get back to you as soon as we analyze it further. This may take some time. Thank you for your comprehension. With regards, |
Hi @alekseibutiaev, Thank you for this proposal. May I ask where is defined the In the meanwhile, please note that STM32CubeF1 firmware still integrates version 3.3.3 of the USB Host library, while version 3.5.1 has been published here since a couple of months. Would you mind giving it a try a see if the issue still persists? The newer version is backward compatible and you can easily integrate it into your application manually. Please keep us informed. With regards, |
just only try version 3.5.1 --- same problem, same solution |
Hi @alekseibutiaev, Thank you for your reply. Your report will be forwarded to our development teams for further analysis. To summarize:
STM32CubeF1/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c Lines 460 to 473 in bdec2f6
- else
- {
/* IN Endpoint Stalled */
- if (USBH_LL_GetURBState(phost, HID_Handle->InPipe) == USBH_URB_STALL)
+ else if (USBH_LL_GetURBState(phost, HID_Handle->InPipe) == USBH_URB_STALL)
{
/* Issue Clear Feature on interrupt IN endpoint */
if (USBH_ClrFeature(phost, HID_Handle->ep_addr) == USBH_OK)
{
/* Change state to issue next IN token */
HID_Handle->state = HID_GET_DATA;
}
}
- }
+ else if (phost->RequestState == CMD_WAIT)
+ {
+ USBH_CtlReq(phost, 0, 0);
+ }
break; With regards, |
ST Internal Reference: 158663 |
Custom board and with MCU STM32F10[5-7]
the function USBH_HID_SetReport does not works correctly.
How To Reproduce
Indicate the global behavior of your application project.
works with USB keyboard
write led status but does not changed.. but changed after press some keys
The modules that you suspect to be the cause of the problem (Driver, BSP, MW ...).
module MW
The use case that generates the problem.
How we can reproduce the problem.
write status of led by function USBH_HID_SetReport
Additional context
i have solution
My project is firmfare https://github.com/alekseibutiaev/experience/tree/master/zxkeyboard & hardware https://github.com/alekseibutiaev/electronics/tree/master/ZX_Keyboard
The text was updated successfully, but these errors were encountered: