ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 146

no-image

ATtiny25 Automotive

Manufacturer Part Number
ATtiny25 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny25 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
8
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
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
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
21.8.5
21.8.6
21.8.7
21.8.8
21.8.9
21.8.10
146
ATtiny25/45/85
Programming the EEPROM
Reading the Flash
Reading the EEPROM
Programming and Reading the Fuse and Lock Bits
Reading the Signature Bytes and Calibration Byte
Power-off sequence
The EEPROM is organized in pages, see
EEPROM, the data is latched into a page buffer. This allows one page of data to be pro-
grammed simultaneously. The programming algorithm for the EEPROM Data memory is as
follows (refer to
The algorithm for reading the Flash memory is as follows (refer to
The algorithm for reading the EEPROM memory is as follows (refer to
The algorithms for programming and reading the Fuse Low/High bits and Lock bits are shown in
Table
The algorithms for reading the Signature bytes and Calibration byte are shown in
Set SCI to “0”. Set RESET to “1”. Turn V
1. Load Command “Write EEPROM”.
2. Load EEPROM Page Buffer.
3. Program EEPROM Page. Wait after Instr. 2 until SDO goes high for the “Page Program-
4. Repeat 2 through 3 until the entire EEPROM is programmed or until all data has been
5. End Page Programming by Loading Command “No Operation”.
1. Load Command "Read Flash".
2. Read Flash Low and High Bytes. The contents at the selected address are available at
1. Load Command “Read EEPROM”.
2. Read EEPROM Byte. The contents at the selected address are available at serial out-
ming” cycle to finish.
programmed.
serial output SDO.
put SDO.
21-16.
Table
21-16):
CC
power off.
Table 21-11 on page
142. When programming the
Table
Table
21-16):
21-16):
Table
7598H–AVR–07/09
21-16.

Related parts for ATtiny25 Automotive