AT90S2313-4SI Atmel, AT90S2313-4SI Datasheet - Page 45

MCU 2K FLASH 4MHZ 20-SOIC

AT90S2313-4SI

Manufacturer Part Number
AT90S2313-4SI
Description
MCU 2K FLASH 4MHZ 20-SOIC
Manufacturer
Atmel
Series
AVR® 90Sr
Datasheet

Specifications of AT90S2313-4SI

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
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)
2.7 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (7.5mm Width)
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
SPI, UART
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
15
Number Of Timers
1 x 8 bit
Operating Supply Voltage
2.7 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S2313-4SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
UART Control
The UART I/O Data Register –
UDR
UART Status Register – USR
0839I–AVR–06/02
The UDR Register is actually two physically separate registers sharing the same I/O
address. When writing to the register, the UART Transmit Data Register is written.
When reading from UDR, the UART Receive Data Register is read.
The USR Register is a read-only register providing information on the UART status.
• Bit 7 – RXC: UART Receive Complete
This bit is set (one) when a received character is transferred from the Receiver Shift
Register to UDR. The bit is set regardless of any detected framing errors. When the
RXCIE bit in UCR is set, the UART Receive Complete interrupt will be executed when
RXC is set (one). RXC is cleared by reading UDR. When interrupt-driven data reception
is used, the UART Receive Complete Interrupt routine must read UDR in order to clear
RXC, otherwise a new interrupt will occur once the interrupt routine terminates.
• Bit 6 – TXC: UART Transmit Complete
This bit is set (one) when the entire character (including the stop bit) in the Transmit
Shift Register has been shifted out and no new data has been written to UDR. This flag
is especially useful in half-duplex communications interfaces, where a transmitting appli-
cation must enter Receive mode and free the communications bus immediately after
completing the transmission.
When the TXCIE bit in UCR is set, setting of TXC causes the UART Transmit Complete
interrupt to be executed. TXC is cleared by hardware when executing the corresponding
interrupt handling vector. Alternatively, the TXC bit is cleared (zero) by writing a logical
“1” to the bit.
• Bit 5 – UDRE: UART Data Register Empty
This bit is set (one) when a character written to UDR is transferred to the Transmit Shift
Register. Setting of this bit indicates that the transmitter is ready to receive a new char-
acter for transmission.
When the UDRIE bit in UCR is set, the UART Transmit Complete interrupt is executed
as long as UDRE is set. UDRE is cleared by writing UDR. When interrupt-driven data
transmittal is used, the UART Data Register Empty Interrupt routine must write UDR in
order to clear UDRE, otherwise a new interrupt will occur once the interrupt routine
terminates.
UDRE is set (one) during reset to indicate that the transmitter is ready.
Bit
$0C ($2C)
Read/Write
Initial value
Bit
$0B ($2B)
Read/Write
Initial value
MSB
RXC
R/W
R
7
0
7
0
R/W
TXC
R/W
6
0
6
0
UDRE
R/W
R
5
0
5
1
R/W
FE
R
4
0
4
0
R/W
OR
R
3
0
3
0
R/W
R
2
0
2
0
R/W
R
1
0
1
0
AT90S2313
LSB
R/W
R
0
0
0
0
UDR
USR
45

Related parts for AT90S2313-4SI