Skip to main content
Micls
Associate
September 1, 2025
Solved

STM32N6 DK stuck when generate default project

  • September 1, 2025
  • 1 reply
  • 276 views

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

 

 

Best answer by FBL

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.

1 reply

Technical Moderator
September 1, 2025

Hi @Micls 

Would you attach your IOC file?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.Best regards,FBL
Micls
MiclsAuthor
Associate
September 2, 2025

And one more thing is LED2 default is input mode.

Everything it generate default

FBLBest answer
Technical Moderator
September 3, 2025

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 Accept as Solution on the reply which solved your issue or answered your question.Best regards,FBL