AT90CAN32 Automotive Atmel Corporation, AT90CAN32 Automotive Datasheet - Page 268

no-image

AT90CAN32 Automotive

Manufacturer Part Number
AT90CAN32 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of AT90CAN32 Automotive

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Can
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
20. Analog Comparator
20.1
20.2
20.2.1
268
Overview
Analog Comparator Register Description
AT90CAN32/64/128
ADC Control and Status Register B – ADCSRB
The Analog Comparator compares the input values on the positive pin AIN0 and negative pin
AIN1.
When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin AIN1,
the Analog Comparator output, ACO, is set. The comparator’s output can be set to trigger the
Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separate inter-
rupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on comparator
output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is shown
in
Figure 20-1. Analog Comparator Block Diagram
Notes:
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero), the
ADC multiplexer selects the negative input to the Analog Comparator. When this bit is written
logic zero, AIN1 is applied to the negative input of the Analog Comparator. For a detailed
description of this bit, see
Bit
Read/Write
Initial Value
Figure
MULTIPLEXER
REFERENCE
ACME
ADEN
OUTPUT
BANDGAP
ADC
1. ADC multiplexer output: see
2. Refer to
20-1.
placement.
ACBG
R
7
0
-
Figure 1-2 on page 5
ACME
R/W
6
0
“Analog Comparator Multiplexed Input” on page
R
5
0
Table 20-2 on page
and
R
4
0
Table 9-15 on page 83
R
3
0
(1)(2)
ADTS2
270.
R/W
2
0
for Analog Comparator pin
ADTS1
R/W
1
0
ADTS0
R/W
0
0
270.
T/C1 INPUT CAPTURE
ADCSRB
7682C–AUTO–04/08

Related parts for AT90CAN32 Automotive