Performance of the Calibration Firmware

The code has been written with a focus on efficiency, since the entire calibration should be performed quickly. The performance therefore depends on the size of the calibration firmware and the time it takes to complete the calibration. The calibration firmware is typically a few hundred bytes, depending on the target device and the interface used for calibration. The required time to program the firmware is thus short. The calibration routine is completed in less than 1024 calibration cycles. The shortest duration is, however, dependent on how fast the binary search algorithm can find a suitable OSCCAL value.