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

Using Li battery with VBUS on nRF52840 Dongle

This is just a verification, but in the nRF52840 Dongle schematic, it looks like VBUS is is connected to VDDH (by way of VBUS_nRF, which isn't an actual pad or pin, but just VBUS after it has passed through a low-pass filter).  This being the case, is it okay to connect VBUS to a lithium (max 4.2V) battery to power the device?  I can't imagine why it wouldn't be, but it isn't specifically called out in the datasheet so I just wanted to double check.  Thanks!

  • Hi,

     

    What exactly do you want to do, please elaborate. Generally though this is not possible, the valid range for supplying VBUS is 4.35V - 5.5V.

     

    If you just want to use the nRF52840-Dongle with a lithium battery, no USB or anything, then this should work. But the USB circuitry will be outside it's operating area, so it will be hard to say how that will behave.

    If you also plan on using the USB connection, then this might not work. The USB circuitry might not detect the USB connection, and the 5V bus rail will be connected directly to your battery. You'll at least have to remove the battery when using the USB.

    In any case, whichever of the two it is and possibly third or fourth alternative, please remember that this is outside of specified operating conditions. Though I doubt it, we can not guarantee that the device will not take damage from this. Your use-case is generally more suited for use with a nRF52840-DK as that has battery connector, switches to change voltage modes split between USB and battery supply. It also has an onboard debugger.

    Also when using nRF52840-Dongle you should be aware of this: https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial 

     

    Best regards,
    Andreas

  • In this case, using the DK is not possible as the application requires being attached to something in a small space.  I am interested in your response though.  So first, we will only be using the 10 pin connector on the back of the dongle for programming and debugging (using a nRF52840 DK for this part), and not the USB at all, so that won't be a problem. 

    However I am confused, in the schematic for the Dongle (image below) VBUS_nRF is connected to VDDH on the nRF52840.  Now, VBUS is connected to VBUS_nRF through the low pass filter C21, C22, FB1, of which only FB1 will really be seen by the battery (almost ideal DC source), so there might be a slight voltage drop through the inductor, but nothing too serious.  All of this is to say that the battery is almost directly connected to VDDH (only an inductor in between) in the exact same way that you might connect a battery to VDDH as in the reference circuit on page 603 of the nRF52840 datasheet.  Also in that datasheet in the table in section 5.3.8.1 that the operating range for VDDH is 2.5V to 5.5V.

    So why would a battery that is effectively directly connected to VDDH on the dongle be out of range?  I can see that if we were to use USB that it would be problematic as the battery would be hooked up directly in parallel with USB without any current limiting element in between, but that isn't the case here.

  • I can't seem to edit my previous reply, but I guess what I should have asked more specifically, is that any voltage present at the VBUS pin on the nRF52840 causes issues with the other power connections?  Or maybe, VBUS has higher priority than VDDH somehow?  Is that why this scenario might present a problem?

  • Hi,

     

    SmallerPond said:
    All of this is to say that the battery is almost directly connected to VDDH (only an inductor in between) in the exact same way that you might connect a battery to VDDH as in the reference circuit on page 603 of the nRF52840 datasheet.

    Not quite, this has VDDH disconnected from VBUS, the dongle resembles config 1 on page 597.

     

    As for what you describe, this should be fine for VDDH. The unknown here is the USB circuitry, and how that will behave when powered in parallel with no data line activity, especially when the battery voltage drops outside the operating range for VBUS, even though it is still inside the operating range for VDDH. One key suspicion is that this could cause increased current consumption.

    You might want to cut the VBUS_nRF trace so that it does not reach the VBUS pin, two suggestions:

    This will prevent the USB-circuitry from working also when the dongle is used as a dongle, but if you cut this carefully you will be able to re-solder it back together later to restore the USB functionality.

     

    Best regards,
    Andreas

  • This will work fine for us, thanks! We can just use SB1/2 to use external power to program, and it was easy to scrape off the solder mask and cut the trace.  It would be cool if on future Dongles you considered adding a 0Ohm or SB for this functionality since it seems like testing with small Li batteries wouldn't be terribly unusual.

    While I'm asking for things - also a PTR clear task register (on SPIM for instance) so that I can implement a ring buffer purely in hardware :-P  But seriously, the more I use your products, the more I appreciate them - keep up the great work!

Related