Skip to main content
CMorg.1
Associate II
Sep 2, 2023 12:54 PM UTC
Question

STM32H723 not entering usb dfu mode - usb type-c configuration/wiring issue?

I'm wondering if this is caused by the use of a usb type-c connector. Is there recommended wiring for how to connect a type-c to STM32 processors while retaining the ability for dfu functionality?

 

Note that for BOOT0 R30 has been modified to be 0 ohm on my test board. Also I've removed D1.

 

This topic has been closed for replies.

4 replies

TDK
Sep 2, 2023 1:56 PM UTC

Would be helpful to see more of the schematic. How is USB connected to the chip? Are you using supported pins? Can you connect over SWD?

"If you feel a post has answered your question, please click ""Accept as Solution""."
CMorg.1
CMorg.1Author
Associate II
Sep 3, 2023 12:59 AM UTC

Able to connect over SWD. USB is connected to DP and DM only, no connection to vbus or ID pins.

Board boots normally if reset without holding the BOOT0 button but hangs at startup if booted when holding the BOOT0 button. So maybe its getting stuck in a DFU by accident?

I can't tell from AN2606 but maybe its a transition on one of the other pins at power up causing the issue?

I've cross posted slightly here on stack exchange where I have more schematic sections posted, https://electronics.stackexchange.com/questions/679846/stm32h723-not-entering-usb-dfu-mode

CMorg.1
CMorg.1Author
Associate II
Sep 3, 2023 1:00 AM UTC

And the code runs as expected on the board too, serial terminal, gpio pins etc.