This example is a demonstration of precise, ultra-low-power timing using periodic enabling of the 32.768 kHz external crystal oscillator on the AVR P4 FEB (Field Engagement Board).
The example is explained in more details in the application note AN2633.
- AN2633 - Precise, Ultra-Low-Power Timing using Periodic Enablingof the 32.768 kHz External Crystal Oscillator forRecalibration of the ULP Internal Oscillator
- ATtiny416 Product Page
- MPLAB X IDE v6.25 or later
- XC8 (v3.00) alternatively AVR/GNU C Compiler 5.4.0 can be used
- ATtiny_DFP 3.3.272 or later
- Download the zip file or clone the example to get the source code.
- Open
attiny416-precise-ulp-timing-p4-mplab.X
in MPLAB. - Connect the AVR P4 with your computer.
- Make sure the kit is selected as the tool to be programmed under project settings.
- Press the make and program button to program the device.
We have here shown the possibility to use the ATtiny416 for ultra-low-power timing on a AVR P4.