ATmega325 Atmel Corporation, ATmega325 Datasheet - Page 154

no-image

ATmega325

Manufacturer Part Number
ATmega325
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega325

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
54
Ext Interrupts
17
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
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
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
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega325-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega325-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega325-16AU
Manufacturer:
ATMEL
Quantity:
231
Part Number:
ATmega325-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega325-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega325-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3250-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3250-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3250-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3250-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3250P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
19.5
19.5.1
2570N–AVR–05/11
Register Description
SPCR – SPI Control Register
Figure 19-3. SPI Transfer Format with CPHA = 0
Figure 19-4. SPI Transfer Format with CPHA = 1
• Bit 7 – SPIE: SPI Interrupt Enable
This bit causes the SPI interrupt to be executed if SPIF bit in the SPSR Register is set and the if
the Global Interrupt Enable bit in SREG is set.
• Bit 6 – SPE: SPI Enable
When the SPE bit is written to one, the SPI is enabled. This bit must be set to enable any SPI
operations.
Bit
0x2C (0x4C)
Read/Write
Initial Value
SCK (CPOL = 0)
mode 0
SCK (CPOL = 1)
mode 2
SAMPLE I
MOSI/MISO
CHANGE 0
MOSI PIN
CHANGE 0
MISO PIN
SCK (CPOL = 0)
mode 1
SCK (CPOL = 1)
mode 3
SAMPLE I
MOSI/MISO
CHANGE 0
MOSI PIN
CHANGE 0
MISO PIN
SS
SS
MSB first (DORD = 0)
LSB first (DORD = 1)
MSB first (DORD = 0)
LSB first (DORD = 1)
SPIE
R/W
7
0
SPE
R/W
6
0
MSB
LSB
DORD
MSB
LSB
R/W
5
0
Bit 6
Bit 1
Bit 6
Bit 1
MSTR
R/W
4
0
Bit 5
Bit 2
ATmega325/3250/645/6450
Bit 5
Bit 2
CPOL
R/W
3
0
Bit 4
Bit 3
Bit 4
Bit 3
CPHA
R/W
Bit 3
Bit 4
2
0
Bit 3
Bit 4
SPR1
Bit 2
Bit 5
R/W
1
0
Bit 2
Bit 5
Bit 1
Bit 6
SPR0
R/W
0
0
Bit 1
Bit 6
LSB
MSB
SPCR
LSB
MSB
154

Related parts for ATmega325