Introduction

The ATmega328PB megaAVR® 8-bit microcontroller supports Clock Failure Detection (CFD) and auto-switching internal Resistance-Capacitance (RC) oscillator for clock-redundant applications when the CFD bit of the fuse register is enabled. Once the CFD fuse is enabled, the 128 kHz oscillator is enabled, and the CFD circuit works with that clock. This application note introduces the ATmega328PB CFD features and operations. A code example based on the ATmega328PB Xplained Mini Kit can be downloaded from Atmel | START.