mk68901 STMicroelectronics, mk68901 Datasheet - Page 14
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
mk68901
Manufacturer Part Number
mk68901
Description
Multi.function Peripheral
Manufacturer
STMicroelectronics
Datasheet
1.MK68901.pdf
(33 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mk68901-04
Manufacturer:
ST
Quantity:
5 510
Company:
Part Number:
mk68901-04
Manufacturer:
PHILIPS
Quantity:
5 510
Company:
Part Number:
mk68901N-04
Manufacturer:
RENESAS
Quantity:
5 561
Part Number:
mk68901N-04
Manufacturer:
ST
Quantity:
20 000
Part Number:
mk68901N-05
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
mk68901Q-04
Manufacturer:
ST
Quantity:
5 510
Part Number:
mk68901Q-04
Manufacturer:
ST
Quantity:
20 000
MK68901
Figure 17 : USART Control Register (UCR).
WL0-WL1 :Word Length Control. These two bits set
ST0-ST1 : Start/stop bit control (format control).
PARITY : Parity Enabled. When set (”1”), parity will
14/33
WL1 W L0
ST1 ST0
16/ 1 : When this bit is zero, data will be clocked
†1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
1
into and out of the receiver and transmit-
ter at the frequency of their respective
clocks. When this bit is loaded with a one,
data will be clocked into and out of the re-
ceiver and transmitter at one sixteenth
the frequency of their respective clocks.
Additionally, when placed in the divide by
sixteen mode, the receiver data transition
resynchronization logic will be enabled.
the length of the data word (exclusive of
start bits, stop bits, and parity bits as fol-
lows:
These two bits set the format as follows
:
be checked by the receiver, parity will be
calculated, and a parity bit will be inserted
by the transmitter. When cleared (”0”) no
parity check will be made and no parity bit
will be inserted for transmission.
Start Bits
0
1
1
1
Word Length
StopBits
8 Bits
7 Bits
6 Bits
5 Bits
1
0
1
2
1
/
2
ASYNC
ASYNC
ASYNC
Format
SYNC
E/O :
Note that the synchronous or asynchronous format
may be selected independently of a 1 or 16 clock.
Thus it is possible to clock data synchronously into
the device but still use start and stop bits. In this
mode, all normal asynchronous format features still
apply. Data will be shifted in after a start bit is en-
countered, and a stop bit will be checked to deter-
mine proper framing. If a transmit underrun condi-
tion occurs, the output will be placed in a marking
state, etc. It is conversely possible to clock data in
asynchronously using a synchronous format. There
is data transition detection logic built into the receive
clock circuitry which will re-synchronize the internal
shift clock on each data transition so that, with suf-
ficienty frequent data transitions, start bits are not re-
quired. In this mode, all other common synchronous
features function normally. This re-synchronization
logic is only active in
RECEIVER
The receiver section of the USART is configured by
the UCR as previously described. The status of the
receiver can be determined by reading and writing
to the Receiver Status Register (RSR). The RSR is
configured as follows :
For a word length of 8 the MFP calculates
the parity and appends it when transmit-
ting a sync character. For shorter
lengths, the parity must be stored in the
Sync Character Register (SCR) along
with the sync character.
Even-Odd. When set (”1”), even parity
will be used if parity is enabled. When
cleared (”0”), odd parity will be used if pa-
rity is enabled.
16 clock mode.
V000363