ATmega164P Atmel Corporation, ATmega164P Datasheet - Page 203

no-image

ATmega164P

Manufacturer Part Number
ATmega164P
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega164P

Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
3
Twi (i2c)
1
Uart
2
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
No
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:
ATmega164P-15AT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega164P-15AT1
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega164P-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega164P-20AQ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega164P-20AQ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega164P-20AQR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega164P-20AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega164P-20MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega164P-A15AZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega164P-A15MZ
Manufacturer:
ATMEL
Quantity:
263
Part Number:
ATmega164P-A15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.6.1
17.6.2
17.7
8011O–AVR–07/10
AVR USART MSPIM vs. AVR SPI
Transmitter and Receiver Flags and Interrupts
Disabling the Transmitter or Receiver
The RXCn, TXCn, and UDREn flags and corresponding interrupts in USART in MSPIM mode
are identical in function to the normal USART operation. However, the receiver error status flags
(FE, DOR, and PE) are not in use and is always read as zero.
The disabling of the transmitter or receiver in USART in MSPIM mode is identical in function to
the normal USART operation.
The USART in MSPIM mode is fully compatible with the AVR SPI regarding:
• Master mode timing diagram.
• The UCPOLn bit functionality is identical to the SPI CPOL bit.
• The UCPHAn bit functionality is identical to the SPI CPHA bit.
• The UDORDn bit functionality is identical to the SPI DORD bit.
However, since the USART in MSPIM mode reuses the USART resources, the use of the
USART in MSPIM mode is somewhat different compared to the SPI. In addition to differences of
the control register bits, and that only master operation is supported by the USART in MSPIM
mode, the following features differ between the two modules:
• The USART in MSPIM mode includes (double) buffering of the transmitter. The SPI has no
• The USART in MSPIM mode receiver includes an additional buffer level.
• The SPI WCOL (Write Collision) bit is not included in USART in MSPIM mode.
• The SPI double speed mode (SPI2X) bit is not included. However, the same effect is achieved
• Interrupt timing is not compatible.
• Pin control differs due to the master only operation of the USART in MSPIM mode.
A comparison of the USART in MSPIM mode and the SPI pins is shown in
203.
Table 17-3.
buffer.
by setting UBRRn accordingly.
USART_MSPIM
XCKn
RxDn
TxDn
(N/A)
Comparison of USART in MSPIM mode and SPI pins.
MOSI
MISO
SCK
SPI
SS
ATmega164P/324P/644P
Comment
Master Out only
Master In only
Not supported by USART in MSPIM
(Functionally identical)
Table 17-3 on page
203

Related parts for ATmega164P