ATmega168A Atmel Corporation, ATmega168A Datasheet - Page 304

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
Table 28-13. Pin Name Mapping
Signal Name in
Programming Mode
RDY/BSY
OE
WR
BS1
XA0
XA1
PAGEL
BS2
DATA
Table 28-14. Pin Values Used to Enter Programming Mode
Table 28-15. XA1 and XA0 Coding
XA1
0
0
1
1
Table 28-16. Command Byte Bit Coding
Command Byte
1000 0000
0100 0000
0010 0000
0001 0000
0001 0001
8271D–AVR–05/11
ATmega48A/PA/88A/PA/168A/PA/328/P
Pin Name
PD1
PD2
PD3
PD4
PD5
PD6
PD7
PC2
{PC[1:0]: PB[5:0]}
Pin
Symbol
PAGEL
Prog_enable[3]
XA1
Prog_enable[2]
XA0
Prog_enable[1]
BS1
Prog_enable[0]
XA0
Action when XTAL1 is Pulsed
0
Load Flash or EEPROM Address (High or low address byte determined by BS1).
1
Load Data (High or Low data byte for Flash determined by BS1).
0
Load Command
1
No Action, Idle
Command Executed
Chip Erase
Write Fuse bits
Write Lock bits
Write Flash
Write EEPROM
I/O
Function
0: Device is busy programming, 1: Device is
O
ready for new command
I
Output Enable (Active low)
I
Write Pulse (Active low)
Byte Select 1 (“0” selects Low byte, “1” selects
I
High byte)
I
XTAL Action Bit 0
I
XTAL Action Bit 1
Program memory and EEPROM Data Page
I
Load
Byte Select 2 (“0” selects Low byte, “1” selects
I
2’nd High byte)
I/O
Bi-directional Data bus (Output when OE is low)
Value
0
0
0
0
304

Related parts for ATmega168A