ATTINY2313A-SUR Atmel, ATTINY2313A-SUR Datasheet - Page 186

no-image

ATTINY2313A-SUR

Manufacturer Part Number
ATTINY2313A-SUR
Description
MCU AVR 2KB FLASH 20MHZ 20SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY2313A-SUR

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
20.6.5
186
ATtiny2313A/4313
Programming the EEPROM
Figure 20-2. Addressing the Flash Which is Organized in Pages
Note:
Figure 20-3. Programming the Flash Waveforms
Note:
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):
3. Give XTAL1 a positive pulse. This loads the command, and the internal write signals
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
RESET +12V
are reset.
RDY/BSY
PAGEL
XTAL1
1. PCPAGE and PCWORD are listed in
1. “XX” is don’t care. The letters refer to the programming description above.
DATA
XA1
XA0
BS1
BS2
WR
OE
PROGRAM MEMORY
PROGRAM
COUNTER
0x10
PAGE
“Programming the Flash” on page 184
A
PAGE ADDRESS
WITHIN THE FLASH
ADDR. LOW
B
PCMSB
DATA LOW
C
PCPAGE
DATA HIGH
D
XX
E
PAGEMSB
ADDR. LOW
Table 20-8 on page
PCWORD
B
Table 20-7 on page
WORD ADDRESS
WITHIN A PAGE
DATA LOW
(1)
C
F
DATA HIGH
INSTRUCTION WORD
D
for details on Command, Address and
PAGE
XX
E
181.
(1)
181. When programming the
ADDR. HIGH
G
H
PCWORD[PAGEMSB:0]:
XX
00
01
02
PAGEEND
8246A–AVR–11/09

Related parts for ATTINY2313A-SUR