ATMEGA103-6AI Atmel, ATMEGA103-6AI Datasheet - Page 62

IC MCU 128K 6MHZ A/D IT 64TQFP

ATMEGA103-6AI

Manufacturer Part Number
ATMEGA103-6AI
Description
IC MCU 128K 6MHZ A/D IT 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA103-6AI

Core Processor
AVR
Core Size
8-Bit
Speed
6MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
For Use With
ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA103-6AI
Manufacturer:
ATMEL
Quantity:
586
Part Number:
ATMEGA103-6AI
Manufacturer:
Atmel
Quantity:
10 000
Data Modes
SPI Control Register – SPCR
62
ATmega103(L)
the SS pin is brought high. If the SS pin is brought high during a transmission, the SPI
will stop sending and receiving immediately and both data received and data sent must
be considered as lost.
There are four combinations of SCK phase and polarity with respect to serial data that
are determined by control bits CPHA and CPOL. The SPI data transfer formats are
shown in Figure 39 and Figure 40.
Figure 39. SPI Transfer Format with CPHA = 0 and DORD = 0
Figure 40. SPI Transfer Format with CPHA = 1 and DORD = 0
• 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 Global Interrupts are enabled.
• Bit 6 – SPE: SPI Enable
When the SPE bit is set (one), the SPI is enabled and SS, MOSI, MISO and SCK are
connected to pins PB0, PB1, PB2 and PB3.
(FOR REFERENCE)
(FOR REFERENCE)
Bit
$0D ($2D)
Read/Write
Initial Value
(FROM MASTER)
(FROM MASTER)
SS (TO SLAVE)
SS (TO SLAVE)
(FROM SLAVE)
(FROM SLAVE)
SCK (CPOL=0)
SCK (CPOL=1)
SCK (CPOL=0)
SCK (CPOL=1)
SCK CYCLE #
SCK CYCLE #
SAMPLE
SAMPLE
MOSI
MISO
MOSI
MISO
SPIE
R/W
7
0
* Not defined but normally MSB of character just received.
* Not defined but normally LSB of previously transmitted character.
SPE
R/W
*
6
0
MSB
MSB
1
MSB
MSB
1
DORD
R/W
5
0
2
6
6
2
6
6
MSTR
R/W
3
4
0
3
5
5
5
5
4
CPOL
4
4
4
R/W
4
4
3
0
5
5
3
3
3
3
CPHA
R/W
2
0
6
6
2
2
2
2
SPR1
R/W
1
0
7
7
1
1
1
1
SPR0
8
LSB
LSB
8
R/W
LSB
0
0
0945I–AVR–02/07
LSB
SPCR
*

Related parts for ATMEGA103-6AI