A circuit for calibrating a coarse channel circuit in a folding
analog-to-digital converter circuit. A reference value is input to the
coarse channel circuit and an output of the coarse channel circuit is
sensed. A parameter of the coarse channel circuit is adjusted until the
coarse channel circuit is successfully calibrated.