A/D Converter Operation; A/D Converter Basic Operation - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

13.5 A/D Converter Operation

13.5.1 A/D converter basic operation

A/D conversion is performed using the following procedure.
(1) Set the analog input selection and the operation mode and trigger mode specifications using the ADSCM00
or ADSCM10 register
in A/D trigger mode or A/D trigger polling mode starts A/D conversion. In timer trigger mode or external
trigger mode, the status becomes trigger standby
(2) When A/D conversion starts, compare the analog input to the voltage generated by the D/A converter.
(3) When 10-bit comparison terminates, store the conversion result in the ADCR0n or ADCR1n register. When
the specified number of A/D conversions have terminated, generate an A/D conversion termination interrupt
(INTAD0, INTAD1) (n = 0 to 7).
Notes 1.
If the ADSCM00 or ADSCM10 register is overwritten with the same value during A/D conversion, the
A/D conversion operation preceding the overwrite stops and the conversion result is not stored in the
ADCR0n or ADCR1n register. The conversion operation is initialized and conversion starts from the
beginning.
2.
In timer trigger mode or external trigger mode, there is a transition to trigger standby status when the
ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register is set to 1. A/D conversion operation is
activated by a trigger signal and there is a return to trigger standby status when A/D conversion
operation terminates.
The timer trigger is selected by the ITRG0 register.
CHAPTER 13 A/D CONVERTER
Note 1
. Setting (1) the ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register when
User's Manual U14492EJ3V0UD
Note 2
.
659

Advertisement

Table of Contents
loading

Table of Contents