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

How to configure UART with low power

Now I'm using NRF52832 to communicate with other MCU(STM32) by UART.

STM32 will transmits about 40 bytes data to NRF52832 per 10ms.

Here is my configure referenced Nordic\nRF5_SDK_12.0.0_12f24da\examples\ble_peripheral\ble_app_uart

static void uart_init(void)
{
    uint32_t                     err_code;
    const app_uart_comm_params_t comm_params =
    {
        RX_PIN_NUMBER,
        TX_PIN_NUMBER,
        RTS_PIN_NUMBER,
        CTS_PIN_NUMBER,
        APP_UART_FLOW_CONTROL_DISABLED,
        false,
        UART_BAUDRATE_BAUDRATE_Baud115200
    };

    APP_UART_FIFO_INIT( &comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       uart_event_handle,
                       APP_IRQ_PRIORITY_LOW,
                       err_code);
    APP_ERROR_CHECK(err_code);
}

And the Current jump to 2.5mA... I have read the Specification and I found the UART electrical specification as follows:

image description

What's wrong with my configure? Does anyone help me?

Parents
  • I guess that you forgot the shared resources and other power consumption which is added to the above mentioned electrical characteristics...

    For example, when you are sending some data over UART and haven't configured the UART with easy DMA, your processor is running and you need to add the power consumption of the CPU, the same with the needed crystals etc...

Reply
  • I guess that you forgot the shared resources and other power consumption which is added to the above mentioned electrical characteristics...

    For example, when you are sending some data over UART and haven't configured the UART with easy DMA, your processor is running and you need to add the power consumption of the CPU, the same with the needed crystals etc...

Children
Related