Skip to main content
Visitor
August 19, 2026
Question

HID with single button with costom PCB with STM320GB1CBT6 need code

  • August 19, 2026
  • 2 replies
  • 45 views

i am trying to do HID with costom pcb but i didint find any solution yet

2 replies

Andrew Neil
Super User
August 19, 2026

Welcome to the forum

Please see How to write your question to maximize your chances to find a solution for best results.

 

Did you mean STM32G0B1CB ?

 

For software, Have you looked for USB examples in CubeMX ?

 

For hardware:

Application Note AN5096Getting started with STM32G0 MCUs hardware development.

via: https://www.st.com/en/microcontrollers-microprocessors/stm32g0b1cb.html#documentation

 

See also the Wiki: Introduction to USB with STM32

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
ST Technical Moderator
August 19, 2026

Hi ​@zorolost 

I would recommend this example provided in Cube firmware.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL