ATTINY861A-SU Atmel, ATTINY861A-SU Datasheet - Page 178

no-image

ATTINY861A-SU

Manufacturer Part Number
ATTINY861A-SU
Description
IC, MCU, 8BIT, 8K FLASH, 20SOIC
Manufacturer
Atmel
Datasheet

Specifications of ATTINY861A-SU

Controller Family/series
ATtiny
No. Of I/o's
16
Eeprom Memory Size
512Byte
Ram Memory Size
512Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Core Size
8bit
Program Memory Size
8KB
Oscillator Type
External, Internal
Rohs Compliant
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861A-SUR
Manufacturer:
Atmel
Quantity:
950
178
ATtiny261A/461A/861A
While the lower bits in the address are mapped to words within the page, the higher bits address
the pages within the FLASH. This is illustrated in
required to address words in the page (pagesize < 256), the most significant bit(s) in the address
low byte are used to address the page when performing a Page Write.
1. Load Command “Write Flash”:
2. Load Address Low byte:
3. Load Data Low Byte:
4. Load Data High Byte:
5. Repeat steps 2 to 4 until the entire buffer is filled or until all data within the page is
6. Load Address High byte:
7. Program Page:
8. Repeat steps 2 to 7 until the entire Flash is programmed or until all data has been
9. End Page Programming:
a. Set XA1, XA0 to “10”. This enables command loading.
b. Set BS1 to “0”.
c. Set DATA to “0001 0000”. This is the command for Write Flash.
d. Give XTAL1 a positive pulse. This loads the command.
a. Set XA1, XA0 to “00”. This enables address loading.
b. Keep BS1 at “0”. This selects low address.
c. Set DATA = Address low byte (0x00 - 0xFF).
d. Give XTAL1 a positive pulse. This loads the address low byte.
a. Set XA1, XA0 to “01”. This enables data loading.
b. Set DATA = Data low byte (0x00 - 0xFF).
c. Give XTAL1 a positive pulse. This loads the data byte.
a. Set BS1 to “1”. This selects high data byte.
b. Keep XA1, XA0 at “01”. This enables data loading.
c. Set DATA = Data high byte (0x00 - 0xFF).
d. Give XTAL1 a positive pulse. This loads the data byte.
loaded.
a. Set XA1, XA0 to “00”. This enables address loading.
b. Set BS1 to “1”. This selects high address.
c. Set DATA = Address high byte (0x00 - 0xFF).
d. Give XTAL1 a positive pulse. This loads the address high byte.
a. Give WR a negative pulse. This starts programming of the entire page of data.
b. Wait until RDY/BSY goes high.
programmed.
a. Set XA1, XA0 to “10”. This enables command loading.
b. Set DATA to “0000 0000”. This is the command for No Operation.
c. Give XTAL1 a positive pulse. This loads the command, and the internal write sig-
RDY/BSY goes low.
nals are reset.
Figure
18-4. Note that if less than eight bits are
8197B–AVR–01/10

Related parts for ATTINY861A-SU