ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 23

no-image

ATmega16M1 Automotive

Manufacturer Part Number
ATmega16M1 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega16M1 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
27
Ext Interrupts
27
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Can
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
14
Input Capture Channels
1
Pwm Channels
10
32khz Rtc
No
Calibrated Rc Oscillator
Yes
7701E–AVR–02/11
• Bit 7 – Res: Reserved Bit
This bit is reserved for future use, and will always read as 0 in Atmel
compatibility with future AVR
mask out this bit.
• Bit 6 – Res: Reserved Bit
This bit is reserved in the Atmel ATtiny24/44/84 and will always read as zero.
• Bits 5, 4 – EEPM1 and EEPM0: EEPROM Mode Bits
The EEPROM programming mode bits define which programming action will be triggered
when writing EEPE. It is possible to program data in one atomic operation (erase the old value
and program the new value) or split the erase and write operations into two separate opera-
tions. The programming times for the different modes are shown in Table 6-1. While EEPE is
set, any write to EEPMn will be ignored. During reset, the EEPMn bits will be reset to 0b00
unless the EEPROM is busy programming.
Table 6-1.
• Bit 3 – EERIE: EEPROM Ready Interrupt Enable
Writing EERIE to logical one enables the EEPROM ready interrupt if the I-bit in SREG is set.
Writing EERIE to logical zero disables the interrupt. The EEPROM ready interrupt generates a
constant interrupt when non-volatile memory is ready for programming.
• Bit 2 – EEMPE: EEPROM Master Program Enable
The EEMPE bit determines whether writing EEPE to logical one will have effect or not. When
EEMPE is set, setting EEPE within four clock cycles will program the EEPROM at the selected
address. If EEMPE is logical zero, setting EEPE will have no effect. When EEMPE has been
written to logical one by software, hardware clears the bit to logical zero after four clock cycles.
• Bit 1 – EEPE: EEPROM Program Enable
The EEPROM program enable bit, EEPE, is the programming enable signal to the EEPROM.
When EEPE is written, the EEPROM will be programmed according to the EEPMn bits setting.
The EEMPE bit must be written to logical one before a logical one is written to EEPE, other-
wise no EEPROM write will take place. When the write access time has elapsed, the EEPE bit
is cleared by hardware. When EEPE has been set, the CPU is halted for two cycles before the
next instruction is executed.
EEPM1
0
0
1
1
EEPM0
EEPROM Mode Bits
0
1
0
1
Programming
Atmel ATtiny24/44/84 [Preliminary]
3.4ms
1.8ms
1.8ms
Time
®
devices, always write this bit to a logical zero. After reading,
Operation
Erase and Write in one operation (Atomic Operation)
Erase Only
Write Only
Reserved for future use
®
ATtiny24/44/84. For
23

Related parts for ATmega16M1 Automotive