Skip to main content
Visitor II
June 3, 2025
Solved

STM32H743BIT6: USB hardware requirements

  • June 3, 2025
  • 1 reply
  • 350 views

Hello, In our project we are planning to use STM32H743BIT6 uC, we are using USB for flashing the firmware and to download the logs, not at the same time, if we connect DM & DP lines from uC PA11 & PA12 pins to USB microAB connector DM & DP lines, will that be ok? Or any other HW support required?

Meghna_0-1748950487495.png

Which is the product section table for more clarity?

 

Thanks in advance,

 

    This topic has been closed for replies.
    Best answer by TDK

    The USB DFU bootloader on PA11/PA12 can be used to flash code.

    If you implement a file system or VCP on the USB, or whatever, you can communicate with a PC on those pins and send logs or do whatever else you want. It's up to you to choose the USB device type you want and implement it.

     

    Using SWD for flashing and debugging during development is strongly recommended.

    1 reply

    Super User
    June 3, 2025

    You do not need a pullup resistor on the STM32H7. Just connecting DM and DP will work.

    Introduction to USB hardware and PCB guidelines using STM32 MCUs - Application note

     

    It is no doubt listed in several locations. Here's one of them.

    TDK_0-1748955660272.png

     

    MeghnaAuthor
    Visitor II
    June 3, 2025

    Meghna_0-1748955786302.png

    how about the 2 functionality support?

    TDKAnswer
    Super User
    June 3, 2025

    The USB DFU bootloader on PA11/PA12 can be used to flash code.

    If you implement a file system or VCP on the USB, or whatever, you can communicate with a PC on those pins and send logs or do whatever else you want. It's up to you to choose the USB device type you want and implement it.

     

    Using SWD for flashing and debugging during development is strongly recommended.