UPDI Disable

Any programming or debug session should be terminated by writing the UPDI Disable (UPDIDIS) bit in UPDI.CTRLB. Writing this bit will reset the UPDI including any decoded KEYs (see Enabling of Key Protected Interfaces) and disable the oscillator request for the module. If the disable operation is not performed, the UPDI and the oscillators request will remain enabled. This causes power consumption increased for the application.

During the enable sequence the UPDI can disable itself in case of a faulty enable sequence. There are two cases that will cause an automatic disable: