This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 USB KEYBOARD DRIVER ISSUE

Hi,

I'm working on a project where I'm connecting a USB keyboard to one USB port on STM32F746NG-discovery board and one USB port is connected to the PC. Here I can send data to the PC but I am not able to get data from PC side to know whether the toggle keys(caps lock,num lock,scroll lock) have been pressed or not.

I didn't get any USB keyboard driver for device mode.
I have modified USB mouse driver by adding USB keyboard's descriptor. But it is not working at all.

Does anyone have USB keyboard sample code ?
Whether the keyboard is receiving any data or it is simply sending ?

Regards
Neha