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

Enable and disable pheripherals of Nordic

Hi,

For power critical application, i know that ,we need to enable the peripherals whenever we need that.

After we need to disable by using ENABLE register.

My question is after disable , is we need t0 reconfigure pin configuration again.

Psuedo code: void funct() { NRF_TWI0->ENABLE=5; //do some work. NRF_TWI0->ENABLE=0; }

main() { twi_hw_master_init(); while(1) { funct(); } }

Parents
  • Hi Balaji,

    You do not need to reconfigure the TWI-configuration if you enable/disable the peripheral. You only have to reconfigure if you power off the TWI (read: reset the chip)

    Best regards Håkon

Reply
  • Hi Balaji,

    You do not need to reconfigure the TWI-configuration if you enable/disable the peripheral. You only have to reconfigure if you power off the TWI (read: reset the chip)

    Best regards Håkon

Children
No Data