AT90S4433-8PC Atmel, AT90S4433-8PC Datasheet - Page 55
![IC MCU 4K FLSH 8MHZ A/D 28DIP](/photos/7/21/72189/453-28-dip_sml.jpg)
AT90S4433-8PC
Manufacturer Part Number
AT90S4433-8PC
Description
IC MCU 4K FLSH 8MHZ A/D 28DIP
Manufacturer
Atmel
Series
AVR® 90Sr
Datasheet
1.AT90S4433-8AC.pdf
(126 pages)
Specifications of AT90S4433-8PC
Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
20
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 6x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S4433-8PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
AT90S/LS4433
The Receiver front-end logic samples the signal on the RXD pin at a frequency 16 times
the baud rate. While the line is idle, one single sample of logical “0” will be interpreted as
the falling edge of a start bit, and the start bit detection sequence is initiated. Let sample
1 denote the first zero-sample. Following the 1-to-0 transition, the Receiver samples the
RXD pin at samples 8, 9, and 10. If two or more of these three samples are found to be
logical “1”s, the start bit is rejected as a noise spike and the receiver starts looking for
the next 1-to-0 transition.
If, however, a valid start bit is detected, sampling of the data bits following the start bit is
performed. These bits are also sampled at samples 8, 9, and 10. The logical value found
in at least two of the three samples is taken as the bit value. All bits are shifted into the
transmitter Shift Register as they are sampled. Sampling of an incoming character is
shown in Figure 42.
Figure 42. Sampling Received Data
When the stop bit enters the receiver, the majority of the three samples must be one to
accept the stop bit. If two or more samples are logical “0”s, the Framing Error (FE) Flag
in the UART Control and Status Register A (UCSRA) is set. Before reading the UDR
Register, the user should always check the FE bit to detect Framing Errors.
Whether or not a valid stop bit is detected at the end of a character reception cycle, the
data is transferred to UDR and the RXC Flag in UCSRA is set. UDR is, in fact, two phys-
ically separate registers: one for Transmitted Data and one for Received Data. When
UDR is read, the Receive Data Register is accessed, and when UDR is written, the
Transmit Data Register is accessed. If 9-bit data word is selected (the CHR9 bit in the
UART Control and Status Register B, UCSRB is set), the RXB8 bit in UCSRB is loaded
with bit nine in the Transmit Shift Register when data is transferred to UDR.
If, after having received a character, the UDR Register has not been read since the last
receive, the OverRun (OR) Flag in UCSRB is set. This means that the last data byte
shifted into the Shift Register could not be transferred to UDR and has been lost. The
OR bit is buffered and is updated when the valid data byte in UDR is read. Thus, the
user should always check the OR bit after reading the UDR Register in order to detect
any overruns if the baud rate is high or CPU load is high.
When the RXEN bit in the UCSRB Register is cleared (zero), the receiver is disabled.
This means that the PD0 pin can be used as a general I/O pin. When RXEN is set, the
UART receiver will be connected to PD0, which is forced to be an input pin regardless of
the setting of the DDD0 bit in DDRD. When PD0 is forced to input by the UART, the
PORTD0 bit can still be used to control the pull-up resistor on the pin.
When the CHR9 bit in the UCSRB Register is set, transmitted and received characters
are nine bits long, plus start and stop bits. The ninth data bit to be transmitted is the
TXB8 bit in UCSRB Register. This bit must be set to the wanted value before a trans-
mission is initiated by writing to the UDR Register. The ninth data bit received is the
RXB8 bit in the UCSRB Register.
55
1042H–AVR–04/03