Measurement issues with PPK 2 on nrf52833 dk

Hi,

While testing, I ran into multiple problems when measuring the current consumption with the PPK 2 on the nRF52833 dk.

For all measurements the Blinky + Bluetooth demo program was used.

1.

When the PPK is used as a source, connected the upper pin of P22 and gnd to P21, the LEDs are dimmed.
SW9 is on VDD and the power output is set to 3.3V
If SW8 is on and SW9 is put on either LIPO or USB, the LEDs go to full brightness.
When SW8 is off, switching to LIPO or USB will cut power.

Current with dimmed LED, VDD: 3.3V, SW8 OFF, SW9 VDD

Current with full brightness LED, VDD: 3.3V, SW8 ON, SW9 LIPO

Current with SW8 from off to on, VDD 3.3V, SW9 VDD

Funnily enough, when switching SW8 to on, the measurement becomes much more noisy, since most likely other ICs are now powered.

2.

When the PPK is used as a meter, with power coming from the Debug USB (not nRF USB) the current measurement does not make sense

Current, LED on/off, SW8 on, SW9 VDD

The phase with less noise is when the LED is off, the phase with more noise is when the LED is on

Additionally, every LED transition (hi to lo and lo to hi) causes the LED from the debugger IC to flicker.

So now to the specific questions:
Why does the weird behavior in 1. happen?
Why does the ppk in meter mode not measure the led current BUT does suddenly have more noise when the LED is on?
The average current in the LED low state in image 1 is around 560 to 600µA but the average current in image 4 is 800µA, ... why?
Is there a chance that this behavior is due to a broken ppk oder dk (the "problems" described were there since the dk and ppk were fresh out of the box)?
Why does the debugger led flicker on transitions (any proper decoupling, which I assume is present, should mitigate that)?

Thank you for any help

Parents
  • Hello Tobias,

    I can see in the picture that your board is not powered by USB. So the entire board is powered by only PPK2. That's why you are observing more current.

  • Hi,

    Neither the PPK nor the dk were powered for the pictures.
    Could you explain further, what you meant with that the enitre board is powered with the PPK?

    It is self explanatory, that the current for the whole board is measured with the PPK in source mode.
    However that was never my question.
    (But in meter mode, the current measured was higher than in source mode, when measured in the LED low state.
      And the LED current was not measured in meter mode)

    BR

  • Hello,

    ''Neither the PPK nor the dk were powered for the pictures.
    Could you explain further, what you meant with that the enitre board is powered with the PPK?''

    The connection I saw from the picture you sent; I observed SW8 is on OFF position. I was assuming that when you measured the power with ppk2, if the connection is like that (SW8 is off, SW6 is on default position and SW9 is set on VDD) then the interface MCU is still connected with the VDD_nRF rail. In such situation, PPK2 is powering both the target nRF52833 chip, all board peripherals (LEDs, pull-ups, sensors) and the interface MCU.

    The power for the interface MCU is routed through two load switches. One of the switches is for the VDD supply, and the other switch is for the USB supply. This enables the disconnecting of the interface MCU from the power domain when it is not in use.

    These switches are controlled by the presence of a USB connected to the interface MCU USB connector J2 and the state of the nRF ONLY switch SW6. In the picture, these were opposite.

    This will increase the current consumption. That's what I meant by saying in my reply.

  • Thank you for the answer

    When I tried replicating the measurements I noticed that the usb port (thank you, cheap usb hub)I was using for the devkit was broken / did not deliver 5V.
    I do not know how I missed that and I apologize for wasting your time making you search the solution, when the interface USB did not receive power.

    My guess is, that using the PPK as a standalone power source is not recommended and will probably result in the irregular / weird behavior I described.
    (*Edit It does explain not measuring the led current (2. in the initial post), VDD is most likely sourced by the interface usb)

    However I am still curious why this behavior did happen so here is my guess:

    Since the nrf52833 does have an internal LDO, VDD_HV and VBUS_nRF do most likely have a connection to VDD_nRF

    meaning VDD_HV' / the net colored and
    VBUS_nRF' do have a voltage applied to them.

    (the Load switch is not bi-directional, the body diode of the p-channel mosfet does not block voltage from Vout spreading to Vin)

    The nets to the left of SW9 and VBUS_nRF' are connected to the source of the boost converter

    Now depending on how SW9 is positioned either only VBUS_nRF' or both VBUS_nRF and VDD_HV' are connected to the boost source. This would explain the increase in LED brightness, since connecting vbus and vddhv in parallel could supply more current than just vbus

    The power switch SW8 does have the option to either connect VBOOST_SRC' to the actual input of the boost converter or enabling a pulldown on the 5V net and cutting power from the converter.
    This would match the LED turning off, when SW8 is in "off".

    The boost will feed the buck converter for VDD.

    BUT this does not answer, why the LED has a supply, when SW8 is on

    If SW8 is off and SW9 is (only) on VDD, the LED does also emit light. (VDD_nRF' which is connected to VSRC_NRF which is connected to VDD is most likely powered, but this net should be floating)

    And this assumption I made is most likely wrong, since I still do not fully understand the schematic.

    Thank you for your time 

    BR,
    Tobias

Reply
  • Thank you for the answer

    When I tried replicating the measurements I noticed that the usb port (thank you, cheap usb hub)I was using for the devkit was broken / did not deliver 5V.
    I do not know how I missed that and I apologize for wasting your time making you search the solution, when the interface USB did not receive power.

    My guess is, that using the PPK as a standalone power source is not recommended and will probably result in the irregular / weird behavior I described.
    (*Edit It does explain not measuring the led current (2. in the initial post), VDD is most likely sourced by the interface usb)

    However I am still curious why this behavior did happen so here is my guess:

    Since the nrf52833 does have an internal LDO, VDD_HV and VBUS_nRF do most likely have a connection to VDD_nRF

    meaning VDD_HV' / the net colored and
    VBUS_nRF' do have a voltage applied to them.

    (the Load switch is not bi-directional, the body diode of the p-channel mosfet does not block voltage from Vout spreading to Vin)

    The nets to the left of SW9 and VBUS_nRF' are connected to the source of the boost converter

    Now depending on how SW9 is positioned either only VBUS_nRF' or both VBUS_nRF and VDD_HV' are connected to the boost source. This would explain the increase in LED brightness, since connecting vbus and vddhv in parallel could supply more current than just vbus

    The power switch SW8 does have the option to either connect VBOOST_SRC' to the actual input of the boost converter or enabling a pulldown on the 5V net and cutting power from the converter.
    This would match the LED turning off, when SW8 is in "off".

    The boost will feed the buck converter for VDD.

    BUT this does not answer, why the LED has a supply, when SW8 is on

    If SW8 is off and SW9 is (only) on VDD, the LED does also emit light. (VDD_nRF' which is connected to VSRC_NRF which is connected to VDD is most likely powered, but this net should be floating)

    And this assumption I made is most likely wrong, since I still do not fully understand the schematic.

    Thank you for your time 

    BR,
    Tobias

Children
No Data
Related