ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 307

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
25.8.5
7647G–AVR–09/11
Programming the EEPROM
Figure 25-3. Programming the Flash Waveforms
Note:
The EEPROM is organized in pages, see
EEPROM, the program data is latched into a page buffer. This allows one page of data to be
programmed simultaneously. The programming algorithm for the EEPROM data memory is as
follows (refer to
Data loading):
K: Repeat 3 through 5 until the entire buffer is filled.
L: Program EEPROM page
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
5. E: Latch data (give PAGEL a positive pulse).
1. Set BS1 to “0”.
2. Give WR a negative pulse. This starts programming of the EEPROM page. RDY/BSY
3. Wait until to RDY/BSY goes high before programming the next page (See
RESET +12V
goes low.
for signal waveforms).
RDY/BSY
PAGEL
XTAL1
DATA
XA1
XA0
BS1
BS2
WR
1. “XX” is don’t care. The letters refer to the programming description above.
OE
0x10
A
“Programming the Flash” on page 305
ADDR. LOW
B
DATA LOW
C
DATA HIGH
D
Atmel ATmega16/32/64/M1/C1
XX
E
ADDR. LOW
Table 25-13 on page
B
DATA LOW
C
(1)
F
DATA HIGH
for details on Command, Address and
D
XX
E
303. When programming the
ADDR. HIGH
G
H
XX
Figure 25-4
307

Related parts for ATmega16M1 Automotive