This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to measure current with an external power supply on nRF52840?

Hi,

I have a nRF52840 DK that I want to measure sleep current on, but I find it a bit confusing with all the switches etc. After reading through the documentation I have the following setup:

SW10: ON
SW6: nRF ONLY
SW9: VDD
P21: Power analyzer

But what about SW8? And should a usb cable be connected to J2 to prevent leakage current from nRF to the debugger? Is it possible to use the LEDs in this configuration?

Thank you!

Parents
  • Hi, sorry for the confusion. I will try to clarify a bit.

    Note that: VDD domain is the power domain of the DK (not including the nRF chip). Powering LEDs, debugger chip, etc..

    If you use external supply, you can choose between powering the chip directly OR powering the whole DK from the external source. You choose this with the SW10 switch (VEXT->nRF).

    1. Powering the chip directly (SW10 in ON position) enables you to use the power analyzer as a voltage source, and read out the current directly (as opposed to power analyzer as ampere-meter on P22). However, if you power the chip directly, the VDD domain on the DK will be floating, so you need to power the rest of the DK from USB. So, you need the USB cable to be plugged in to J2.
    2. If you are not powering the chip directly (SW10 in OFF position), you do not need the USB cable to be plugged in.

    SW6 disconnects the GPIOs from the rest of the DK. LEDs, buttons, etc.. If all GPIOs are configured as input (default) you don't have to worry about leakage.

    SW9 is used for selecting the power source.

    • Li-Po: The nRF chip is powered by the Li-Po header on VDDH (high voltage regulator, REG0). The VDD domain on the DK has the same voltage as the output of REG0 (using a voltage follower, 1.8V as default)
    • USB: Same as above except that the chip is powered by the nRF USB connector.
    • VDD: Chip is powered from VDD domain, disabling the high voltage regulator. VDD domain is either USB, external supply or battery holder. When SW10 is ON, the chip is always powered from external supply.

    SW8 should always be on.

    So to answer your question specifically:

    • SW10: ON
    • SW6: nRF ONLY or DEFAULT
    • SW9: VDD
    • P21: Power analyzer (1.8V to 3.6V)
    • J2 USB plugged in
    • Yes, you can use the LEDs but you will have to set SW6 to DEFAULT. LEDs are powered through J2.
Reply
  • Hi, sorry for the confusion. I will try to clarify a bit.

    Note that: VDD domain is the power domain of the DK (not including the nRF chip). Powering LEDs, debugger chip, etc..

    If you use external supply, you can choose between powering the chip directly OR powering the whole DK from the external source. You choose this with the SW10 switch (VEXT->nRF).

    1. Powering the chip directly (SW10 in ON position) enables you to use the power analyzer as a voltage source, and read out the current directly (as opposed to power analyzer as ampere-meter on P22). However, if you power the chip directly, the VDD domain on the DK will be floating, so you need to power the rest of the DK from USB. So, you need the USB cable to be plugged in to J2.
    2. If you are not powering the chip directly (SW10 in OFF position), you do not need the USB cable to be plugged in.

    SW6 disconnects the GPIOs from the rest of the DK. LEDs, buttons, etc.. If all GPIOs are configured as input (default) you don't have to worry about leakage.

    SW9 is used for selecting the power source.

    • Li-Po: The nRF chip is powered by the Li-Po header on VDDH (high voltage regulator, REG0). The VDD domain on the DK has the same voltage as the output of REG0 (using a voltage follower, 1.8V as default)
    • USB: Same as above except that the chip is powered by the nRF USB connector.
    • VDD: Chip is powered from VDD domain, disabling the high voltage regulator. VDD domain is either USB, external supply or battery holder. When SW10 is ON, the chip is always powered from external supply.

    SW8 should always be on.

    So to answer your question specifically:

    • SW10: ON
    • SW6: nRF ONLY or DEFAULT
    • SW9: VDD
    • P21: Power analyzer (1.8V to 3.6V)
    • J2 USB plugged in
    • Yes, you can use the LEDs but you will have to set SW6 to DEFAULT. LEDs are powered through J2.
Children
Related