Using STM32F072B-Disco as keyboard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-10 2:28 PM
I am trying to us my STM32F072B-Disco board as an HID keyboard. I've followed tutorials like this one, (https://www.instructables.com/STM32-As-HID-USB-Keyboard-STM32-Tutorials/) that have gotten the transmission of characters to work, but only partially.
When the code is running on the board, the characters are transmitted, but at a rate much faster than they should be. The characters should be transmitted extremely fast, with no stopping, despite the program transmitting the empty characters that should prevent this.
I think the issue might be in the Clock Configuration, as my board and the boards in all the tutorials have different configurations that might not be interchangeable. I attached a picture of my clock configuration.
Any ideas? Thanks in advance!
- Labels:
-
RCC
-
STM32CubeMX
-
STM32F0 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-19 4:38 AM
Hello @rosschm
Welcome to ST Community :smiling_face_with_smiling_eyes:
You can refer to the following example provided under our F0 Firmware Package:
- Projects\STM32F072B-Discovery\Applications\USB_Device\HID_Standalone
I hope this helps.
BeST Regards,
Walid
