ATmega168A Atmel Corporation, ATmega168A Datasheet - Page 293

no-image

ATmega168A

Manufacturer Part Number
ATmega168A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega168A

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
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)
1
Eeprom (bytes)
512
Self Program Memory
YES
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
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
27.8.15
In
Table 27-10. Boot Size Configuration, ATmega168A/168PA
Table 27-11. Read-While-Write Limit, ATmega168A/168PA
For details about these two section, see
Write Section” on page 281
Table 27-12. Explanation of Different Variables used in
Note:
8271D–AVR–05/11
BOOTSZ1
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
Variable
PCMSB
PAGEMSB
ZPCMSB
ZPAGEMSB
PCPAGE
PCWORD
Table 27-10
1
1
0
0
1. Z15:Z14: always ignored
ATmega168A and ATmega168PA Boot Loader Parameters
Z0: should be zero for all SPM commands, byte select for the LPM instruction.
See
Programming.
BOOTSZ0
ATmega168A/168PA
through
”Addressing the Flash During Self-Programming” on page 285
1
0
1
0
Table
Boot
Size
128 words
256 words
512 words
1024 words
PC[12:6]
Note:
PC[5:0]
12
5
27-12, the parameters used in the description of the self programming are given.
The different BOOTSZ Fuse configurations are shown in
Pages
16
2
4
8
”NRWW – No Read-While-Write Section” on page 281
Corresponding
Application
Flash
Section
0x0000 - 0x1F7F
0x0000 - 0x1EFF
0x0000 - 0x1DFF
0x0000 - 0x1BFF
Z-value
Z13:Z7
Z6:Z1
ATmega48A/PA/88A/PA/168A/PA/328/P
Z13
Z6
(1)
Figure 27-3
Boot
Loader
Flash
Section
0x1F80 - 0x1FFF
0x1F00 - 0x1FFF
0x1E00 - 0x1FFF
0x1C00 - 0x1FFF
Description
Most significant bit in the Program Counter. (The Program Counter
is 13 bits PC[12:0])
Most significant bit which is used to address the words within
one page (64 words in a page requires 6 bits PC [5:0])
Bit in Z-register that is mapped to PCMSB. Because Z0 is not used,
the ZPCMSB equals PCMSB + 1.
Bit in Z-register that is mapped to PAGEMSB. Because Z0 is not
used, the ZPAGEMSB equals PAGEMSB + 1.
Program counter page address: Page select, for page erase and
page write
Program counter word address: Word select, for filling temporary
buffer (must be zero during page write operation)
Pages
112
16
and the Mapping to the Z-pointer,
for details about the use of Z-pointer during Self-
End
Application
Section
0x1F7F
0x1EFF
0x1DFF
0x1BFF
Address
0x0000 - 0x1BFF
0x1C00 - 0x1FFF
Figure 27-2 on page
Boot Reset Address (Start Boot
Loader Section)
0x1F80
0x1F00
0x1E00
0x1C00
and
”RWW – Read-While-
283.
293

Related parts for ATmega168A