mk68901 STMicroelectronics, mk68901 Datasheet - Page 17

no-image

mk68901

Manufacturer Part Number
mk68901
Description
Multi.function Peripheral
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MK68901
Manufacturer:
ST
0
Part Number:
mk68901-04
Manufacturer:
ST
Quantity:
5 510
Part Number:
mk68901-04
Manufacturer:
PHILIPS
Quantity:
5 510
Part Number:
mk689010-04
Manufacturer:
ST
0
Part Number:
mk68901N-04
Manufacturer:
RENESAS
Quantity:
5 561
Part Number:
mk68901N-04
Manufacturer:
ST
Quantity:
1 000
Part Number:
mk68901N-04
Manufacturer:
ST
0
Part Number:
mk68901N-04
Manufacturer:
ST
Quantity:
20 000
Part Number:
mk68901N-05
Manufacturer:
ST
0
Part Number:
mk68901N-05
Manufacturer:
ST
Quantity:
20 000
Part Number:
mk68901N04
Manufacturer:
TI
Quantity:
74
Part Number:
mk68901Q-04
Manufacturer:
ST
Quantity:
5 510
Part Number:
mk68901Q-04
Manufacturer:
ST
Quantity:
20 000
TRANSMITTER
The transmitter section of the USART is configured
as to format, word length, etc. by the UCR, as pre-
viously described. The status of the transmitter can
be determined by reading or writing the Transmitter
Status Register (TSR). The TRS is configured as fol-
lows :
BE :
UE :
AT :
END :
Buffer Empty. This status bit is set when
the word in the transmit buffer is transfer-
red to the output shift register and thus
the transmit buffer may be reloaded with
the next data word. The flag is cleared
when the transmit buffer is reloaded. The
transmit buffer is loaded by writing to the
UDR.
This bit is set when the last word has
been shifted out of the transmit shift re-
gister before a new word has been loa-
ded into the transmit buffer. It is not ne-
cessary to clear this bit before loading the
UDR.
This bit may be cleared by either reading
the TSR or by disabling the transmitter.
After the setting of the UE bit, one full
transmitter clock cycle is required before
this bit can be cleared by a read. The ti-
ming in some systems may allow a read
of the TSR before the required clock cy-
cle has been completed. This would re-
sult in the UE bit not being cleared until
the following read. To avoid this problem,
a dummy read of the TSR should be per-
formed at the end of he UE service rou-
tine.
Only one underrun error may be genera-
ted between loads of the UDR regardless
of the number of transmitter clock cycles
between UDR loads.
This bit causes the receiver to be enabled
at the end of the transmission of the last
word in the transmitter if the transmitter
has been disabled.
End or Transmission. When the transmit-
ter is turned off with a character still in the
output shift register, transmission will
continue until that character is shifted
out. Once it has cleared the output regis-
ter, the END bit will be set. If no character
B :
H,L :
is being transmitted when the transmitter
is disabled, the transmitter will stop at the
next rising edge of the internal shift clock,
and END will immediately be set. The
END bit is cleared by re-enabling the
transmitter.
Break. This control bit will cause a break
to be transmitted. When a ”1” is written to
the B bit of the TSR, a break will be trans-
mitted upon completion of the character
(if any) currently being transmitted. A
break will continue to be transmitted until
the B bit is cleared by writing a ”0” tot his
bit of the TSR. At that time, normal trans-
mission will resume. The B bit has no
function in the synchronous format. Set-
ting the ”B” bit to a one keeps the ”BE” bit
from being set to a one. So, if there were
a word in the buffer at the start of break,
it would remain there until the end of
break, at which time it would be transmit-
ted (if the transmitter is still enabled). If
the buffer were not full at the start of
break, it could be written at any time du-
ring the break. If the buffer is empty at the
end of break, the underrun flag will be set
(unless the transmitter is disabled).
The BREAK bit cannot be set until the
transmitter has been enabled and the
transmitter has had sufficient time (one
clock cycle) to perform the internal reset
and initialization functions.
High and Low. These two control bits are
used to configure the transmitter output,
when the transmitter is disabled, as fol-
lows :
H L Output State
0 0 Hi-Z
0 1 Low (”0”)
1 0 High
1 1 Loop-Connects transmitter output to
receiver input, and TC to Receiver Clock
(RC and SI are not used ; they are bypas-
sed internally). In loop back mode, trans-
mitter output goes high when disabled.
Altering these two bits after Transmitter
MK68901
17/33

Related parts for mk68901