Skip to main content
Associate II
June 20, 2024
Solved

Regarding USB Driver

  • June 20, 2024
  • 2 replies
  • 1473 views

Hello Everyone, I'm Bala! I'm New to the Embedded Field, In our Project I have to write one USB Driver code fully. This is where USB and Enum install, Endpoint Bulk transfer thing, Getting Device and Config Descriptor, and everything else comes in. So suggest me some ideas to crack these things which will be very helpful for my career.

I'm Using STM32H7xx MCU.

This topic has been closed for replies.
Best answer by Imen.D

Hello @bsn_14 and welcome to the Community :)

I would recommend starting with ready-to-use USB application available under STM32CubeH7 MCU package.

You may find several USB applications dedicated for the various STM32H7 boards in this folder:

STM32CubeH7/Projects at master · STMicroelectronics/STM32CubeH7 · GitHub

 STM32CubeH7/Projects/STM32H745I-DISCO/Applications at master · STMicroelectronics/STM32CubeH7 · GitHub. 

This will help you to have more idea on how configuration and implementation are done.

For more details, on how you use the STM32Cube USB device library, please refer to UM1734 user manual which is applicable to all STM32 Series that feature an USB peripheral.

You can also get more details on referring to UM1720 (STM32Cube USB host library). 

2 replies

Imen.DBest answer
ST Technical Moderator
June 20, 2024

Hello @bsn_14 and welcome to the Community :)

I would recommend starting with ready-to-use USB application available under STM32CubeH7 MCU package.

You may find several USB applications dedicated for the various STM32H7 boards in this folder:

STM32CubeH7/Projects at master · STMicroelectronics/STM32CubeH7 · GitHub

 STM32CubeH7/Projects/STM32H745I-DISCO/Applications at master · STMicroelectronics/STM32CubeH7 · GitHub. 

This will help you to have more idea on how configuration and implementation are done.

For more details, on how you use the STM32Cube USB device library, please refer to UM1734 user manual which is applicable to all STM32 Series that feature an USB peripheral.

You can also get more details on referring to UM1720 (STM32Cube USB host library). 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
bsn_14Author
Associate II
June 20, 2024

Thank you, Mr. Imen, your assistance is greatly appreciated and will be very helpful to me. :)