20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A-D ConverterMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERA-D ConverterThe A-D converter consists of one 10-bit successive approximation A-D converter circuit with a capacitive couplingamplifier. Pins P100 to P107, P95, and P96 also function as the analog signal input pins. The direction registers ofthese pins for A-D conversion must therefore be set to input. The Vref connect bit (bit 5 at address 03D716) can beused to isolate the resistance ladder of the A-D converter from the reference voltage input pin (VREF) when the A-Dconverter is not used. Doing so stops any current flowing into the resistance ladder from VREF, reducing the powerdissipation. When using the A-D converter, start A-D conversion only after setting bit 5 of 03D716 to connect VREF.The result of A-D conversion is stored in the A-D registers of the selected pins. When set to 10-bit precision, the low8 bits are stored in the even addresses and the high 2 bits in the odd addresses. When set to 8-bit precision, the low8 bits are stored in the even addresses.Table 1.20.1 shows the performance of the A-D converter. Figure 1.20.1 shows the block diagram of theA-D converter, and Figures 1.20.2 and 1.20.3 show the A-D converter-related registers.Table 1.20.1. Performance of A-D converterItemPerformanceMethod of A-D conversion Successive approximation (capacitive coupling amplifier)Analog input voltage (Note 1) 0V to AVCC (VCC)Operating clock φAD (Note 2) VCC = 5V fAD/divide-by-2 of fAD/divide-by-4 of fAD, fAD=f(XIN)VCC = 3Vdivide-by-2 of fAD/divide-by-4 of fAD, fAD=f(XIN)Resolution8-bit or 10-bit (selectable)Absolute precision VCC = 5V • Without sample and hold function±3LSB• With sample and hold function (8-bit resolution)±2LSB• With sample and hold function (10-bit resolution)AN0 to AN7 input : ±3LSBANEX0 and ANEX1 input (including mode in which externaloperation amp is connected) : ±7LSBVCC = 3V • Without sample and hold function (8-bit resolution)±2LSBOperating modes One-shot mode, repeat mode, single sweep mode, repeat sweep mode 0,and repeat sweep mode 1Analog input pins 8pins (AN0 to AN7) + 2pins (ANEX0 and ANEX1)A-D conversion start condition • Software triggerA-D conversion starts when the A-D conversion start flag changes to “1”• External trigger (can be retriggered)A-D conversion starts when the A-D conversion start flag is “1” and the___________ADTRG/P97 input changes from “H” to “L”Conversion speed per pin • Without sample and hold function8-bit resolution: 49 φAD cycles, 10-bit resolution: 59 φAD cycles• With sample and hold function8-bit resolution: 28 φAD cycles, 10-bit resolution: 33 φAD cyclesNote 1: Does not depend on use of sample and hold function.Note 2: Divide the frequency if f(XIN) exceeds 10MHZ, and make φAD frequency equal to 10MHZ.Without sample and hold function, set the φAD frequency to 250kHZ min.With the sample and hold function, set the φAD frequency to 1MHZ min.152

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!