Study of bit error and thermal characterization of a Successive Approximation A/D converter