The semiconductor device includes: an A/D conversion circuit; a digital
processing circuit for performing processing based on conversion results
of the A/D conversion circuit; and an output terminal for testing for
outputting the conversion results of the A/D conversion circuit
externally. The output of the conversion results from the output terminal
for testing is made at timing that is different from timing of other
conversion operation of which conversion results are to be outputted
later and is longer in cycle than timing of conversion operation.