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.

  • yes and no - the NRF_RADIO_Type POWER does still exist - I read and searched the online nrf52 doc and did not find any information about dedicated "peripheral power control". Can maybe someone give a hint for the right page?

    riot please answer: is it still supported? can I search it by adding for(reserverd[600+i]){} to the POWER=0|=1 uart power? - is the new behavior documented? why RADIO still has POWER?

Reply
  • yes and no - the NRF_RADIO_Type POWER does still exist - I read and searched the online nrf52 doc and did not find any information about dedicated "peripheral power control". Can maybe someone give a hint for the right page?

    riot please answer: is it still supported? can I search it by adding for(reserverd[600+i]){} to the POWER=0|=1 uart power? - is the new behavior documented? why RADIO still has POWER?

Children
No Data
Related