ATAVRMC321 Atmel, ATAVRMC321 Datasheet - Page 137

no-image

ATAVRMC321

Manufacturer Part Number
ATAVRMC321
Description
KIT EVAL MOTOR CTRL LOW COST
Manufacturer
Atmel
Series
AVR®r
Datasheets

Specifications of ATAVRMC321

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtinyx61
Primary Attributes
3-Ph BLDC, Brushed DC, Stepper Motor- Controller Board
Secondary Attributes
Includes ATAVRMC300 Power Driver Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
14. AC – Analog Comparator
14.1
2588E–AVR–08/10
Analog Comparator Multiplexed Input
The analog comparator compares the input values on the selectable positive pin (AIN0, AIN1 or
AIN2) and selectable negative pin (AIN0, AIN1 or AIN2). When the voltage on the positive pin is
higher than the voltage on the negative pin, the Analog Comparator Output, ACO, is set. The
comparator can trigger a separate interrupt, exclusive to the analog comparator. The user can
select Interrupt triggering on comparator output rise, fall or toggle. A block diagram of the com-
parator and its surrounding logic is shown in
Figure 14-1. Analog Comparator Block Diagram
Notes:
See
When the Analog to Digital Converter (ADC) is configurated as single ended input channel, it is
possible to select any of the ADC10:0 pins to replace the negative input to the analog compara-
tor. The ADC multiplexer is used to select this input, and consequently, the ADC must be
switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in
ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX5:0 in ADMUX
select the input pin to replace the negative input to the analog comparator, as shown in
14-1. If ACME is cleared or ADEN is set, either AIN0, AIN1 or AIN2 is applied to the negative
input to the analog comparator.
Table 14-1.
ACME
0
0
0
0
AIN0
AIN1
AIN2
Figure 1-1 on page 2
ADC MULTIPLEXER
1. See
ACM2..1
REFERENCE
ACME
ADEN
BANDGAP
OUTPUT
ADEN
x
x
x
x
Analog Comparator Multiplexed Input
Table 14-1 on page
MUX
(1)
ACBG
and
MUX5:0
xxxxxx
xxxxxx
xxxxxx
xxxxxx
Table 10-3 on page 63
137.
ACM2:0
000
001
010
011
Figure
14-1.
for Analog Comparator pin placement.
Positive Input
AIN0
AIN0
AIN1
AIN1
Negative Input
AIN1
AIN2
AIN0
AIN2
Table
137

Related parts for ATAVRMC321