This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52820 UNABLE TO ACHIEVE LOW POWER AFTER ENABLING AND DISABLING UART0/UARTE0 (0.6mA)

I am unable to achieve low power after I enable UART. I disabled UART0 after enabling and the UART0 registers are all getting its default value after disabling.

But the current stays at 0.6mA, I even disabled the UART PINs to input floating but still behavior is same. I tried both UART0 and UARTE0 but same behavior.

 app_uart_close(); is the API I am using to disable UART.

I have tried a lot of workaround shown in nordic forums but nothing worked for me. I seriously doubt this is some hardware bug and only a chip reset is putting the device into low power.

If I am not using uart_init() then I am able to achieve < 2uA with BLE advertising at 500mS adv interval but due to any reason I enable UART0/UARTE0 ones, then what ever I do, the current is not coming below 0.5mA and I observed the power management loop is halting on no event but this 0.5mA is irrespective of CPU HALT.

I am kind of suspecting this is some hardware issue, if so we have to change the IC.

@Nordic please help

Parents
  • Hi,

    Can you check if the workaround in this post works?

    Are you un-initing the UART when there is a receive operation in progress?

    Do you enable the HFCLK in explicitly in your application?

    Best regards,
    Jørgen

  • Hi, sorry I forgot to comment here. It is solved today, Earlier I was trying to disable uart inside ble data receive handler and now I am setting a flag from there and disabling it in main while loop above the power management loop and there after it is entering into low power mode and current is becoming almost near to 2 uA which is perfect for my application.

Reply
  • Hi, sorry I forgot to comment here. It is solved today, Earlier I was trying to disable uart inside ble data receive handler and now I am setting a flag from there and disabling it in main while loop above the power management loop and there after it is entering into low power mode and current is becoming almost near to 2 uA which is perfect for my application.

Children
No Data
Related