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

High current issue resulted from UART in nRF52832

    I am developing my code in a custom nrf52832 breakout board. My code was modified from the example "ble_app_uart".

I find a high current issue with UART. The current is around 58uA as I expected after power startup with RX and TX pins

connected to a USB to TTL dongle. 

But if the Rx and Tx pins are not connected and power up nRF52832, the current goes to 2.24mA. At this moment if I connect

the Rx and Tx pins, the current will go to 58uA.

       

It seems that nRF52832 can`t go into sleep on mode. But I bad disable UART in my code as the following:

#ifndef DEBUG_MODE
/* Disable UART */
// NRF_UART0->ENABLE = 0;
app_uart_close();
nrf_gpio_cfg_default(6);
nrf_gpio_cfg_default(8);
nrf_gpio_cfg_default(5);
nrf_gpio_cfg_default(7);
#endif

In order to go into sleep on mode, my code is as following:

/**@brief Function for placing the application in low power state while waiting for events.
*/
static void power_manage(void)
{
uint32_t err_code = sd_app_evt_wait();
APP_ERROR_CHECK(err_code);
}
/**

The detail of my software and hardware are as following:

1. SDK 12.2.0

2. Softdevice S132 3.0.0

3. IDE: Keil V5.25.2.0

4. nRF52832 chip version: CIAAB0

5. Ble advertising interval: 1000ms

Parents
  • The USB to TTL dongle will provide power to the nRF52832 via the internal schottky protection clamp diodes unless the USB to TTL voltage (typically 3.3 volts) is the same as the nRF52832 Vdd (typically 2.8 volts or less). With the Rx and Tx line disconnected you are seeing the true consumption, with Rx and Tx connected the measured value is incorrect. As a test, use the USB to TTL dongle voltage as the Vdd source for the nRF52832; usually this is available on a header unless it is the encased type. When connected thus the Rx and Tx will work but you will see the higher current consumption.

    This is commonly referred to as phantom power.

Reply
  • The USB to TTL dongle will provide power to the nRF52832 via the internal schottky protection clamp diodes unless the USB to TTL voltage (typically 3.3 volts) is the same as the nRF52832 Vdd (typically 2.8 volts or less). With the Rx and Tx line disconnected you are seeing the true consumption, with Rx and Tx connected the measured value is incorrect. As a test, use the USB to TTL dongle voltage as the Vdd source for the nRF52832; usually this is available on a header unless it is the encased type. When connected thus the Rx and Tx will work but you will see the higher current consumption.

    This is commonly referred to as phantom power.

Children
Related