ATmega88PA Atmel Corporation, ATmega88PA Datasheet - Page 80

no-image

ATmega88PA

Manufacturer Part Number
ATmega88PA
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega88PA

Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
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
Yes
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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega88PA-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega88PA-15MZ
Manufacturer:
ATMEL
Quantity:
228
Part Number:
ATmega88PA-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega88PA-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega88PA-AU
Manufacturer:
ATMEL
Quantity:
14 000
Part Number:
ATmega88PA-AU
Manufacturer:
Atmel
Quantity:
64
Part Number:
ATmega88PA-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega88PA-AU
Manufacturer:
ATMEL
Quantity:
755
Part Number:
ATmega88PA-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega88PA-MMH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega88PA-MMHR
Manufacturer:
MTK
Quantity:
101
Part Number:
ATmega88PA-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
Company:
Part Number:
ATmega88PA-MMHR
Quantity:
6 000
Part Number:
ATmega88PA-MU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATmega88PA-PU
Manufacturer:
MICREL
Quantity:
2 001
8271D–AVR–05/11
Figure 14-3. Synchronization when Reading an Externally Applied Pin value
Consider the clock period starting shortly after the first falling edge of the system clock. The latch
is closed when the clock is low, and goes transparent when the clock is high, as indicated by the
shaded region of the “SYNC LATCH” signal. The signal value is latched when the system clock
goes low. It is clocked into the PINxn Register at the succeeding positive clock edge. As indi-
cated by the two arrows tpd,max and tpd,min, a single signal transition on the pin will be delayed
between ½ and 1½ system clock period depending upon the time of assertion.
When reading back a software assigned pin value, a nop instruction must be inserted as indi-
cated in
the clock. In this case, the delay tpd through the synchronizer is 1 system clock period.
Figure 14-4. Synchronization when Reading a Software Assigned Pin Value
The following code example shows how to set port B pins 0 and 1 high, 2 and 3 low, and define
the port pins from 4 to 7 as input with pull-ups assigned to port pins 6 and 7. The resulting pin
values are read back again, but as previously discussed, a nop instruction is included to be able
to read back the value recently assigned to some of the pins.
INSTRUCTIONS
INSTRUCTIONS
SYSTEM CLK
SYSTEM CLK
SYNC LATCH
SYNC LATCH
Figure
14-4. The out instruction sets the “SYNC LATCH” signal at the positive edge of
PINxn
PINxn
r17
r16
r17
ATmega48A/PA/88A/PA/168A/PA/328/P
out PORTx, r16
XXX
t
pd, max
0x00
0x00
XXX
nop
t
pd
t
0xFF
pd, min
in r17, PINx
in r17, PINx
0xFF
0xFF
80

Related parts for ATmega88PA