|
|
 |
Calibration Firmware Features |
|
- Calibration Procedure is compatible with the AVR SPI Programming Interface
-
Calibration Procedure is compatible with the AVR JTAG Programming Interface
-
Algorithm finds the best-fit 'Calibration value' by checking all OSCAL values until the optimum value is found
-
Selects best-fit OSCAL value even if there are overlapping OSCAL frequency ranges
-
Starts at the lowest frequency first and then works upwards so the AVR device is always kept within its 'Frequency Specification'
-
Possibly slower than Atmel AVR055 algorithm but calibration accuracy is usually better
-
Accuracy of Oscillator Calibration is usually within +/- 1%
-
Programmer uses accurate 32.768 kHz oscillator for the Calibration Procedure
-
Best-fit OSCAL value is stored in a specified address in the AVR EEPROM
-
Diagnostics including the '% accuracy' and 'number of iterations to reach the optimum OSCAL value' can also be stored in the EEPROM
|
 |
Calibration using the SPI Interface |
|

|
- Accurate 32.768 kHz signal is output from the SPI MOSI pin under programmer control during the Calibration Procedure.
-
The PASS / FAIL result of the Calibration Firmware is indicated by the AVR Microcontroller asserting the MISO pin back to the programmer.
-
The AVR RESET pin must be used in SPI mode to start the Calibration Procedure.
-
The SPI Interface can be used for SPI In-System Programming when not being used for the Calibration Procedure.
|
 |
Calibration using the JTAG Interface |
|

|
- Accurate 32.768 kHz signal is output from the JTAG TDI pin under programmer control during the Calibration Procedure.
-
The PASS / FAIL result of the Calibration Firmware is indicated by the AVR Microcontroller asserting the TDO pin back to the programmer.
-
The AVR RESET pin must be used in JTAG mode to start the Calibration Procedure.
-
If control of the RESET pin by the programmer in JTAG mode is not possible then a custom version of the 'Calibration Firmware' is required.
-
The JTAG Interface can be used for JTAG In-System Programming when not being used for the Calibration Procedure.
|
|