ATmega64M1 Automotive Atmel Corporation, ATmega64M1 Automotive Datasheet - Page 160
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega64M1 Automotive
Manufacturer Part Number
ATmega64M1 Automotive
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT90CAN128_AUTOMOTIVE.pdf
(225 pages)
2.ATMEGA16M1_AUTOMOTIVE.pdf
(25 pages)
3.ATMEGA16M1_AUTOMOTIVE.pdf
(367 pages)
Specifications of ATmega64M1 Automotive
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 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
- AT90CAN128_AUTOMOTIVE PDF datasheet
- ATMEGA16M1_AUTOMOTIVE PDF datasheet #2
- ATMEGA16M1_AUTOMOTIVE PDF datasheet #3
- Current page: 160 of 225
- Download datasheet (4Mb)
20.4.1
20.4.2
20.4.3
160
Atmel ATtiny24/44/84 [Preliminary]
EEPROM Write Prevents Writing to SPMCSR
Reading the Lock and Fuse Bits from Software
Preventing Flash Corruption
Note that an EEPROM write operation will block all software programming to flash. Reading
the fuses and lock bits from software will also be prevented during the EEPROM write opera-
tion. It is recommended that the user check the status bit (EEPE) in the EECR register and
verify that the bit is cleared before writing to SPMCSR.
It is possible to read both the lock and fuse bits from software. To read the lock bits, load the
Z-pointer with 0x0001 and set the RFLB and SPMEN bits in SPMCSR. When an LPM instruc-
tion is executed within three CPU cycles after the RFLB and SPMEN bits are set in SPMCSR,
the value of the lock bits will be loaded in the destination register. The RFLB and SPMEN bits
will auto-clear upon completion of reading the lock bits, or if no LPM instruction is executed
within three CPU cycles, or if no SPM instruction is executed within four CPU cycles. When
RFLB and SPMEN are cleared, LPM will work as described in the instruction set summary.
The algorithm for reading the fuse low byte (FLB) is similar to the one described above for
reading the lock bits. To read the fuse low byte, load the Z-pointer with 0x0000 and set the
RFLB and SPMEN bits in SPMCSR. When an LPM instruction is executed within three cycles
after the RFLB and SPMEN bits are set in the SPMCSR, the value of the fuse low byte will be
loaded in the destination register as shown below. See
description and mapping of the fuse low byte.
Similarly, when reading the fuse high byte (FHB), load 0x0003 in the Z-pointer. When an LPM
instruction is executed within three cycles after the RFLB and SPMEN bits are set in the
SPMCSR, the value of the fuse high byte will be loaded in the destination register as shown
below. See
Lock and fuse bits that are programmed will be read as zero. Lock and fuse bits that are
unprogrammed, will be read as one.
During periods of low V
too low for the CPU and the Flash to operate properly. These issues are the same as for
board-level systems using flash, and the same design solutions should be applied.
Flash program corruption can occur for two reasons when the voltage is too low. First, a regu-
lar write sequence to the flash requires a minimum voltage to operate correctly. Secondly, the
CPU itself can execute instructions incorrectly if the supply voltage is too low.
Bit
Rd
Bit
Rd
Bit
Rd
Table 21-4 on page 164
FLB7
FHB7
7
7
7
–
CC
FLB6
FHB6
, the Flash program can be corrupted because the supply voltage is
6
6
6
–
FLB5
FHB5
5
5
5
–
for detailed description and mapping of the fuse high byte.
FLB4
FHB4
4
–
4
4
FHB3
FLB3
3
–
3
3
Table 21-5 on page 165
FHB2
FLB2
2
–
2
2
FHB1
FLB1
LB2
1
1
1
FHB0
FLB0
LB1
7701E–AVR–02/11
0
0
0
for a detailed
Related parts for ATmega64M1 Automotive
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATmega64M1](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: