at75c220 ATMEL Corporation, at75c220 Datasheet - Page 78

no-image

at75c220

Manufacturer Part Number
at75c220
Description
Smart Internet Appliance Processor Siap
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at75c220-C256
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at75c220-Q208
Manufacturer:
Atmel
Quantity:
10 000
Time-out
This function allows an idle condition on the RXD line to be
detected. The maximum delay for which the USART should
wait for a new character to arrive while the RXD line is inac-
tive (high level) is programmed in US_RTOR. When this
register is set to 0, no time-out is detected. Otherwise, the
receiver waits for a first character and then initializes a
counter which is decremented at each bit period and
reloaded at each byte reception. When the counter reaches
Figure 19. Synchronous Mode: Character Transmission
Transmitter
The transmitter has the same behavior in both synchro-
nous and asynchronous operating modes. Start bit, data
bits, parity bit and stop bits are serially shifted, lowest sig-
nificant bit first, on the falling edge of the serial clock. See
the example in Figure 20.
The number of data bits is selected in the CHRL field in
US_MR.
The parity bit is set according to the PAR field in US_MR.
The number of stop bits is selected in the NBSTOP field in
US_MR.
When a character is written to US_THR, it is transferred to
the Shift Register as soon as it is empty. When the transfer
occurs, the TXRDY bit in US_CSR is set until a new char-
acter is written to US_THR. If the Transmit Shift Register
and US_THR are both empty, the TXEMPTY bit in
US_CSR is set.
Time-guard
The time-guard function allows the transmitter to insert an
idle state on the TXD line between two characters. The
duration of the idle state is programmed in US_TTGR.
78
Example: 8-bit, parity enabled 1 stop
Sampling
RXD
SCK
AT75C220
True Start Detection
D0
D1
D2
D3
0, the TIMEOUT bit in US_CSR is set. The user can restart
the wait for a first character with the STTTO (Start Time-
out) bit in US_CR.
Calculation of time-out duration:
When this register is set to zero, no time-guard is gener-
ated. Otherwise, the transmitter holds a high level on TXD
after each transmitted byte during the number of bit periods
programmed in US_TTGR.
Multi-drop Mode
When the field PAR in US_MR equals 11X (binary value),
the USART is configured to run in multi-drop mode. In this
case, the parity error bit PARE in US_CSR is set when data
is detected with a parity bit set to identify an address byte.
PARE is cleared with the Reset Status Bits Command
(RSTSTA) in US_CR. If the parity bit is detected low, identi-
fying a data byte, PARE is not set.
The transmitter sends an address byte (parity bit set) when
a Send Address Command (SENDA) is written to US_CR.
In this case, the next byte written to US_THR will be trans-
mitted as an address. After this, any byte transmitted will
have the parity bit cleared.
between two characters
D4
Idle state duration
D5
Duration
D6
D7
=
Value 4
Parity Bit
=
×
Time-guard
Stop Bit
×
value
Bit Period
x
period
Bit

Related parts for at75c220