CHAPTER 15:12-/10-/8-bit Analog to Digital Converter
258
S6J3200 Series Hardware Manual Document Number: 002-04852 Rev. *G
conversion of the logical channel i start when this channel wins the arbitration, i.e. after all logical
channels with higher priority are converted.
−
If A/D converter is active at the moment the trigger is issued, the operation is dependent on the
setting of forced stop mode (ADC12Bn_CTRL.FSMD).
−
Forced stop is enabled (ADC12Bn_CTRL.FSMD = "1"): Even if the sampling phase is
started, an active A/D conversion can be interrupted. So, the logical channel i starts after
interrupt operations instead of currently performed conversion when this channel wins the
priority arbitration.
−
Forced stop is disabled (ADC12Bn_CTRL.FSMD = "0"): The conversion of the logical
channel i starts when this channel wins the priority arbitration and currently preformed
conversion is finished, since an A/D conversion cannot be interrupted once its sampling
phase is started. Accordingly, even if the logical channel i has the highest priority, in worst
case it can happen that its conversion is delayed by the maximum configured time needed
to convert one logical channel (including the case of multiple conversion channel that cannot
be interrupted).
(3) Sampling period. A/D converter internal input signal level goes to the level of the analog input to which
the logical channel i is mapped.
(4) A/D comparison.
(5) A/D conversion finalization period. The conversion result is stored in the dedicated conversion data
register ADC12Bn_CDi, the conversion done interrupt flag is set and the trigger status is cleared.
(6) Started next conversion of the logical channel with the highest priority at the moment. If there is no
trigger for any logical channel, the operation is dependent on the setting of power-down disable mode
(ADC12Bn_CTRL.PDDMD).
−
Power down disable mode (ADC12Bn_CTRL.PDDMD = "1"): Even if the A/D conversion is finished
(and next conversion is not requested), A/D converter does not go idle (power-down) state. It can
start A/D sampling without A/D converter resumption time.
−
Power down enable mode (ADC12Bn_CTRL.PDDMD = "0"): A/D converter goes to idle
(power-down) state after A/D conversion finished (and next conversion is not requested).
If the trigger status of any logical channel is already set, next conversion is started without A/D converter
resumption time.
(7) After the conversion data register (ADC12Bn_CDi) is read or by writing "1" to the corresponding
conversion done interrupt clear bit (ADC12Bn_CDONEIRQC0 to 1.CDONEIRQCi), the conversion done
interrupt flag is cleared.
In case A/D Converter reconfiguration takes place during operation (A/D Converter is not in power-down
state), the following rules are to be obeyed:
−
Do not reconfigure logical channels belonging to the group that is currently converted.
−
Set the trigger types (ADC12B_CHCTRL0 to 63.TRGTYP[1:0]) of the logical channels affected by
the reconfiguration to software trigger only ("00" setting).
−
Clear all the trigger status flags (ADC12Bn_TRGST0 to 1.TRGST and ADC12Bn_CHSTAT0 to
63.TRGST) of the affected logical channels, by writing "1" to the corresponding bits of
ADC12Bn_TRGCL0 to 1 (or ADC12B_CHCTRL0 to 63.TRGCL) registers.
−
Reconfigure the logical channels.
Содержание S6J3200 Series
Страница 1041: ...CHAPTER 28 LCD Controller 1040 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1044: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1043...
Страница 1047: ...CHAPTER 28 LCD Controller 1046 S6J3200 Series Hardware Manual Document Number 002 04852 Rev G...
Страница 1050: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1049...
Страница 1084: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1083...
Страница 1086: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1085...
Страница 1088: ...CHAPTER 28 LCD Controller S6J3200 Series Hardware Manual Document Number 002 04852 Rev G 1087...