English
Language : 

SH7125_08 Datasheet, PDF (339/774 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 9 Multi-Function Timer Pulse Unit 2 (MTU2)
9.5.2 A/D Converter Activation
The A/D converter can be activated by one of the following three methods in the MTU2. Table
9.58 shows the relationship between interrupt sources and A/D converter start request signals.
A/D Converter Activation by TGRA Input Capture/Compare Match or at TCNT_4 Trough
in Complementary PWM Mode: The A/D converter can be activated by the occurrence of a
TGRA input capture/compare match in each channel. In addition, if complementary PWM
operation is performed while the TTGE2 bit in TIER_4 is set to 1, the A/D converter can be
activated at the trough of TCNT_4 count (TCNT_4 = H'0000).
A/D converter start request signal TRGAN is issued to the A/D converter under either one of the
following conditions.
• When the TGFA flag in TSR is set to 1 by the occurrence of a TGRA input capture/compare
match on a particular channel while the TTGE bit in TIER is set to 1
• When the TCNT_4 count reaches the trough (TCNT_4 = H'0000) during complementary
PWM operation while the TTGE2 bit in TIER_4 is set to 1
When either condition is satisfied, if A/D converter start signal TRGAN from the MTU2 is
selected as the trigger in the A/D converter, A/D conversion will start.
A/D Converter Activation by Compare Match between TCNT_0 and TGRE_0: The A/D
converter can be activated by generating A/D converter start request signal TRG0N when a
compare match occurs between TCNT_0 and TGRE_0 in channel 0.
When the TGFE flag in TSR2_0 is set to 1 by the occurrence of a compare match between
TCNT_0 and TGRE_0 in channel 0 while the TTGE2 bit in TIER2_0 is set to 1, A/D converter
start request TGR0N is issued to the A/D converter. If A/D converter start signal TGR0N from the
MTU2 is selected as the trigger in the A/D converter, A/D conversion will start.
A/D Converter Activation by A/D Converter Start Request Delaying Function: The A/D
converter can be activated by generating A/D converter start request signal TRG4AN or TRG4BN
when the TCNT_4 count matches the TADCORA or TADCORB value if the UT4AE, DT4AE,
UT4BE, or DT4BE bit in the A/D converter start request control register (TADCR) is set to 1. For
details, refer to section 9.4.9, A/D Converter Start Request Delaying Function.
A/D conversion will start if A/D converter start signal TRG4AN from the MTU2 is selected as the
trigger in the A/D converter when TRG4AN is generated or if TRG4BN from the MTU2 is
selected as the trigger in the A/D converter when TRG4BN is generated.
Rev. 4.00 Jul. 25, 2008 Page 319 of 750
REJ09B0243-0400