21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

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> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER2.7 A-D Converter2.7.1 OverviewThe A-D converter used in the <strong>M16C</strong>/62 group operates on a successive conversion basis. The followingis an overview of the A-D converter.(1) ModeThe A-D converter operates in one of five modes:(a) One-shot modeCarries out A-D conversion on input level of one specified pin only once.(b) Repetition modeRepeatedly carries out A-D conversion on input level of one specified pin.(c) One-shot sweep modeCarries out A-D conversion on input level of two or more specified pins only once.(d) Repeated sweep mode 0Repeatedly carries out A-D conversion on input level of two or more pins.(e) Repeated sweep mode 1Repeatedly carries out A-D conversion on input level of two or more pins. This mode is different fromthe repeated sweep mode 0 in that weights can be assigned to specifing pins control the number ofconversion times.(2) Operation clockThe operation clock in 5 V operation can be selected from the following: fAD, divide-by-2 fAD, anddivide-by-4 fAD. In 3 V operation, the selection is divide-by-2 fAD or divide-by-4. The fAD frequency isequal to that of the CPU’s main clock.(3) Conversion timeNumber of conversion for A-D convertor varies depending on resolution as given. Table 2.7.1 showsrelation between the A-D converter operation clock and conversion time.Sample & Hold function selected:33 φAD cycles for 10-bit resolution, or 28 φAD cycles for 8-bit resolutionNo Sample & Hold function:59 φAD cycles for 10-bit resolution, or 49 φAD cycles for 8-bit resolutionTable 2.7.1. Conversion time every operation clockFrequency selection bit 1 0 1Frequency selection bit 00 1InvalidA-D converter's operation clockφAD =fAD4φAD =fAD2φAD = fADMin. conversioncycles (Note 1)8-bit mode10-bit mode28 X φAD33 X φADMin. conversiontime (Note 2)8-bit mode10-bit mode11.2µs13.2µsNote 1: The number of conversion cycles per one analog input pin.Note 2: The conversion time per one analog input pin (when fAD = f(XIN) = 10 MHz)5.6µs6.6µs2.8µs3.3µs382

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

Saved successfully!

Ooh no, something went wrong!