Chapter 14
A/D Converter
XIV - 38 Operation
■ Setup Example of Multiple Channel A/D Converter Simultaneous Conversion Using PWM
as External trigger
A/D converter result can be obtained with feeding analog voltage by the ADIN00 and ADIN02 to activate A/D0
and A/D1 byPWM0 and by the ADIN01 and ADIN03 pins to activate A/D0 and A/D1 by PWM1. Conversion is
performed regularly PWM0 underflow.
Figure:14.3.9 1-channel A/D conversion
Table:14.3.7 1 Conditions for Channel A/D Conversion
Setting item Description
Input pin
ADIN00 pin
ADIN01 pin
ADIN02 pin
ADIN03 pin
ADIN10 pin
Operation mode Any single channel /one-time conversion
A/D converter start trigger PWM0, 1 overflow/underflow
A/D converter start cycle
Setting by PWM0, 1 cycles and the number of
counts of the A/D start trigger count register
IOCLK 30MHz
PWM0
PWM1
Start at triggerA Start at triggerA Start at triggerA
ADIN00 AD0 AD0 AD0
ADIN02 AD1
Start at triggerB Start at triggerB Start at triggerB
ADIN01 AD0 AD0 AD0
ADIN03 AD1 AD1
ADIN10 AD2
AD1
AD2
AD1 AD1
1
1
1 1
2
2 2
2
3 4