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(); } }

Related