ATTINY2313A-SUR Atmel, ATTINY2313A-SUR Datasheet - Page 151

no-image

ATTINY2313A-SUR

Manufacturer Part Number
ATTINY2313A-SUR
Description
MCU AVR 2KB FLASH 20MHZ 20SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY2313A-SUR

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
18
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
15.7
8246A–AVR–11/09
AVR USART MSPIM vs. AVR SPI
The USART in MSPIM mode is fully compatible with the AVR SPI regarding:
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:
A comparison of the USART in MSPIM mode and the SPI pins is shown in
151.
Table 15-3.
• Master mode timing diagram.
• The UCPOL bit functionality is identical to the SPI CPOL bit.
• The UCPHA bit functionality is identical to the SPI CPHA bit.
• The UDORD bit functionality is identical to the SPI DORD bit.
• 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
• Interrupt timing is not compatible.
• Pin control differs due to the master only operation of the USART in MSPIM mode.
buffer.
achieved by setting UBRRn accordingly.
USART_MSPIM
(N/A)
XCK
RxD
TxD
Comparison of USART in MSPIM mode and SPI pins.
MOSI
MISO
SCK
SPI
SS
MSPIM
Comment
Master Out only
Master In only
(Functionally identical)
Not supported by USART in
Table 15-3 on page
151

Related parts for ATTINY2313A-SUR