ATtiny25 Automotive Atmel Corporation, ATtiny25 Automotive Datasheet - Page 145

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.4
Figure 21-6. High-voltage Serial Programming Waveforms
7598H–AVR–07/09
SDO
PB0
PB1
PB2
PB3
SDI
SCI
SII
Programming the Flash
0
MSB
MSB
MSB
1
The Flash is organized in pages, see
the program data is latched into a page buffer. This allows one page of program data to be pro-
grammed simultaneously. The following procedure describes how to program the entire Flash
memory:
When writing or reading serial data to the ATtiny25/45/85, data is clocked on the rising edge of
the serial clock, see
Figure 21-5. Addressing the Flash which is Organized in Pages
1. Load Command “Write Flash” (see
2. Load Flash Page Buffer.
3. Load Flash High Address and Program Page. Wait after Instr. 3 until SDO goes high for
4. Repeat 2 through 3 until the entire Flash is programmed or until all data has been
5. End Page Programming by Loading Command “No Operation”.
the “Page Programming” cycle to finish.
programmed.
2
PROGRAM MEMORY
PROGRAM
COUNTER
3
PAGE
Figure
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
4
21-6,
PCPAGE
5
Figure 21-7
Table 21-10 on page
Table
6
PAGEMSB
PCWORD
and
21-16).
WORD ADDRESS
WITHIN A PAGE
7
Table 21-17
LSB
INSTRUCTION WORD
LSB
LSB
8
140. When programming the Flash,
PAGE
for details.
9
ATtiny25/45/85
10
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
145

Related parts for ATtiny25 Automotive