MT8952B Data Sheet
7
Zarlink Semiconductor Inc.
Internal Timing Mode
The Internal Timing Mode is intended for an easy interface to various products using ST-BUS architecture,
particularly Zarlink’s Digital Network Interface Circuit (DNIC - MT8972). The data/packets are shifted in/out serially
in ST-BUS format using the
timing signals F0i and C2i/C4i. In addition to framing the data, the Protocol Controller
reserves one channel (channel-1) on the ST-BUS for carrying control information (C-channel) and this timeslot can
not be used for the packetized data. While the Protocol Controller is in the Internal Timing Mode, the clock input CKi
can be either at the bit rate or at 2×bit rate depending on the BRCK bit in the Timing Control Register as shown in
Table 2.
Table 2 - Output Bit Rate In Internal Timing Mode
The Protocol Controller uses the ST-BUS timing signals F0i
and C2i/C4i, and enables the transmitter and receiver
sections in the appropriate timeslots as determined by TC0-TC3 bits in the Timing Control Register.
The TxCEN
and RxCEN inputs are ignored in this mode.
C-Channel Interface
This is a separate control channel (C-channel) interface relevant only in the Internal Timing Mode. The data stored
in the C-Channel Control Register is shifted out during the channel-1 timeslot of the outgoing ST-BUS (CDSTo) and
the C1EN bit in the Timing Control Register enables the transmission. The transmission of C-Channel is
independent of packet/data transmission. The data received on channel-1 of the incoming ST-BUS (CDSTi) is
shifted into the C-Channel Status Register independently and it is updated continuously.
Both the C-channel registers are accessible by the accompanying CPU through the parallel port.
External Timing Mode
In the External Timing Mode, the transmit and receive sections are enabled independently by TxCEN
and RxCEN
control inputs and the formatted data packets are shifted in/out serially at a rate equal to the clock frequency on
CKi. The output is transmitted on the rising edge and the receiver samples the input on the falling edge of the clock.
The TxCEN
and RxCEN controls are independent and asynchronous and have effect only after the current bit in the
packet is transmitted/received.
Although the protocol controller provides the packetized data on a limited number of channels on the ST-BUS while
operating in the Internal Timing Mode, it can packetize the data on any or all the channels of the ST-BUS if it is
operated in the External Timing Mode with appropriate enable signals on TxCEN
and RxCEN.
Transparent Data Transfer
By setting the IFTF bits in the Control Register appropriately, the protocol functions can be disabled. This provides
a bidirectional access to the serial port through the microprocessor interface, with 19 byte deep FIFO in each
direction. The transparent data transfer facility functions in bytewide format and is available in both timing modes
except when the timing control bits are set for one bit/frame during the Internal Timing Mode.
The transmit data is shifted out serially on CDSTo and the operation being bytewide, only the least significant bits of
each byte loaded are transmitted, if the timing control bits are set to select 2, 6 or 7 bits/frame. When the transmit
FIFO is empty, the last byte or the portion the last byte, written to the FIFO is transmitted repeatedly. Similarly the
serial data on CDSTi is shifted in and converted to bytewide format. In case the timeslot selected is 2, 6 or 7
bits/frame, the reception involves only the most significant bits of each byte.
BRCK Bit CKi Input
Output Data
Rate
04.096 MHz/C4i
2.048 Mbps
1 2.048 MHz/C2i 2.048 Mbps
MT8952B Data Sheet
8
Zarlink Semiconductor Inc.
It should be noted that none of the protocol related status or interrupt bits are applicable in transparent data transfer
state. However, the FIFO related status and interrupt bits are pertinent and carry the same meaning as they do
while performing the protocol functions.
Watchdog Timer
This is a fixed eleven stage binary counter with F0i as the input and WD as the output from the last stage. This
counter can be reset either by the external input (RST
) or by writing XXX0 1010 to the Watchdog Timer Register.
The WD
output is normally HIGH and if the Watchdog Timer Register is not written within 2
10
cycles of F0i input
after it is reset, the WD
output will go LOW for a period of 2
10
cycles of F0i. Even though the F0i input is not
required for formatting data in the External Timing Mode, it is necessary for the operation of the watchdog timer.
Order of Bit Transmission/Reception
The Least Significant Bit (LSB) corresponding to D0 on the data bus is transmitted first on the serial output
(CDSTo). On the receiving side, the first bit received on the serial input (CDSTi) is considered as the LSB and
placed on D0 of the data bus.
Registers
There are several registers in the HDLC Protocol Controller accessible to the associated micro-processor via the
data bus. The addresses of these registers are given in Table 1 and their functional details are given below.
FIFO Status Register (Read)
This register (Figure 4) indicates the status of transmit and receive FIFOs and the received byte as described
below.
Figure 4 - FIFO Status Register
Rx Byte Status: These two bits (D7 and D6) indicate the status of the received byte ready to be read from the
receive FIFO. The status is encoded as shown in Table 3.
Table 3 - Received Byte Status
Rx FIFO Status: These bits (D5 and D4) indicate the status of receive FIFO as given by Table 4. The Rx FIFO
status bits are not updated immediately after an access of the Rx FIFO (a read from the microprocessor port, or a
write from the serial port), to avoid the existence of unrecoverable error conditions.
When in external timing mode, the MT8952B must receive two falling edges of the clock signal at the CKi input
before the Rx FIFO status bits will be updated. When in internal 2.048 MHz timing mode, the MT8952B must
receive two falling edges of the C2i clock before the Rx FIFO status bits will be updated. When in internal
D7 D6 D5 D4 D3 D2 D1 D0
Rx Byte
Status
Rx FIFO
Status
Tx FIFO
Status
LOW LOW
Rx Byte
Status Bits
Status
D7 D6
0 0 Packet Byte
0 1 First Byte
1 0 Last Byte (Good FCS)
1 1 Last Byte (Bad FCS)
MT8952B Data Sheet
9
Zarlink Semiconductor Inc.
4.096 MHz timing mode, the MT8952B must receive four falling edges of the C4i clock before the Rx FIFO
status bit will be updated (see the section on Receive Operation - Normal Packets).
Table 4 - Receive FIFO Status
Tx FIFO Status: These two bits (D3 and D2) indicate the status of transmit FIFO as shown in Table 5.
Table 5 - Transmit FIFO Status
The Tx FIFO status bits are updated in the same manner as the Rx FIFO bits, except that in external timing mode,
and in internal 2.048 Mbps timing mode, the Tx FIFO status bits are updated after two falling edges of the CKi or the
C2i signal (see the section on Transmit Operation - Normal Packets).
Receive Data Register (Read)
Reading the Receive Data Register (Figure 5) puts the first byte from the receive FIFO on the data bus. The first bit
of the data received on the serial input (CDSTi) is considered to be the LSB and is available on D0 of the data bus.
Figure 5 - Receive Data Register
Transmit Data Register (Write)
Writing to Transmit Data Register (Figure 6) puts the data present on the data bus into the transmit FIFO. The LSB
(D0) is transmitted first.
Figure 6 - Transmit Data Register
Rx FIFO
Status Bits
Status
D5 D4
0 0 Rx FIFO Empty
0 1 Less than or equal to 14 bytes
1 0 Rx FIFO Full
1 1 Greater than or equal to 15 bytes
Tx FIFO
Status Bits
Status
D3 D2
0 0 Tx FIFO Full
0 1 Greater than or equal to 5 bytes
1 0 Tx FIFO Empty
1 1 Less than or equal to 4 bytes
D7 D6 D5 D4 D3 D2 D1 D0
RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0
D7 D6 D5 D4 D3 D2 D1 D0
TD7 TD6 TD5 TD4 TD3 TD2 TD1 TD0

MT8952BS1

Mfr. #:
Manufacturer:
Microchip / Microsemi
Description:
Telecom Interface ICs Pb Free HDLC PROTOCOL CONTROLLER
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet