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
  • As far as I can tell from reading the manual, POWER has gone away everywhere and is automatically managed depending on the IDLE or RUN state of each peripheral, although the manual itself could do with a little more on this.

    I don't know, and it doesn't say anywhere I've yet read, whether disabling a peripheral (ie writing 0 to the ENABLE register which still does exist) puts it in an even lower power mode than having it enabled but idle. Perhaps someone from Nordic can suggest the best practice for lowest power on the nrf52, should we explicitly disable peripherals not actively in use, or don't worry about it, as long as they are IDLE (which in the case of UARTE seems to mean no starttx or rx active) the automatic power management will turn all the power to them off anyway.

    either way there's no more POWER on the UART, so that code will have to change.

  • There is no right page because 'peripheral power control' appears in one place and one place only and that's for the radio. That's the only peripheral which has a specific power register now.

    If there is no power register for any of the other peripherals either

    1. in the manual or
    2. in the header

    that's because they no-longer exist.

Reply
  • There is no right page because 'peripheral power control' appears in one place and one place only and that's for the radio. That's the only peripheral which has a specific power register now.

    If there is no power register for any of the other peripherals either

    1. in the manual or
    2. in the header

    that's because they no-longer exist.

Children
No Data
Related