ATtiny20 Atmel Corporation, ATtiny20 Datasheet - Page 167

no-image

ATtiny20

Manufacturer Part Number
ATtiny20
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny20

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
5
Hardware Qtouch Acquisition
Yes
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
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
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
3
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny20-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny20-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATtiny20-SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny20-XU
Manufacturer:
Atmel
Quantity:
904
19.4
19.4.1
8235B–AVR–04/11
Accessing the NVM
Addressing the Flash
NVM lock bits, and all Flash memory sections are mapped to the data space as shown in
5-1 on page
in the data space.
The NVM Controller recognises a set of commands that can be used to instruct the controller
what type of programming task to perform on the NVM. Commands to the NVM Controller are
issued via the NVM Command Register. See
Register” on page
writing data to the NVM locations mapped to the data space.
When the NVM Controller is busy performing an operation it will signal this via the NVM Busy
Flag in the NVM Control and Status Register. See
Status Register” on page
as the busy flag is active. This is to ensure that the current command is fully executed before a
new command can start.
Programming any part of the NVM will automatically inhibit the following operations:
The ATtiny20 supports only external programming. Internal programming operations to the NVM
have been disabled, which means any internal attempt to write or erase NVM locations will fail.
The data space uses byte accessing but since the Flash sections are accessed as words and
organized in pages, the byte-address of the data space must be converted to the word-address
of the Flash section. This is illustrated in
Figure 19-1. Addressing the Flash Memory
• All programming to any other part of the NVM
• All reading from any NVM location
ADDRESS POINTER
SECTIONEND
16
16. The NVM can be accessed for read and programming via the locations mapped
00
01
02
...
...
...
SECTION
FLASH
170. After the selected command has been loaded, the operation is started by
PAGE
171. The NVM Command Register is blocked for write access as long
PADDRMSB
WITHIN A FLASH
PAGE ADDRESS
Figure
SECTION
PADDR
PAGEEND
19-1. Also, see
“NVMCMD – Non-Volatile Memory Command
“NVMCSR - Non-Volatile Memory Control and
00
01
...
...
...
WADDRMSB+1
FLASH
WORD
PAGE
Table 19-3 on page
WADDRMSB
WADDR
WORD ADDRESS
WITHIN A FLASH
PAGE
1
ATtiny20
0/1
LOW/HIGH
BYTE SELECT
165.
Figure
167

Related parts for ATtiny20