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

nrf52 - NRF_UARTE_Type POWER missing

Hi,

we used NRF_UARTE_Type POWER for the "peripheral power control" of the UART interface on nrf51 - works fine.

After trying to port the nrf51 to nrf52 I found out that POWER is missing in the NRF_UARTE_Type struct. the nrf51_to_nrf51.h does not help or give more details.

  • is there a way to calculate the right pos of POWER in the struct (after [X] reserved at end of struct) ?
  • is the peripheral power control of UARTE handled differently on nrf52 ? (UART!=UARTE ?)

thanks

Parents
  • @itssead: It's correct that POWER register is not exist in the NRF52 (except for the RADIO).

    In most cases, you should be able to disable the peripheral and stop it from consuming any current by issuing the TASK_STOP for the activity it's performing. There is an exception with the TIMER, where SHUTDOWN task should be issued to achieve lowest current consumption.

    My understanding with the POWER register on the RADIO is that it's used only to reset the RADIO peripheral as described in the ProdSpec.

    I will try to request better documentation from R&D regarding the power management for peripheral on the chip.

    Please be noted that POWER register is not documented in the NRF51 Reference Manual (again except for RADIO) as well. And there is no need to use the POWER register, because it's handled by the chip automatically based on the state of the peripheral.

    So, you should not use those POWER register for any other peripherals, except the RADIO.

    A tip: Not all answer can be 100% correct, that why we have up vote and down vote for each answer. And you only have to accept an answer that is worked for you

  • Hi - Thanks for your answer - I ll soon give the TASK_STOP a try (and check the current) - I did not know (UART) POWER was never documented. (and register name was kind of speaking for him self, heh)

Reply Children
No Data
Related