Skip to main content
Visitor II
April 9, 2025
Solved

STM32H7A3 USB_OTG_FS

  • April 9, 2025
  • 3 replies
  • 543 views

Hi,

    I am using the STM32H7A3 board to implement the virtual serial port function for USB, and I want to use FS mode. However, there is no macro definition related to FS mode in STM32H7a3xx. h. Do I need to manually add it? And I checked the demo in the development package, but there is no demo of H7A3 regarding the virtual serial port. Can you provide it? Currently, I am referring to the USB virtual serial port demo of stm32H743l for porting, following the HS mode, but the computer does not recognize the USB interface.

    This topic has been closed for replies.
    Best answer by Andrew Neil

    That doesn't tell us much - Please give a link.

    3 replies

    Super User
    April 9, 2025

    Welcome to the forum.

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

     


    @comer wrote:

    I am using the STM32H7A3 board 


    Which STM32H7A3 board ?

    comerAuthor
    Visitor II
    April 10, 2025

    It's not an official development board, it's the smallest system board I bought online

    Super User
    April 10, 2025

    That doesn't tell us much - Please give a link.

    comerAuthor
    Visitor II
    April 11, 2025

    hi ,andrew neil

            The important thing is not this development board, but the USB code generated by CubeIDE when I use the STM32H7A3 chip for development the configuration related to FS, whether this chip can be configured into FS mode?

    Super User
    April 11, 2025

    STM32H7A/B have only one USB controller (per the documentation, I don't have these boards) and it is named "HS".

    For example see here. This is why _FS macros are not defined for this product - just by arbitrary convention.