Skip to main content
Associate
Solved

STM32H7A3 USB_OTG_FS

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.
    Andrew Neil
    Andrew NeilBest answer
    Super User

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

    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.

    6 replies

    Andrew Neil
    Super User

    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 ?

    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.
    comerAuthor
    Associate

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

    Andrew Neil
    Andrew NeilBest answer
    Super User

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

    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.
    comerAuthor
    Associate

    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?

    Pavel A.

    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.