ATMEGA168P-20MQ Atmel, ATMEGA168P-20MQ Datasheet - Page 166

no-image

ATMEGA168P-20MQ

Manufacturer Part Number
ATMEGA168P-20MQ
Description
MCU AVR 16K FLASH 20MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA168P-20MQ

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
For Use With
ATSTK600-TQFP32 - STK600 SOCKET/ADAPTER 32-TQFPATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVR
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
8025L–AVR–7/10
When the SPI is enabled, the data direction of the MOSI, MISO, SCK, and SS pins is overridden
according to
”Alternate Port Functions” on page
Table 18-1.
Note:
The following code examples show how to initialize the SPI as a Master and how to perform a
simple transmission. DDR_SPI in the examples must be replaced by the actual Data Direction
Register controlling the SPI pins. DD_MOSI, DD_MISO and DD_SCK must be replaced by the
actual data direction bits for these pins. E.g. if MOSI is placed on pin PB5, replace DD_MOSI
with DDB5 and DDR_SPI with DDRB.
MOSI
MISO
SCK
Pin
SS
See
direction of the user defined SPI pins.
”Alternate Functions of Port B” on page 80
Table 18-1 on page
SPI Pin Overrides
Direction, Master SPI
User Defined
Input
User Defined
User Defined
(Note:)
166. For more details on automatic port overrides, refer to
78.
for a detailed description of how to define the
ATmega48P/88P/168P
Direction, Slave SPI
Input
User Defined
Input
Input
166

Related parts for ATMEGA168P-20MQ