
rej05b0100| Application Note
APPLICATION NOTE
SH7046 Group
Start of A/D Conversion by MMT
1. Specifications
Four channel voltages are input and subjected to A/D conversion as shown in figure 1. Single-cycle scan mode and 4-channel scan mode are used for A/D conversion, with A/D conversion performed consecutively on channels 8 to 11. A/D converter activation is performed by a compare match between MTT TCNT and TPDR.
Input voltage ch8 Input voltage ch9 Input voltage ch10
AN10 AN8 AN9
Input voltage ch11
AN11
Figure 1 Block Diagram of Voltage Measurement by SH7046
2.
Functions Used
In this sample task, A/D conversion is started by an MMT compare match. Figure 2 shows a block diagram of ch0. In ch0, the A/D converter is activated using the following functions. A function that starts A/D conversion by means of an MMT compare match, without software intervention A function that outputs pulses automatically by hardware without software intervention (output compare)
(A/D conversion start trigger) Ch0 Control logic
A/D converter
Timer control register (TCNR)
Timer period data register (TPDR) Compare match signal generation circuit
Comparator
Timer counter (MMT_TCNT)
Figure 2 Block Diagram of SH7046 ch0
REJ05B0100-0100O/Rev.1.00
September 2003
Page 1 of 7
rej05b0100 Application Note renesas Download PDF
Add this permalink to your bookmarks for future download of rej05b0100 ApplicationNote
Permalink: http://application.emcelettronica.com/renesas/rej05b0100