mk50h27 STMicroelectronics, mk50h27 Datasheet - Page 9
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
mk50h27
Manufacturer Part Number
mk50h27
Description
Signalling System 7 Link Controller
Manufacturer
STMicroelectronics
Datasheet
1.MK50H27.pdf
(56 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mk50h27N
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
mk50h27Q-10
Manufacturer:
ST
Quantity:
12 388
Company:
Part Number:
mk50h27Q-25
Manufacturer:
ST
Quantity:
12 388
Company:
Part Number:
mk50h27Q33B
Manufacturer:
NIC
Quantity:
2 028
Company:
Part Number:
mk50h27Q33B
Manufacturer:
STMicroelectronics
Quantity:
10 000
3.1 Functional Blocks
Refer to the block diagram in Figure 2.
The MK50H27 is primarily initialized and control-
led through six 16-bit Control and Status Regis-
ters (CSR0 thru CSR5). The CSR’s are accessed
through two bus addressable ports, the Register
Address Port (RAP), and the Register Data Port
(RDP). The MK50H27 may also generate an in-
terrupt(s) to the Host. These interrupts are en-
abled and disabled through CSR0.
The on-chip microcontroller is used to control the
movement of parallel receive and transmit data,
and to handle the Address field filtering.
3.1.1 Microcontroller
The microcontroller controls all of the other blocks
of the MK50H27. The microcontroller performs
frame processing and protocol processing. All
primitive processing and generation is also done
here. The microcode ROM contains the control
program of the microcontroller.
3.1.2 Receiver
Serial receive data comes into the Receiver (Fig-
ure 2). The Receiver is responsible for:
1. Leading and trailing flag detection.
2. Deletion of zeroes inserted for transparency.
3. Detection of idle and abort sequences.
4. Detection of good & bad CK (ChecK bit seq.)
5. Monitoring Receiver FIFO status.
6. Detection of Receiver Over-Run.
7. Odd byte detection.
8. Detection of non-octet aligned frames. Such
frames are treated as invalid.
3.1.3 Transmitter
The Transmitter is responsible for:
1. Serialization of outgoing data.
2. Generating and appending the CK (CRC).
3. Framing outgoing frame with flags.
4. Zero bit insertion for transparency.
5. Transmitter Under-Run detection.
6. Transmission of odd byte.
7. RTS/CTS control.
NOTE: If frames are received that have an odd
number of bytes then the last byte of the
frame is said to be an odd byte.
3.1.4 Check Bit Sequence or Cyclic
Redundancy Check
The CK (CRC) on the transmitter or receiver may
be either 16 bit or 32 bit, and is user selectable.
For full duplex operation, both the receiver and
transmitter have individual CK computation cir-
cuits. The characteristics of the CK are:
Transmitted Polarity: Inverted
Transmitted Order: High Order Bit First
Pre-set Value: All 1’s
Polynomial 16 bit:
Remainder 16 bit (if received correctly):
Polynomial 32 bit:
Remainder 32 bit (if received correctly):
3.1.5 Receive FIFO
The Receive FIFO buffers the data received by
the receiver. This performs two major functions.
First, it resynchronizes the data from the receive
clock to the system clock. Second, it allows the
microcontroller time to finish whatever it may be
doing before it has to process the received data.
The receive FIFO holds the data from the receiver
without interrupting the microcontroller for service
until it contains enough data to reach the water-
mark level, or an end of frame is received. This
watermark level can be programmed in CSR4
(FWM) to occur when the FIFO contains at least
18 or more bytes; 34 or more bytes; or 50 or
more bytes. This programmability , along with the
programmable burst length of the DMA controller,
enables the user to define how often and for how
long the MK50H27 must use the host bus. For
more information, see CSR4.
For example, if the watermark level is set at 34
bytes and the burst length is limited to 8 word
transfers at a time, the MK50H27 will request
control of the host bus as soon as 34 bytes are
received and again after every 16 subsequent
bytes.
3.1.6 Transmit FIFO
The Transmit FIFO buffers the data to be trans-
mitted by the MK50H27. This also performs two
major functions. First, it resynchronizes the data
from the system clock to the transmit clock. Sec-
ond, it allows the microcontroller and DMA con-
troller to burst read data from the host’s memory
buffers; making both the MK50H27 and the host
bus more efficient.
X
High order bit-->0001 1101 0000 1111
high order bit--> 1100 0111 0000 0100
16
X
32
+ X
X
8
+ X
+ X
12
26
+ X
7
+ X
+ X
5
+ 1
23
5
1101 1101 0111 1011
+ X
+ X
4
22
+ X
+ X
2
+ X + 1
16
+ X
12
+ X
MK50H27
11
+ X
9/56
10
+