Renesas M32R/ECU Series User Manual page 819

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

Appendix 4
Appendix 4.9 Precautions about the A-D Converters
• Forcible termination during scan operation
If A-D conversion is forcibly terminated by setting the A-D conversion stop bit (AD0CSTP or AD1CSTP) to "1"
during scan mode operation and the A-D data register for the channel that was in the middle of conversion is
accessed for read, the read value shows the last conversion result that had been transferred to the data register
before the conversion was forcibly terminated.
• Modification of the A-D converter related registers
If the content of any register—A-D Conversion Interrupt Control Register, Single or Scan Mode Registers or A-D
Successive Approximation Register, except the A-D conversion stop bit—is modified in the middle of A-D conver-
sion, the conversion result cannot be guaranteed. Therefore, do not modify the contents of these registers while A-
D conversion is in progress, or be sure to restart A-D conversion if register contents have been modified.
• Handling of analog input signals
When using the A-D Converter with its sample-and-hold function disabled, make sure the analog input level is
fixed during A-D conversion.
• A-D conversion completed bit read timing
To read the A-D conversion completed bit (Single Mode Register 0 bit 5 or Scan Mode Register 0 bit 5) immediately after A-D
conversion has started, be sure to adjust the timing 2 BCLK periods by, for example, inserting an NOP instruction before read.
• Regarding the analog input pins
Figure 4.9.1 shows the internal equivalent circuit of the A-D Converter's analog input part. To obtain accurate A-
D conversion results, make sure the internal capacitor C2 of the A-D conversion circuit is charged up within a
predetermined time (sampling time). To meet this sampling time requirement, it is recommended that a stabiliz-
ing capacitor C1 be connected external to the chip.
The method for determining the necessary value of this external stabilizing capacitor with respect to the output
impedance of an analog output device is described below. Also, an explanation is made of the case where the
output impedance of an analog output device is low and the external stabilizing capacitor C1 is unnecessary.
• Rated value of the absolute accuracy
The rated value of the absolute accuracy is the actual performance value of the microcomputer alone, with
influences of the power supply wiring and noise on the board not taken into account. When designing the
application system, use caution for the board layout by, for example, separating the analog circuit power supply
and ground (AVCC, AVSS and VREF) from those of the digital circuit and incorporating measures to prevent the
analog input pins from being affected by noise, etc. from other digital signals.
Analog output device
C1 : parasitic capacitance of the board
R1 : resistance of analog output device
Cin : input pin capacitance (approx. 10 pF)
Figure 4.9.1 Internal Equivalent Circuit of the Analog Input Part
Appendix 4.9 Precautions about the A-D Converters
VREF
ADIN n
i2→
i
R1
i1
C1
E
+ stabilizing capacitance
Appendix 4-14
SUMMARY OF PRECAUTIONS
Inside the microcomputer
10-bit A-D Successive
Approximation Register (ADiSAR)
10-bit D-A Converter
R2
Cin
Selector
R2 : parasitic resistance of the
VREF : analog reference voltage
selector (1-2 KΩ)
V2 : voltage across C2
C2 : comparator capacitance
E : voltage of analog output device
(approx. 2.9 pF)
V2
C2
Comparator
32180 Group User's Manual (Rev. 1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents