What's the electrical state of the SWD pins after flashing is complete ?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • What's the electrical state of the SWD pins after flashing is complete ?

    I'm using the JLink to flash very small and low power devices, and then often measuring the power consumption of them as they run the new code. The SWD pins are typically for convenience still connected to my target system, but I don't know if their electrical state (hi, low, Z) is assured. What is the expected state ? If "Z", what's the expected leakage current if the SWDCLK pin is pulled low and the SWDIO pin is pulled high (both with 100K resistors) ?
    Also, is my understanding that the I/O drive levels are set by the voltage sensed on pin 1 of the 20 pin connector ? How low can this operate ?
    Thanks, -Russ
  • Hi Russ,

    The SWD pins are typically for convenience still connected to my target system, but I don't know if their electrical state (hi, low, Z) is assured. What is the expected state ?

    Depends on the environment.
    If the debug session is still active, they are driven by J-Link.
    If the debug session is finished and no(!) other software is connected to J-Link, the target interface is tri-stated.

    Also, is my understanding that the I/O drive levels are set by the voltage sensed on pin 1 of the 20 pin connector ?

    Yes.

    How low can this operate ?

    See J-Link spec... (segger.com/jlink_base.html)
    1.2V


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.