Skip to main content
Micls
Associate
Sep 1, 2025 5:35 AM UTC
Solved

STM32N6 DK stuck when generate default project

Hi,

Im just getting my new STM32N6570-DK and I try blinking simple led project first with default generate.

But when I built and flash it, it got stuck when init UCPD (pic 1), am I missing something ?

When I checking seem it still not define yet (pic 2).

Thanks

Micls_0-1756704854553.png

Micls_1-1756704869910.png

 

 

This topic has been closed for replies.
FBLBest answer
ST Technical Moderator
Sep 3, 2025 5:20 PM UTC

Hi @Micls 

It appears you didn't configure UCPD global interrupt, DMA settings neither configure USB PD stack. I suggest you to start with example provided in CubeN6.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL

3 replies

ST Technical Moderator
Sep 1, 2025 10:38 AM UTC

Hi @Micls 

Would you attach your IOC file?

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Micls
MiclsAuthor
Associate
Sep 2, 2025 10:53 AM UTC

And one more thing is LED2 default is input mode.

Everything it generate default

FBLBest answer
ST Technical Moderator
Sep 3, 2025 5:20 PM UTC

Hi @Micls 

It appears you didn't configure UCPD global interrupt, DMA settings neither configure USB PD stack. I suggest you to start with example provided in CubeN6.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL