ATmega64M1 Atmel Corporation, ATmega64M1 Datasheet - Page 297

no-image

ATmega64M1

Manufacturer Part Number
ATmega64M1
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega64M1

Flash (kbytes)
64 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)
4
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega64M1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega64M1-15MD
Manufacturer:
ATMEL
Quantity:
700
Part Number:
ATmega64M1-AU
Manufacturer:
Atmel
Quantity:
10 000
27.9.5
27.9.6
8209D–AVR–11/10
Programming the EEPROM
Reading the Flash
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
Figure 27-4. Programming the EEPROM Waveforms
The algorithm for reading the Flash memory is as follows (refer to
page 295
RESET +12V
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
1. A: Load Command “0000 0010”
2. G: Load Address High Byte (0x00 - 0xFF)
3. B: Load Address Low Byte (0x00 - 0xFF)
4. Set OE to “0”, and BS1 to “0”. The Flash word low byte can now be read at DATA
5. Set BS1 to “1”. The Flash word high byte can now be read at DATA
6. Set OE to “1”
RDY/BSY
PAGEL
XTAL1
DATA
goes low
for signal waveforms)
XA1
XA0
BS1
BS2
WR
OE
for details on Command and Address loading):
0x11
A
“Programming the Flash” on page 295
ADDR. HIGH
G
ADDR. LOW
B
DATA
C
Table 27-10 on page
XX
E
ATmega16M1/32M1/64M1
ADDR. LOW
B
for details on Command, Address and
DATA
C
K
XX
291. When programming the
E
“Programming the Flash” on
L
Figure 27-4
297

Related parts for ATmega64M1