ATmega164P Automotive Atmel Corporation, ATmega164P Automotive Datasheet - Page 93

no-image

ATmega164P Automotive

Manufacturer Part Number
ATmega164P Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega164P Automotive

Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
3
Twi (i2c)
1
Uart
2
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)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
14.2.2
14.2.3
7701E–AVR–02/11
Definitions
Compatibility
The double buffered output compare registers (OCR1A/B) are compared with the timer/coun-
ter value at all times. The result of the compare can be used by the waveform generator to
generate a PWM or variable frequency output on the output compare pin (OC1A/B). See
put Compare Units” on page
flag (OCF1A/B) which can be used to generate an output compare interrupt request.
The input capture register can capture the timer/counter value at a given external (edge-trig-
gered) event on either the input capture pin (ICP1) or on the analog comparator pins (see
“Analog Comparator” on page
canceller) for reducing the chance of capturing noise spikes.
The top value, or maximum timer/counter value, can in some modes of operation be defined
by either the OCR1A register, the ICR1 register, or by a set of fixed values. When using
OCR1A as top value in a PWM mode, the OCR1A register cannot be used for generating a
PWM output. However, the top value will in this case be double buffered, allowing the top
value to be changed at run time. If a fixed top value is required, the ICR1 register can be used
as an alternative, freeing the OCR1A to be used as PWM output.
The following definitions are used extensively throughout the section:
The 16-bit Timer/Counter has been updated and improved from previous versions of the 16-bit
Atmel
sion regarding:
• All 16-bit Timer/Counter related I/O Register address locations, including Timer Interrupt
• Bit locations inside all 16-bit Timer/Counter Registers, including Timer Interrupt Registers.
• Interrupt Vectors.
The following control bits have changed name, but have same functionality and register
location:
• PWM10 is changed to WGM10.
• PWM11 is changed to WGM11.
• CTC1 is changed to WGM12.
The following bits are added to the 16-bit Timer/Counter Control Registers:
• 1A and 1B are added to TCCR1A.
• WGM13 is added to TCCR1B.
The 16-bit Timer/Counter has improvements that will affect the compatibility in some special
cases.
BOTTOM
MAX
TOP
Registers.
®
AVR
®
The counter reaches the BOTTOM when it becomes 0x0000.
The counter reaches its MAXimum when it becomes 0xFFFF (decimal 65535).
The counter reaches the TOP when it becomes equal to the highest value in the count
sequence. The top value can be assigned to be one of the fixed values: 0x00FF,
0x01FF, or 0x03FF, or to the value stored in the OCR1A or ICR1 register. The assign-
ment is dependent on the mode of operation.
Timer/Counter. This 16-bit Timer/Counter is fully compatible with the earlier ver-
Atmel ATtiny24/44/84 [Preliminary]
100. The compare match event will also set the compare match
134). The input capture unit includes a digital filtering unit (noise
“Out-
93

Related parts for ATmega164P Automotive