21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A-D ConverterMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER2.7.12 Method of A-D Conversion (8-bit mode)(1) In 8-bit mode, 8 higher-order bits of the 10-bit successive comparison register becomes A-Dconversion result. Hence, if compared to a result obtained by using an 8-bit A-D converter,the voltage compared is different by 3 VREF/2048 (see what are underscored in Table2.7.12), and differences in stepping points of output codes occur as shown in Figure 2.7.24.Table 2.7.12. The comparison voltage in 8-bit mode compared to 8-bit A-D converterComparisonvoltageVrefn = 0n = 1 to 255VREF2 8x8-bit mode8-bit A-D converter0 0VREFVREFVREFn –2 10 x 0.5 x –2 8 n2 8 x 0.5Optimal conversion characteristics of 8-bit A-D converter (VREF = 5.12 V)Output code(Result of A-D conversion)02010010 30Analog input voltage (mV)Optimal conversion characteristics in 8-bit mode (VREF = 5.12 V)Output code(Result of A-D conversion)8-bitmode02010010-bitmode09080706050403020100(Note)17.5 37.510bit-mode8bit-modeAnalog input voltage (mV)Note: Differences in stepping points of output code for analog input voltage.Figure 2.7.24. The level conversion characteristics of 8-bit mode and 8-bit A-D converter407

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

Saved successfully!

Ooh no, something went wrong!