Skip to main content
MIman.1
Associate
February 13, 2024
Solved

STM32CubeIDE deos not creat middleware USB_Device for stm32H723 (Nucleo board)

  • February 13, 2024
  • 1 reply
  • 5040 views

Hi,

I am using stm32cubeIDE to use USB OTG/Dual_role but it does not generate the middleware! 

I do appreciate any help

Thanks

Best answer by STTwo-32

Infact, the Nucleo board support only the USB OTG FS as mentionned on the DB3171. So, you can only configure the internal FS Phy which support only low speed and full speed (max 12MBits/s):

stm2.PNG

But, when using the STM32H723ZGT6 MCU, you can use the External Phy which can go to High speed (480 MBits/s). But you have to connect an external PHY device to the ULPI (which is not done on the nucleo board) as mentionned in the paragraph 3.43 of the DS13313:

stm3.PNG

Hope your questions are answered.

Best Regards.

STTwo-32 

1 reply

STTwo-32
Technical Moderator
February 13, 2024

Hello @MIman.1 

Have you enabled any middleware on your CubeMX configuration. Enabling the USB OTG/Dual_role does not select any Middleware by default.

Can you give more clarifications about your configurations.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MIman.1
MIman.1Author
Associate
February 13, 2024

Hi, 

Many thanks for your quick response! No I have not enabled any middleware. I have been using many functionalites such UART, DAC, etc without enabling middleware. this is the first time I see it. How do I enable  middleware?

BTW I am quite new to this.

Thanks again.

STTwo-32
Technical Moderator
February 13, 2024

If you want to use any middleware (lwip for example) you need to configure it using CubeMX middleware menu. On the next picture for example the freeRTOS middleware is enabled:

14-hse.png

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.