nrf52840(DK) External Voltage, VDD and VLogic

Dear Nordic team,

I have a complex question. In my project I use components which operate at 2.25V as well as they expect 2.25V logic levels.

My idea is to use nrf52840 chip and run it natively with 2.25V, so the logic level of the chip is also 2.25V, which will let me get rid of the logic level shifters components.

I was able to connect the PPK2 in source mode to the External power supply of my nrf52840DK, supply 2.25V via the power profiler application and see, that the code executing on the nrf52840DK indeed sends out 2.25V as a logic HIGH to the GPIOS. However, as soon as I've connected the nrf52840DK to the computer with the USB cable, the logic level changed to 3.3V. I assume the USB took over. Therefore, my first question:
- Is it possible to supply nrf52840DK with the external power and stick to that external voltage as the logic level, but at the same time still being able to utilise USB for debugging purposes in nrf Connect SDK. I've read there's a way to write to registers, but I am wondering if there's a hardware way to do this, without any programming of the chip.

The next question is related to the stage of programming the final device with the nrf52840 chip on it. If I am able to run the whole system with 2.25V and the same logic level, once I decide to program my external nrf52840 chip via SWD using nrf52840DK as a programming board, will the DK be able to do it with 2.25V logic? Or will it switch to 3.3V and then the whole custom device will maintain the 3.3V while the programmer runs? This is critical, since 3.3V will damage the other components in the project which need no more than 2.25V to  operate.

  • Hello, 

    there's a pin P21 on the DK that is for feeding external supply to the nRF52840. https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/direct_supply.html

    Best regards

    Asbjørn

  • Hi, Asbjorn.

    This is exactly what I've used in the above experiment to connect PPK2 to the DK. When DK is not connected to the USB, this works as expected. However, as soon as DK is connected to the PC over USB, the High Voltage takes over.

  • Hello
    The SW10 switch selecting VEXT, are you using that as well?  It should disconnect the USB interface from supplying to the chip if external is selected. If you are using external supply you have to use a debugger/programmer that is able to deliver 2.25V as well. The onboard debugging on the board only supports 3.3V.
    Best regards
    Asbjørn
  • Hi, Asbjorn,

    Thank you for your answer. I will try your suggestion on SW10 switch.

    However, I have one more idea: I still can run nrf52840 in High Voltage mode and configure the REGOUT0 for 2.4V using the code snippet.

    My only worry and uncertainty is: when I configure the nrf52840DK to 2.4V via the REGOUT0 register, will I be able to reprogram it later on to another voltage (or default one) with simply running a new flash from nrfConnect SDK and nrf52840DK being connected to the USB? By some reason I fear, that nrf52840DK will not understand the firmware anymore running on another voltage. I know it is the case for flashing the USB dongle from nrf52840DK for example, but I am not sure whether the DK itself is going to have the same issue if the onboard chip is running a different voltage.

  • Hello,
    I'm confused now, you have components running at 2.25V and then you want to adjust the nRF52840 DK to run REGOUT1 at 2.4V for what? Why would you run the DK at 2.25V then?
    If you are planning on switching between running from USB to program the DK and then enable the 2.25V mode to run with sensors, it will work, but you will most likely at some point forget and deliver too high voltage on your sensor by accidents. That's what I would be afraid of. You can run the nRF52840 on the DK at 2.25V, but you need and externa programmer with a level shifter that can program the device at 2.25V. That would be the easiest route for you to successfully do the development.
    Best regards
    Asbjørn
Related