Skip to main content
Visitor II
March 9, 2022
Question

what is the minimum circuit i need for a STM32 to run it and debug via SWD? Is the attached schematic sufficient? For debugging I would connect my J4 to CN4 of a Nucleo board. Sorry for the trivial question, i don't have much experience with stm32

  • March 9, 2022
  • 6 replies
  • 5820 views

0693W00000Kc0keQAB.png

    This topic has been closed for replies.

    6 replies

    Graduate II
    March 9, 2022

    Yes, looks pretty good, I think it achieves what you set out to do.

    Might want to add the 32.768 KHz crystal, most STM32 turn all the other clocks off in STANDBY operation. Check the diagrams for the Low Power Domain. PC13,PC14,PC15 have very low drive currents as they are in that domain.

    BKarlAuthor
    Visitor II
    March 10, 2022

    ok, happy to hear that, thanks for the quick answer

    Visitor II
    March 11, 2022

    If Vdd is like 1.8V, check the debug probe capability for supporting lower voltages.

    BKarlAuthor
    Visitor II
    March 11, 2022

    Vdd is 3.3V, is that a problem if I want to use a Nucleo-board for debugging?

    Graduate
    March 11, 2022

    As you don't show how power gets to the board (and no sign of a voltage-regulator), it might be that you're powering it from a bench power-supply (or some other voltage source) or the nucleo board, on the end of "long" wires (let's say longer than 20 cm).

    If that's the case, I'd want more power-supply-decoupling - a single big capacitor 10 uF to 100 uF between Vdd and ground. (If you use a tantalum or electrolytic, be sure to get the polarity right.)

    BKarlAuthor
    Visitor II
    March 11, 2022

    ah ok i see what you mean, yes i took that into account (I hope so). This is how the power gets to the board:0693W00000KcH3NQAV.png