MT8952B Data Sheet
10
Zarlink Semiconductor Inc.
Control Register (Read/Write)
The Control Register (Figure 7) is used for general purpose control of the HDLC Protocol Controller. The bits
contained in this register and their functions are described below.
Figure 7 - Control Register
TxEN -Transmit Enable: When set HIGH, this bit enables the transmitter and when LOW, disables it setting the
serial output (CDSTo) to high impedance state. If the transmitter is disabled during the transmission of a packet
using this bit, the Protocol Controller will wait until the completion of the packet and closing flag is transmitted or the
packet is aborted before setting the output (CDSTo) to high impedance state. Thus TxEN bit controls the
transmission packet by packet unlike TxCEN
input (pin 1) which controls it bit-by-bit. However, if the Protocol
Controller is in transparent data transfer state, the transmission will be stopped within two bit periods (maximum)
and set the output to high impedance state.
RxEN - Receive Enable: This bit enables the receiver when set HIGH and disables it when LOW. If this bit goes
LOW during the reception of the packet, the receiver can only be disabled after the current packet and its closing
flag are received or an abort is detected. Thus RxEN bit controls the receiver section packet by packet unlike
RxCEN
input (pin 2) which controls it bit-by-bit. However, if the Protocol Controller is in transparent data transfer
state, the receiver will be disabled immediately.
RxAD - Receive Address Detect: This bit when set HIGH, enables the address detection for the received packets.
This causes the receiver to recognize only those packets having a unique address as programmed in the Receive
Address Register or if the address byte is the All-Call address (all ONEs). The address comparison is done only on
seven bits (compatible to the first byte of the address field defined in LAPD-CCITT) and an All-Call is defined as all
ONEs in upper seven bits of the received address field. If RxAD is LOW, the address detection is disabled and
every valid packet is recognized.
RA6/7 - Receive Address Six/Seven bits: This bit, when set HIGH, limits the address detection only to the upper
six bits of the received address byte (last 6 bits of received address field) and when LOW, allows the address
comparison on seven bits. An "all call", in this case is defined as all ONEs in the upper six bits only. RA6/7 is
ignored if the address detection is disabled (RxAD=0).
IFTF0 and IFTF1 - Interframe Time Fill: Setting these bits according to the table below (Table 6) causes the
transmitter to be in one of the active or idle states or allows the Protocol Controller to be in the transparent data
transfer state.
Table 6 - Interframe Time Fill Bits
D7 D6 D5 D4 D3 D2 D1 D0
TxEN RxEN RxAD RA6/7 IFTF1 IFTF0 FA EOP
IFTF Bits
Result
IFTF1 IFTF0
0 0 Idle State (All ONEs)
0 1 Interframe Time Fill state
(Continuous Flags)
1 0 Transparent Data Transfer
1 1 Go Ahead state (Continuous
7F
HEX
)
MT8952B Data Sheet
11
Zarlink Semiconductor Inc.
FA - Frame Abort: When set HIGH, this bit’tags’ the next byte written to the transmit FIFO and causes an abort
sequence (eight ONEs) to be transmitted when it reaches the bottom of the FIFO. The abort sequence will be
transmitted instead of the byte that was tagged. The FA bit is cleared to ZERO upon writing the data to the transmit
FIFO. As a result, a ‘read’ of this register bit will not reflect the last data written to it.
EOP - End Of Packet: Writing a ONE to this bit ‘tags’ the next byte written to the transmit FIFO to indicate that it is
the last data byte of the packet. This bit is cleared to ZERO upon writing the data to the transmit FIFO. As a result,
a read of this register bit will not indicate the last data written to it.
Receive Address Register (Read/Write)
Figure 8 - Receive Address Register
The data in this register (Figure 8) defines the unique address for the HDLC Protocol Controller. If address
recognition is enabled using the RxAD and RA6/7 bits in the Control Register, an incoming packet is recognized
only if its address byte (seven or six most significant bits) matches the corresponding bits in this register or if the
address is an "all-call". The LSB of the Receiver Address Register is set LOW permanently and the address
comparison is done only on remaining bits of the register.
C-Channel Control Register (Read/Write)
Figure 9 - C-Channel Control Register
The data written to this register (Figure 9) is transmitted on channel-1 slot of the outgoing ST-BUS (CDSTo), when
enabled by C1EN bit in the Timing Control Register. This feature can only be used when the HDLC Protocol
Controller is in the Internal Timing Mode.
Timing Control Register (Read/Write)
The Timing Control Register (Figure 10) controls the timing mode and other related operations and provides a
software reset to the Protocol Controller. The various bits in this register are described below:
Figure 10 - Timing Control Register
RST - Reset: When this bit is set HIGH, all the registers in the HDLC Protocol Controller are reset and the data in
the FIFOs is lost. This is equivalent to the external reset with the exception that the RST bit does not affect itself or
the Watchdog Timer Register and WD
output. The RST bit must be “cleared” (written as a logic “0”) twice before the
MT8952B will be removed from its reset state (see section on RESET operation).
IC - Internal Control: When this bit is cleared to ZERO, the Protocol Controller is in the External Timing Mode.
The transmit and receive sections are enabled by the inputs TxCEN
and RxCEN respectively, and F0i is used only
for the watchdog timer operation. When this bit is a ONE, the Protocol Controller is in the Internal Timing Mode. The
transmit and receive sections are enabled by the internally generated timings derived from the inputs CKi and F0i
.
The F0i
input defines the beginning of a frame (Figure 24) and the transmitter and receiver sections are enabled in
the timeslots as determined by the bits TCO-TC3. The inputs TxCEN
and RxCEN are ignored in this mode.
D7 D6 D5 D4 D3 D2 D1 D0
RA7 RA6 RA5 RA4 RA3 RA2 RA1 RA0
D7 D6 D5 D4 D3 D2 D1 D0
CT7 CT6 CT5 CT4 CT3 CT2 CT1 CT0
D7 D6 D5 D4 D3 D2 D1 D0
RST IC C1EN BRCK TC3 TC2 TC1 TC0
MT8952B Data Sheet
12
Zarlink Semiconductor Inc.
C1EN - Channel-1 Enable: When HIGH, it enables the transmission of C-channel information on channel-1 time-
slot of the outgoing ST-BUS (CDSTo) and when LOW, puts CDSTo into high impedance state during that period.
However, the C-channel information is received independently and the C-channel Status Register is updated
continuously. Note that C1EN has relevance only during the Internal Timing Mode.
BRCK- Bit Rate Clock: This bit is used during the Internal Timing Mode to select the clock rate and ignored if the
Protocol Controller is in the External Timing Mode. It should be set HIGH if the input clock (CKi) is at the bit rate
(C2i) and should be LOW for the clock input at 2 x bit rate (C4i
). In both cases, the clock should be properly
phase related to F0i
as shown in Figure 25.
TC0-TC3 - Timing Control Bits: In the Internal Timing Mode the transmitter and the receiver sections are enabled
during the times defined by the Timing Control Bits TC0-TC3 (Table 7). This applies only to the ST-BUS channels 0,
2, 3 and 4 carrying the packets or transparent data (channel-1 pertains to C-channel information). The output
CDSTo is put during the remaining time intervals not enabled by these bits.
X : Don’t Care
Table 7 - Timing Control Bits
Interrupt Flag Register (Read)
Reading the Interrupt Flag Register puts the interrupt status bits on the data bus. This register is reset when it is
read and a particular bit will not be set until its particular condition occurs again. The functional details of each bit
are provided in Figure 11.
Figure 11 - Interrupt Flag Register
GA - Go Ahead: This bit when set HIGH, indicates the detection of ‘go ahead’ sequence on the incoming data
stream (CDSTi).
EOPD - End of Packet Detect: A HIGH on this bit confirms the reception of an ‘end of packet’ flag, an abort
sequence or an invalid packet of 24 or more bits on the incoming data stream (CDSTi).
Tx DONE - Transmitter Done: This bit, when HIGH, indicates that the packet transmission is complete and the
Transmit FIFO is empty. The falling edge of TEOP output causes this interrupt status bit to be set HIGH if the FIFO
is empty.
FA - Frame Abort: This bit is set HIGH to indicate that a frame abort has been detected on the incoming data
stream.
Timing Control Bits ST-BUS
Channel
Number
Bits
/Frame
TC3 TC2 TC1 TC0
X000 0 1
X001 0 2
0010 0 6
1010 0 7
X011 2 8
X100 3 8
X101 4 8
X 1 1 0 2 and 3 16
X 1 1 1 2, 3 and 4 24
D7 D6 D5 D4 D3 D2 D1 D0
GA EOPD Tx
DONE
FA Tx
4/19
FULL
Tx
URUN
Rx
15/19
FULL
Rx
OFLW

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