ATmega16M1 Automotive Atmel Corporation, ATmega16M1 Automotive Datasheet - Page 315

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.9.3
Table 25-17. Serial Programming Instruction Set
7647G–AVR–09/11
Instruction
Programming Enable
Chip Erase
Read Program Memory
Load Program Memory Page
Write Program Memory Page
Read EEPROM Memory
Data Polling EEPROM
When a new byte has been written and is being programmed into EEPROM, reading the
address location being programmed will give the value 0xFF. At the time the device is ready
for a new byte, the programmed value will read correctly. This is used to determine when the
next byte can be written. This will not work for the value 0xFF, but the user should have the fol-
lowing in mind: As a chip-erased device contains 0xFF in all locations, programming of
addresses that are meant to contain 0xFF, can be skipped. This does not apply if the
EEPROM is re-programmed without chip erasing the device. In this case, data polling cannot
be used for the value 0xFF, and the user will have to wait at least t
ming the next byte. See
Table 25-16. Minimum Wait Delay Before Writing the Next Flash or EEPROM Location
Figure 25-11. Serial Programming Waveforms
Symbol
t
t
t
WD_FLASH
WD_EEPROM
WD_ERASE
1010 1100
1010 1100
0010 H000
0100 H000
0100 1100
1010 0000
Byte 1
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
SERIAL DATA INPUT
SAMPLE
0101 0011
100x xxxx
000a aaaa
000x xxxx
000a aaaa
000x xxaa
(MOSI)
(MISO)
(SCK)
Byte 2
Instruction Format
Table 25-16
MSB
MSB
xxxx xxxx
xxxx xxxx
bbbb bbbb
xxbb bbbb
bbxx xxxx
bbbb bbbb
Byte 3
Atmel ATmega16/32/64/M1/C1
for t
WD_EEPROM
xxxx xxxx
xxxx xxxx
oooo oooo
iiii iiii
xxxx xxxx
oooo oooo
Byte4
value.
Minimum Wait Delay
Operation
Enable Serial Programming after
RESET goes low.
Chip Erase EEPROM and Flash.
Read H (high or low) data o from
Program memory at word address a:b.
Write H (high or low) data i to Program
Memory page at word address b. Data
low byte must be loaded before Data
high byte is applied within the same
address.
Write Program Memory Page at
address a:b.
Read data o from EEPROM memory at
address a:b.
4.5 ms
3.6 ms
9.0 ms
WD_EEPROM
before program-
LSB
LSB
315

Related parts for ATmega16M1 Automotive