2025-06-03 4:35 AM - last edited on 2025-06-03 4:38 AM by mƎALLEm
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?
Which is the product section table for more clarity?
Thanks in advance,
2025-06-03 6:01 AM
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.
2025-06-03 6:03 AM
how about the 2 functionality support?
2025-06-03 6:31 AM
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.