Digital Telephone With HDLC (Hphone-Ii) : Features
Digital Telephone With HDLC (Hphone-Ii) : Features
Digital Telephone With HDLC (Hphone-Ii) : Features
Data Sheet
S1 S12 BP WD PWRST IC
VSS SPKR
PWRST
VSSA
VBias
MIC+
MIC-
VRef
M+
NC
M-
IC
6
5
4
3
2
1
44
43
42
41
40
DSTi 7 39 SPKR+
DSTo 8 38 SPKR-
C4i 9 37 HSPKR+
F0i 10 36 HSPKR-
VSSD 11 35 VDD
IRQ 12 34 BP
SCLK 13 33 S12
DATA 2 14 32 S11
DATA 1 15 31 S10
CS 16 30 S9
WD 17
18 29 S8
19
20
22
23
24
25
26
27
28
21
IC
NC
NC
S1
S2
S3
S4
S5
S6
S7
VSSD
44 PIN PLCC
Pin Description
2
Zarlink Semiconductor Inc.
MT9092 Data Sheet
13 SCLK Serial Port Synchronous Clock (Input). Data clock for MCS-51 compatible microport. TTL
level compatible.
14 DATA 2 Serial Data Transmit. In an alternate mode of operation, this pin is used for data transmit
from MT9092. In the default mode, serial data transmit and receive are performed on the
DATA 1 pin and DATA 2 is tri-stated.
15 DATA 1 Bidirectional Serial Data. Port for microprocessor serial data transfer compatible with MCS-
51 standard (default mode). In an alternate mode of operation , this pin becomes the data
receive pin only and data transmit is performed on the DATA 2 pin. Input level TTL compatible.
16 CS Chip Select (Input). This input signal is used to select the device for microport data
transfers. Active low. (TTL level compatible.)
17 WD Watchdog (Output). Watchdog timer output. Active high.
18 IC Internal Connection. Tie externally to VSS for normal operation.
19, NC No Connection. No internal connection to these pins.
20
21 VSSD Digital Ground. Nominally 0 volts.
22- S1-S12 Segment Drivers (Output). 12 independently controlled, two level, LCD segment drivers. An
33 in-phase signal, with respect to the BP pin, produces a non-energized LCD segment. An out-
of-phase signal, with respect to the BP pin, energizes its respective LCD segment.
34 BP Backplane Drive (Output). A two-level output voltage for biasing an LCD backplane.
35 VDD Positive Power Supply (Input). Nominally 5 volts.
36 HSPKR- Inverting Handset Speaker (Output). Output to the handset speaker (balanced).
37 HSPKR Non-Inverting Handset Speaker (Output). Output to the handset speaker (balanced).
+
38 SPKR- Inverting Speaker (Output). Output to the speakerphone speaker (balanced).
39 SPKR+ Non-Inverting Speaker (Output). Output to the speakerphone speaker (balanced).
40 VSS Power Supply Rail for Analog Output Drivers. Nominally 0 Volts.
SPKR
41 MIC- Inverting Handsfree Microphone (Input). Handsfree microphone amplifier inverting input
pin.
42 MIC+ Non-inverting Handsfree Microphone (Input). Handsfree microphone amplifier non-
inverting input pin.
43 VSSA Analog Ground. Nominally 0 V.
44 M- Inverting Microphone (Input). Inverting input to microphone amplifier from the handset
microphone.
NOTES:
Intel and MCS-51 are registered trademarks of Intel Corporation, Santa Clara, CA, USA.
3
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Overview
The functional block diagram of Figure 1 depicts the main operations performed within the HPhone-II. Each of
these functional blocks will be described in the sections to follow. This overview will describe some of the end-user
features which may be implemented as a direct result of the level of integration found within the HPhone-II.
The main feature required of a digital telephone is to convert the digital Pulse Code Modulated (PCM) information,
being received by the telephone set, into an analog electrical signal. This signal is then applied to an appropriate
audio transducer such that the information is finally converted into intelligible acoustic energy. The same is true of
the reverse direction where acoustic energy is converted first into an electrical analog and then digitized (into PCM)
before being transmitted from the set. Along the way if the signals can be manipulated, either in the analog or the
digital domains, other features such as gain control, signal generation and filtering may be added. More complex
processing of the digital signal is also possible and is limited only be the processing power available. One example
of this processing power may be the inclusion of a complex handsfree switching algorithm. Finally, most electro-
acoustic transducers (loudspeakers) require a large amount of power to develop an effective acoustic signal. The
inclusion of audio amplifiers to provide this power is required.
The HPhone-II features Digital Signal Processing (DSP) of the voice encoded PCM, complete Analog/Digital and
Digital/Analog conversion of audio signals (Filter/CODEC) and an analog interface to the external world of electro-
acoustic devices (Transducer Interface). These three functional blocks combine to provide a standard full-duplex
telephone conversation utilizing a common handset. Selecting transducers for handsfree operation, as well as
allowing the DSP to perform its handsfree switching algorithm, is all that is required to convert the full-duplex
handset conversation into a half-duplex speakerphone conversation. In each of these modes, full programmability
of the receive path and side-tone gains is available to set comfortable listening levels for the user as well as
transmit path gain control for setting nominal transmit levels into the network.
The HPhone-II’s HDLC block is easy to use in proprietary signalling protocols such as those within PABXs and Key
Systems. A fully interrupt driven interface, buffered by 19 byte FIFOs in each direction, simplifies the
microcontroller's asynchronous access to the D-Channel information.
The ability to generate tones locally provides the designer with a familiar method of feedback to the telephone user
as they proceed to set-up, and ultimately, dismantle a telephone conversation. Also, as the network slowly evolves
from the dial pulse/DTMF methods to the D-Channel protocols it is essential that the older methods be available for
backward compatibility. As an example; once a call has been established, say from your office to your home, using
the D-Channel signalling protocol it may be necessary to use in-band DTMF signalling to manipulate your personal
answering machine in order to retrieve messages. Thus the locally generated tones must be of network quality and
not just a reasonable facsimile. The HPhone-II DSP can generate the required tone pairs as well as single tones to
accommodate any in-band signalling requirement.
Each of the programmable parameters within the functional blocks is accessed through a serial microcontroller port
compatible with Intel MCS-51 specifications.
Functional Description
In this section, each functional block within the HPhone-II is described along with all of the associated
control/status bits. Each time a control/ status bit(s) is described it is followed by the address register where it will be
found. The reader is referred to the section titled ‘Register Summary' for a complete listing of all address map
registers, the control/status bits associated with each register and a definition of the function of each control/status
bit. The Register Summary is useful for future reference of control/status bits without the need to locate them within
the text of the functional descriptions.
Filter-CODEC
The Filter/CODEC block implements conversion of the analog 3.3kHz speech signals to/from the digital domain
compatible with 64 kb/s PCM B-Channels. Selection of companding curves and digital code assignment are
register programmable. These are CCITT G.711 A-law or µ-Law, with true-sign/ Alternate Digit Inversion or true-
4
Zarlink Semiconductor Inc.
MT9092 Data Sheet
sign/Inverted Magnitude coding, respectively. Optionally, sign- magnitude coding may also be selected for
proprietary applications.
The Filter/CODEC block also implements transmit and receive audio path gains in the analog domain. These gains
are in addition to the digital gain pad provided in the DSP section and provide an overall path gain resolution of
0.5dB. A programmable gain, voice side-tone path is also included to provide proportional transmit speech
feedback to the handset receiver so that a dead sounding handset is not encountered. Figure 3 depicts the nominal
half-channel and side-tone gains for the HPhone-II.
On PWRST (pin 6) the Filter/CODEC defaults such that the side-tone path, dial tone filter and 400 Hz transmit filter
are off, all programmable gains are set to 0 dB and µ-Law companding is selected. Further, the Filter/CODEC is
powered down due to the PuFC bit (Transducer Control Register, address 0Eh) being reset. This bit must be set
high to enable the Filter/CODEC.
The internal architecture is fully differential to provide the best possible noise rejection as well as to allow a wide
dynamic range from a single 5 volt supply design. This fully differential architecture is continued into the Transducer
Interface section to provide full chip realization of these capabilites.
A reference voltage (VRef), for the conversion requirements of the CODER section, and a bias voltage (VBias), for
biasing the internal analog sections, are both generated on-chip. VBias is also brought to an external pin so that it
may be used for biasing any external gain plan setting amplifiers. A 0.1 µF capacitor must be connected from VBias
to analog ground at all times. Likewise, although VRef may only be used internally, a 0.1 µF capacitor from the VRef
pin to ground is required at all times. It is suggested that the analog ground reference point for these two capacitors
be physically the same point.
To facilitate this the VRef and VBias pins are situated on adjacent pins.
The transmit filter is designed to meet CCITT G.714 specifications. The nominal gain for this filter path is 0 dB (gain
control = 0 dB). An anti-aliasing filter is included. This is a second order lowpass implementation with a corner
frequency at 25 kHz. Attenuation is better than 32 dB at 256 kHz and less than 0.01 dB within the passband.
An optional 400 Hz high-pass function may be included into the transmit path by enabling the Tfhp bit in the
Transducer Control Register (address 0Eh). This option allows the reduction of transmitted background noise such
as motor and fan noise.
The receive filter is designed to meet CCITT G.714 specifications. The nominal gain for this filter path is 0 dB (gain
control = 0 dB). Filter response is peaked to compensate for the sinx/x attenuation caused by the 8 kHz sampling
rate.
The Rx filter function can be altered by enabling the DIAL EN control bit in the Transducer Control Register
(address 0Eh). This causes another lowpass function to be added, with a 3 dB point at 1000 Hz. This function is
intended to improve the sound quality of digitally generated dial tone received as PCM.
Transmit sidetone is derived from the Tx filter and is subject to the gain control of the Tx filter section. Sidetone is
summed into the receive path after the Rx filter gain control section so that Rx gain adjustment will not affect
sidetone levels. The side-tone path may be enabled/disabled with the SIDE EN bit located in the Transducer
Control Register (address 0Eh). See also STG0-STG2 (address 0Bh).
Transmit and receive filter gains are controlled by the TxFG0-TxFG2 and RxFG0-RxFG2 control bits respectively.
These are located in the FCODEC Gain Control Register 1 (address 0Ah). Transmit filter gain is adjustable from
0 dB to +7 dB and receive filter gain from 0 dB to -7 dB, both in 1 dB increments.
Side-tone filter gain is controlled by the STG0-STG2 control bits located in the FCODEC Gain Control Register 2
(address 0Bh). Side-tone gain is adjustable from -9.96 dB to +9.96 dB in 3.32 dB increments.
Law selection for the Filter/CODEC is provided by the A/µ companding control bit while the coding scheme is
controlled by the sign-mag/CCITT bit. Both of these reside in the General Control Register (address 0Fh).
5
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Receiver 75
Receive
-6 dB Driver HSPKR–
Receive
PCM –72 to
Filter Gain
+22.5 dB 75
0 to –7 dB
(1.5dB
steps) (1 dB steps)
Speaker SPKR+
Phone
Driver SPKR–
Side-tone 0.2dB*
–9.96 to
+9.96dB
(3.32 dB steps) Speakerphone
Speaker Gain Speaker
DTMF, 0 to –24 dB Tone (40Ω nominal)
Tone (8 dB steps) Ringer (32Ω min)
(input
Ringer & from DSP)
Handsfree Side-tone
Nominal
Gain
µ-Law –11 dB
Α-Law –18.8 dB
The main functional control of the DSP is through two hardware registers which are accessible at any time via the
microport. These are the Receive Gain Control Register at address 1Dh and the DSP Control Register at address
1Eh. In addition, other functional control is accomplished via multiple RAM-based registers which are accessible
only while the DSP is held in a reset state. This is accomplished with the DRESET bit of the DSP Control Register.
Ram-based registers are used to store transmit gain levels (20h for transmit PCM and 21h for transmit DTMF
6
Zarlink Semiconductor Inc.
MT9092 Data Sheet
levels), the coefficients for tone and ringer generation (addresses 23h and 24h), and tone ringer warble rates
(address 26h). All undefined addresses below 20h are reserved for the temporary storage of interim variables
calculated during the execution of the DSP algorithms. These undefined addresses should not be written to via the
microprocessor port. The DSP can be programmed to execute the following micro-programs which are stored in
instruction ROM, (see PS0 to PS2, DSP Control Register, address 1Eh). All program execution begins at the frame
pulse boundary.
PS2 PS1 PS0 Micro-program
0 0 0 Power up reset program
0 0 1 Transmit and receive gain control program; with autonulling of the transmit PCM, if the
AUTO bit is set (see address 1Dh)
0 1 0 DTMF generation plus transmit and receive gain control program (autonull available via the
AUTO control bit)
0 1 1 Tone ringer plus transmit and receive gain control program (autonull available via the AUTO
control bit)
PS2 PS1 PS0 Micro-program
1 0 0 handsfree switching program
1 0 1
1 1 0 Last three selections reserved
1 1 1
Note: For the DSP to function it must be selected to operate, in conjunction with the Filter/Codec, in one of the B-
Channels. Therefore, one of the B-Channel enable bits must be set (see Timing Control, address 15h : bits
CH2EN and CH3EN).
7
Zarlink Semiconductor Inc.
MT9092 Data Sheet
A single frequency tone may be generated instead of a dual tone by programming the coefficient at address 23h to
a value of zero. In this case the frequency of the single output tone is governed by the coefficient stored at address
24h.
Table 1 gives the standard DTMF frequencies, the coefficient required to generate the closest frequency, the actual
frequency generated and the percent deviation of the generated tone from the nominal.
8
Zarlink Semiconductor Inc.
MT9092 Data Sheet
The ringer program switches between these two frequencies at a rate defined by the 8-bit coefficient programmed
into the Tone Ringer Warble Rate Register (address 26h). The warble rate is defined by the equation:
Handsfree Program
A half-duplex speakerphone program, fully contained on chip, provides high quality gain switching of the transmit
and receive speech PCM to maintain loop stability under most network and local acoustic environments. Gain
switching is performed in continuous 1.5 dB increments and operates in a complimentary fashion. That is, with the
transmit path at maximum gain the receive path is fully attenuated and vice versa. This implies that there is a mid
position where both transmit and receive paths are attenuated equally during transition. This is known as the idle
state.
Of the 64 possible attenuator states, the algorithm may rest in only one of three stable states; full receive, full
transmit and idle. The maximum gain values for full transmit and full receive are programmable through the
microport at addresses 20h and 1Dh respectively, as is done for normal handset operation. This allows the user to
set the maximum volumes to which the algorithm will adhere. The algorithm determines which path should maintain
control of the loop based upon the relative levels of the transmit and receive audio signals after the detection and
removal of background noise energy. If the algorithm determines that neither the transmit or the receive path has
valid speech energy then the idle state will be sought. The present state of the algorithm plus the result of the Tx vs.
Rx decision will determine which transition the algorithm will take toward its next stable state. The time durations
required to move from one stable state to the next are parameters defined in CCITT Recommendation P.34 and are
used by default by this algorithm (i.e., build-up time, hang-over time and switching time).
Quiet Code
The DSP can be made to send quiet code to the decoder and receive filter path by setting the RxMUTE bit high.
Likewise, the DSP will send quiet code in the transmit (DSTo) path when the TxMUTE bit is high. Both of these
9
Zarlink Semiconductor Inc.
MT9092 Data Sheet
control bits reside in the DSP Control Register at address 1Eh. When either of these bits are low, their respective
paths function normally.
HDLC
The High-level Data Link Control (HDLC) block is located, functionally, between the serial ST-BUS port and the
serial Microcontroller port. This functional block handles the bit oriented protocol requirements of layer 2 X.25
packet switching and Q.921 link access protocols defined by CCITT. The HDLC is dedicated to D-Channel
operation at 16 kb/s and offers buffered access to the serial D-Channel data through separate 19 byte transmit and
receive FIFOs.
The HDLC generates and detects the flags, various link channel states and abort sequences as well as performing
a cyclic redundancy check on data packets according to the CCITT defined polynomial. Lastly, the protocol
functions may be disabled to provide transparent access, of the serial port D-Channel, to the microport.
A power up reset (PWRST, pin 6) or a software reset via RST (address 0Fh) will cause the HDLC transceiver to be
initialized. This results in the transmitter and receiver being disabled and all HDLC registers defaulting to their
power reset values.
All HDLC frames start and end with a unique sequence of 8 bits. This sequence is 0111 1110 (7Eh). The closing flag
of one frame can be the opening flag of the next frame. The transmitter generates flags and appends them to the
packet to be transmitted. The receiver searches the incoming data stream for flags on a bit-by-bit basis to establish
frame synchronization. The receiver uses flags for synchronization only and does not transfer them to the Rx FIFO.
Address Field
The address field consists of one or two 8-bit bytes directly following the opening flag. Address, Control and
Information fields are known collectively as the Data field.
Control Field
The control field consists of one 8-bit byte directly following the address field. The HDLC does not distinguish
between the control field and the information field.
Information Field
The information field immediately follows the control field and consists of N bytes of data where one byte contains 8
bits. A packet does not need to contain an information field to be valid. The HDLC does not distinguish between the
control field and the information field.
10
Zarlink Semiconductor Inc.
MT9092 Data Sheet
The 16 bits preceding a closing flag are the FCS field. A cyclic redundancy check utilizing the CRC-CCITT standard
generator polynomial X16 + X12 +X5 +1 produces the 16-bit FCS. In the transmitter the FCS is calculated on all bits
of the address, control and information fields. The complement of the FCS is transmitted, most significant bit first, in
the FCS field. The receiver calculates the FCS on the incoming packet's address, control, information and FCS
fields and compares the result to 'F0B8'. This result verifies no transmission errors occurred. If the packet, between
flags, is also at least 32 bits in length then the address, control and information field data are entered into the
receive FIFO minus the FCS which is discarded.
Address, control and information field data are entered into the transmit FIFO. This data is then transmitted and
received on the serial bus least significant bit first. The FCS is sent most significant bit first on the serial bus. Note
that it is the complement of the calculated FCS which is transmitted. The HDLC does not distinguish
ADDRESS/CONTROL/INFORMATION bytes except to determine if the packet is of minimum valid length. These
fields are transferred transparently through the FIFO's.
Transparency ensures that the contents of a data packet do not imitate a flag, go-ahead, frame abort or idle
channel. The contents of a transmitted frame, between the flags, is examined on a bit-by-bit basis and a 0 bit is
inserted after all sequences of five contiguous 1 bits (including the last five bits of the FCS). Upon receiving five
contiguous 1s within a frame the receiver deletes the following 0 bit.
Invalid Frames
A frame is invalid if one of the following four conditions exists. Inserted zeros are not part of a valid bit count:
1. If the FCS pattern generated from the received data does not match the 'F0B8' pattern then the last data
byte of the packet is written to the receive FIFO with a 'bad packet' indication.
2. A short frame exists if there are less than 25 bits between the flags. Short frames are ignored by the
receiver and nothing is written into the receive FIFO.
3. Packets which are at least 25 bits in length but less than 32 bits (between the flags) are also invalid. In this
case the data is written to the FIFO but the last byte is tagged with a 'bad packet' indication.
4. If a frame abort sequence is detected the packet is invalid. Some or all of the current packet will reside in the
receive FIFO, assuming the packet length before the abort sequence was at least 26 bits long.
Frame Abort
The transmitter will abort a current packet by substituting a zero followed by seven contiguous 1s in place of the
normal data. The receiver will abort upon reception of seven contiguous 1s occurring between the flags of a packet
which contains at least 26 bits.
Note that should the last receive byte before the frame abort end with contiguous 1s, these are included in the
seven 1s required for a receiver abort. This means that the location of the abort sequence in the receiver may occur
before the location of the abort sequence in the originally transmitted packet. If this happens, then the last data
written to the receive FIFO will not correspond exactly with the last byte received before the frame abort.
Interframe Time Fill: This is a continuous series of flags occurring between frames indicating that the channel
is active but that no data is being sent.
Idle: An idle channel occurs when at least fifteen contiguous 1s are transmitted or received.
In both cases the transmitter will exit the wait state when data is loaded into the transmit FIFO.
11
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Go-Ahead
A go-ahead is defined as the pattern ‘011111110’ (contiguous 7F’s) and is the occurrence of a frame abort sequence
followed by a zero, outside of the boundaries of a normal packet. Being able to distinguish a proper (in packet)
frame abort sequence from one occurring outside of a packet allows a higher level of signalling protocol which is not
part of the HDLC specifications.
Transmitter
Following initialization and enabling, via the HTxEN bit (address 03h), the transmitter is in the Idle Channel State
(Mark Idle). Interframe time fill may be selected by setting the Mark Idle bit (address 03h) high. The transmitter
remains in its programmed state until data is written to the Tx FIFO. The transmitter will then proceed as follows:
1) If the transmitter is in the idle state the present byte of ones will be completely transmitted before the
opening flag and packet data is sent.
2) If the transmitter is in the interframe time fill state the flag currently being transmitted will be used as the
opening flag followed by the packet data.
To assist in loading multiple packets into the transmit FIFO the last packet byte is tagged with either EOP (to
indicate the end of the current packet) or FA. Control Register 1 (address 03h) bits EOP (end of packet) and FA
(frame abort) are set before writing the last packet byte to the Tx FIFO. The act of loading the last packet byte will
then automatically reset the EOP and FA bits. Tx FIFO bytes are continuously transmitted until the FIFO is empty,
by which time an EOP or FA tag should have been encountered by the transmitter.
After the last bit of the EOP byte has been transmitted a 16 bit FCS is sent followed by a closing flag. When multiple
packets of data are loaded into the Tx FIFO only one flag is sent between packets.
When the transmitter encounters a byte tagged FA then a frame abort sequence is sent instead of the tagged byte.
All bytes previous to but not including the tagged byte are sent.
The transmitter returns to its programmed wait state after concluding the transmission of EOP or FA if the Tx FIFO
is empty.
The transmit FIFO is 19 bytes deep (address 02h). As data is loaded into (from the microport) and extracted from
(via the serial port) the Tx FIFO the present 'fill state' can be monitored using the Txstat1 and Txstat2 bits found in
the HDLC Status Register (address 04h). These states are encoded as shown in Table 2. Note that the FIFO
emptying threshold, where an interrupt (TxFL if unmasked) will occur, can be set to a low level 4 (default) or to a
high level 14 by the Fltx bit in the HDLC Control Register 2 (address 05h).
A Tx FIFO underrun occurs if the Tx FIFO empties without the occurrence of an EOP or FA tagged byte. A frame
abort sequence is automatically transmitted under this condition.
Transmit Interrupts
The HDLC Interrupt Enable Register (address 06h) is used to select (unmask) only those interrupts which are
deemed important to the microprocessor. After a PWRST or software RST all enable bits will be cleared causing all
interrupts to be masked.
All selected interrupt events will cause the IRQ pin to become active. Unselected interrupt events will not cause IRQ
to become active however, the event will still be represented by the appropriate bit in the HDLC Interrupt Status
Register (address 07h). This register must be read after receiving an IRQ or may be polled at any time. The IRQ
output pin is reset coincident with the first SCLK falling edge following a Command/Address byte which indicates a
microport read of address 07h. Since all interrupts are generated by the occurrence of an HDLC event (i.e., a
transition), this register informs that an event has occurred but does not guarantee that it is still valid. To determine
current validity the HDLC Status Register (address 04h) should be read. Due to the asynchronous nature of the
interrupts an interrupt occurring during a read of the Interrupt Status register will be held until the read cycle is over,
unless it is an interrupt which is already valid.
12
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Disabling the transmitter via the HTxEn bit will occur after the current packet is completely transmitted. The status
and Interrupt registers may still be read and the Tx FIFO and control registers written while the transmitter is
disabled.
The Tx FIFO may be reset by setting the Txfrst bit in the HDLC Control Register 2 (address 05h). The HDLC Status
Register will identify the Tx FIFO as being empty although the actual data in the FIFO will not be reset. Txfrst will be
cleared by the next write to the Tx FIFO.
Transparent data may be sent by setting the TRANS bit (address 03h) high. The transmitter will no longer generate
the flag, abort and idle sequences, nor will it insert zeros and append the FCS. Data will still be transmitted LSB
first. If there is no data in the Tx FIFO or the Tx FIFO empties the last byte transmitted will be repetitively sent until
new data is presented to the FIFO. It will take typically two ST-BUS frames, after writing TRANS, before this mode
begins. Note that CH0EN must also be set.
Transmission of the FCS field CRC may be inhibited using the Tcrci (Transmit Crc Inhibit) bit at address 05h. While
this bit is set the opening flag followed by the data fields and closing flag is transmitted, including zero insertion, but
the calculated CRC is not. This allows the processor to insert the CRC as part of the data field. This usage is for
V.120 terminal adaptation for synchronous protocol sensitive UI frames.
Receiver
Following initialization and enabling, via the HRxEN bit at address 03h, the receiver begins clocking in serial data
checking for flags (0111 1110), go-aheads (0111 1111 0), and idle channel states (at least fifteen contiguous ones).
Upon detecting a flag the receiver synchronizes itself to the data stream and begins calculating the CRC. If the
packet length, between the flags and after zero deletion, is less than 25 bits the packet is ignored and nothing is
written to the Rx FIFO. If the packet length, after zero deletion, is between 25 and 31 bits a last byte, bad packet
indication is written into the Rx FIFO.
Idle Channel
When the receiver detects at least 15 contiguous ones it declares an idle channel condition exists and sets the
IdleChan bit in the HDLC status register high (address 04h). This bit remains set until the received condition
changes.
13
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Address Recognition
When Adrec (HDLC Control Register 1, address 03h) is low all valid received packets, regardless of the address
field information, are loaded into the Rx FIFO.
If address recognition is required, Receive Address Recognition Registers 1 and/or 2 (addresses 00h and 01h
respectively) are loaded with the desired address comparison information, the Adrec bit is set high and A1EN and
A2EN are set as required. Bit 0 (A1EN and A2EN) of both recognition registers is used as an enable for that byte.
When either of these bits are low their respective address mask information is ignored. In this way either or both of
the first two received bytes can be compared to the expected mask values. Only those packets passing the
appropriate comparison test will be loaded into the Rx FIFO. The appropriate comparison test (single/dual byte
address, All-call) is defined by the logic state of bit 0 of the first byte received after the opening flag.
Bit 0 of the first received address byte (address extension bit) is monitored to determine if a single or dual byte
address is being received.
1. If the address extension bit is 1 then a single byte address is being received. If A1EN is high the stored bit
mask (Adr11 - Adr16 and sometimes Adr10) is compared to the received first address byte. Any packet
failing this address comparison will not be stored in the Rx FIFO except for the All-call condition. A1EN
must be set high for a single-byte All-call (11111111) address to be recognized. The second mask byte is
ignored. Seven bits of address comparison may be realized for single byte recognition by setting the
SEVEN bit (address 05h) high. This mode will then include Adr10 as part of the mask information. The first
received byte must also have bit 0 set to a 1 indicating single byte addressing.
2. If the address extension bit is 0 then a two byte address is being received and the six most significant bits
of the first received byte are compared. The seven most significant bits of the second received byte are
compared (Adr20 - Adr26, note A2EN must be set high also). Any packet failing this address comparison
will not be stored in the Rx FIFO. An All-call condition (1111111x) is also monitored for in the second
received address byte and, if found, the first and second byte masks are ignored (not compared with the
mask byte). Packets addressed with All-call are written into the Rx FIFO.
In CCITT Q.921 parlance the Adr11 - Adr16 bits are defined as Sapi0 - Sapi5 (Service Access Point Identifier n).
Adr10 is defined as C/R (Command/ Response). Adr20 - Adr26 are defined as Tei0 - Tei6 (Terminal Endpoint
Identifier n).
As each received packet byte is written into the Rx FIFO two bits are appended to indicate the status of that byte.
As these bytes are read from the Rx FIFO the status bits are made available to the microprocessor in the HDLC
Status Register (address 04h) as RxBS1 and RxBS2. Since the information contained in RxBS1 & RxBS2 pertains
to the byte about to be read from the Rx FIFO, it is important that this information be read before reading the data
byte from the FIFO. RxBS1 and RxBS2 are encoded as shown in Table 2. A good packet indication means a good
FCS and no frame abort whereas a bad packet indication means either an incorrect FCS or a frame abort occurred.
The receive FIFO is 19 bytes deep (address 02h). As data is loaded into (from the serial port) and extracted from
(via the microport) the Rx FIFO the present 'fill state' can be monitored using the Rxstat1 and Rxstat2 bits found in
the HDLC Status Register (address 04h). These states are encoded as shown in Table 2. Note that the FIFO filling
threshold, where an interrupt (RxFf if unmasked) will occur, can be set to a high level 15 (default) or to a low level 5
by the Flrx bit in the HDLC Control Register 2 (address 05h).
In the case of an Rx FIFO overflow, an attempt by the receiver to write data into an already full FIFO, the receiver is
disabled causing it to stop writing to the Rx FIFO. The remainder of the current receive packet is therefore ignored.
The receiver will be re-enabled when the next flag is detected but will overflow again if the Rx FIFO level has not
been reduced to less than full. If two 'first byte' (RxBS1 and RxBS2) conditions are observed in the FIFO without an
intervening 'last byte' then an overflow occurred for the first packet.
14
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Receive Interrupts
The HDLC Interrupt Enable Register (address 06h) is used to select (unmask) only those interrupts which are
deemed important to the microprocessor. After a PWRST or software RST all enable bits will be cleared causing all
interrupts to be masked.
All selected interrupt events will cause the IRQ pin to become active. Unselected interrupt events will not cause IRQ
to become active however, the event will still be represented by the appropriate bit in the HDLC Interrupt Status
Register (address 07h). This register must be read after receiving an IRQ or may be polled at any time. The IRQ
output pin is reset coincident with the first SCLK falling edge following a Command/Address byte which indicates a
microport read of address 07h. Since all interrupts are generated by the occurrence of an HDLC event (i.e., a
transition), this register informs that an event has occurred but does not guarantee that it is still valid. To determine
current validity the HDLC Status Register (address 04h) should be read. Due to the asynchronous nature of the
interrupts an interrupt occurring during a read of the Interrupt Status register will be held until the read cycle is over,
unless it is an interrupt which is already valid.
There are six interrupts associated with the receiver.
GA Go Ahead:
Set when a go-ahead pattern (011111110) has been detected by the receiver.
FA Frame Abort:
Set when a frame abort sequence is received during packet reception. The aborted packet must
contain a minimum of 26 bits for the FA sequence to be recognized. Note that this register bit
position is shared with the transmitter under-run (Txunder) interrupt (see transmit interrupts). For
this bit to reflect FA the Intsel bit in Control Register 2 (address 05h) must be set low.
Disabling of the receiver via the HRxEn bit will occur after the current packet is completely loaded into the Rx FIFO.
Disabling can occur during packet reception if no bytes have been written to the Rx FIFO yet. The Rx FIFO, status
and Interrupt registers may still be read and control registers written while the receiver is disabled. Note that the
receiver requires the reception of a flag before processing a packet, thus if the receiver is enabled in the middle of
an incoming packet it will ignore that packet and wait for the next complete one.
15
Zarlink Semiconductor Inc.
MT9092 Data Sheet
The Rx FIFO may be reset by setting the Rxfrst bit in the HDLC Control Register 2 (address 05h). The receiver will
be disabled until reception of the next flag. The Status Register will identify the Rx FIFO as being empty although
the actual data in the FIFO will not be reset. Rxfrst will be cleared by the reception of the next received flag pattern.
Data may be received transparently by setting the TRANS bit (address 03h) high. Timing control bit CH0EN must
also be set. The receiver will disable protocol functions such as flag/abort/go-ahead/idle detection, zero deletion,
CRC calculation and address comparison. Data is shifted into the Rx FIFO in a byte-wide format. In transparent
mode when an Rx FIFO overflow condition occurs the receiver will continue to write data into the Rx FIFO,
overwriting the last byte. The overflow interrupt condition can only be detected again if the Rx FIFO is reset (Rxfrst
bit at address 05h) since normally the overflow condition is cleared by the reception of the next flag and transparent
data is unlikely to emulate a flag. Also, the Rxfrst bit itself will have to be reset by writing it low since it is usually
reset automatically by the occurrence of the next flag.
Txstat2,
Txstat1 These two bits are encoded to indicate the present state of Tx FIFO. This is an asynchronous
event.
Txstat2 Txstat1 Tx FIFO Status
0 0 TxFULL
0 1 5 OR MORE BYTES (15 if Fltx set)
1 1 4 OR LESS BYTES (14 if Fltx set)
1 0 TxEMPTY
Rxstat2,
Rxstat1 These two bits are encoded to indicate the present state of Rx FIFO. This is an asynchronous
event.
Rxstat2 Rxstat1 Rx FIFO Status
0 0 RxEMPTY
0 1 14 OR LESS BYTES (4 if Flrx set)
1 1 15 OR MORE BYTES (5 if Flrx set)
1 0 RxOVERFLOW EXISTS
Transducer Interfaces
Four standard telephony transducer interfaces are provided by the HPhone-II. These are:
• The handset microphone inputs (transmitter), pins M+/M- and the speakerphone microphone inputs, pins
MIC+/MIC-. The transmit path is muted/not-muted by the MIC EN control bit. Selection of which input pair is
to be routed to the transmit filter amplifier is acomplished by the MIC/HNSTMIC control bit. Both of these
reside in the Transducer Control Register (address 0Eh). The nominal transmit path gain may be adjusted to
either 6.1 dB (suggested for µ-Law) or 15.4 dB (suggested for A-Law). Control of this gain is provided by the
MICA/u control bit (General Control Register, address 0Fh). This gain adjustment is in addition to the
programmable gain provided by the transmit filter and DSP.
16
Zarlink Semiconductor Inc.
MT9092 Data Sheet
• The handset speaker outputs (receiver), pins HSPKR+/HSPKR-. This internally compensated, fully
differential output driver is capable of driving the load shown in Figure 5. This output is enabled/disabled by
the HSSPKR EN bit residing in the Transducer Control Register (address 0Eh). The nominal handset receive
path gain may be adjusted to either -12.3 dB (suggested for µ-Law) or -9.7 dB (suggested for A-Law).
Control of this gain is provided by the RxA/u control bit (General Control Register, address 0Fh). This gain
adjustment is in addition to the programmable gain provided by the receive filter and DSP.
• The loudspeaker outputs, pins SPKR+/SPKR-. This internally compensated, fully differential output driver is
capable of directlydriving 6.5 vpp into a 40 ohm load. This output is enabled/disabled by the SPKR EN bit
residing in the Transducer Control Register (address 0Eh). The nominal gain for this amplifier is 0.2 dB.
C-Channel
Access to the internal control and status registers of Zarlink basic rate, layer 1, transceivers is through the ST-BUS
Control Channel (C-Channel), since direct microport access is not usually provided, except in the case of the SNIC
(MT8930). The HPhone-II provides asynchronous microport access to the ST-BUS C-Channel information on both
DSTo and DSTi via a double-buffered read/write register (address 14h). Data written to this address is transmitted
on the C-Channel every frame when enabled by CH1EN (see ST-BUS/Timing Control).
HSPKR+
75 Ω
1000 pF
150 ohm
MT9092 load
(speaker)
75 Ω
1000 pF
HSPKR- ground
LCD
A twelve segment, non-multiplexed, LCD display controller is provided for easy implementation of various set status
and call progress indicators. The twelve output pins (Sn) are used in conjunction with 12 segment control bits,
located in LCD Segment Enable Registers 1&2 (addresses 12h and 13h), and the BackPlane output pin (BP) to
control the on/off state of each segment individually.
The BP pin drives a continuous 62.5 Hz, 50% duty cycle squarewave output signal. An individual segment is
controlled via the phase relationship of its segment driver output pin with respect to the backplane, or common,
driver output. Each of the twelve Segment Enable bits corresponds to a segment output pin. The waveform at each
segment pin is in-phase with the BP waveform when its control bit is set to logic zero (segment off) and is out-of-
phase with the BP waveform when its control bit is set to a logic high (segment on). Refer to the LCD Driver
Characteristics for pin loading information.
Microport
A serial microport, compatible with Intel MCS-51 (mode 0) specifications, provides access to all HPhone-II internal
read and write registers. This microport consists of three pins; a half-duplex transmit/receive data pin (DATA1), a
chip select pin (CS) and a synchronous data clock pin (SCLK).
17
Zarlink Semiconductor Inc.
MT9092 Data Sheet
On power-up reset (PWRST) or with a software reset (RST), the DATA1 pin becomes a bidirectional
(transmit/receive) serial port while the DATA2 pin is internally disconnected and tri-stated.
All data transfers through the microport are two-byte transfers requiring the transmission of a Command/Address
byte followed by the data byte written or read from the addressed register. CS must remain asserted for the
duration of this two-byte transfer. As shown in Figure 6, the falling edge of CS indicates to the HPhone-II that a
microport transfer is about to begin. The first 8 clock cycles of SCLK after the falling edge of CS are always used to
receive the Command/Address byte from the microcontroller. The Command/Address byte contains information
detailing whether the second byte transfer will be a read or a write operation and of what address. The next 8 clock
cycles are used to transfer the data byte between the HPhone-II and the microcontroller. At the end of the two-byte
transfer CS is brought high again to terminate the session. The rising edge of CS will tri-state the output driver of
DATA1 which will remain tri-stated as long as CS is high.
Receive data is sampled and transmit data is made available on DATA1 concurrent with the falling edge of SCLK.
An open-drain interrupt request (IRQ) output provides a method for interrupting the microcontroller when an
unmasked HDLC event occurs within the HPhone-II. IRQ remains active until the HDLC Interrupt Status Register is
read or a (hardware/software) reset occurs. More detail is provided in the section pertaining to the HDLC functional
block.
Lastly, provision is made to seperate the transmit and receive data streams onto two individual pins. This control is
given by the DATASEL pin in the General Control Register (address 0Fh). Setting DATASEL logic high will cause
DATA1 to become the data receive pin and DATA2 to become the data transmit pin. Only the signal paths are
altered by DATASEL; internal timing remains the same in both cases. Tri-stating on DATA2 follows CS as it does on
DATA1 when DATASEL is logic low. Use of the DATASEL bit is intended to help in adapting Motorola (SPI) and
National Semiconductor (Micro-wire) microcontrollers to the HPhone-II. Note that whereas Intel processor serial
ports transmit data LSB first other processor serial ports, including Motorola, transmit data MSB first. It is the
responsibility of the microcontroller to provide LSB first data to the HPhone-II.
ST-BUS/Timing Control
A serial link is required for the transport of data between the HPhone-II and the external digital transmission device.
The HPhone-II utilizes the ST-BUS architecture defined by Zarlink Semiconductor. Refer to Zarlink Application Note
MSAN-126. The HPhone-II ST-BUS consists of output and input serial data streams, DSTo and DSTi respectively,
a synchronous clock signal C4i, and a framing pulse F0i.
18
Zarlink Semiconductor Inc.
MT9092 Data Sheet
DATA 1 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7
Receive
DATA 1 or DATA 2 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7
Transmit
SCLK ➁
CS ➃
➂ ➂
➀ Delays due to MCS-51 internal timing which are transparent.
➁ The HPhone-II: -latches received data on the falling edge of SCLK
-outputs transmit data on the falling edge of SCLK
➂ The falling edge of CS indicates that a COMMAND/ADDRESS byte will be transmitted from the microprocessor. The subsequent
byte is always data followed by CS returning high.
➃ A new COMMAND/ADDRESS byte may be loaded only by CS cycling high then low again.
➄ The COMMAND/ADDRESS byte contains: D7 D0
1 bit - Read/Write
6 bits - Addressing Data 0 A5 A4 A3 A2 A1 A0 R/W
1 bit - Not used, write logic "0"
The data streams operate at 2048 kb/s and are Time Division Multiplexed into 32 identical channels of 64 kb/s
bandwidth. Frame Pulse (a 244 nSec low going pulse) is used to parse the continuous serial data streams into the
32 channel TDM frames. Each frame has a 125 µSecond period translating into an 8 kHz frame rate. Valid frame
pulse occurs when F0i is logic low coincident with a falling edge of C4i. C4i has a frequency (4096 MHz) which is
twice the data rate. This clock is used to sample the data at the 3/4 bit-cell position on DSTi and to make data
available on DSTo at the start of the bit-cell. C4i is also used to clock the HPhone-II internal functions (i.e., DSP,
Filter/CODEC, HDLC) and to provide the channel timing requirements.
The HPhone-II uses only the first 4 channels of the 32 channel frame. These channels are always defined,
beginning with the first channel after frame pulse, as shown in Figure 7 (DSTi and DSTo channel assignments).
Channels are enabled independantly by the four control bits Ch0En -Ch3En residing in the Timing Control Register
(address15h).
Ch0EN - D-Channel
Channel 0 conveys the D-Channel HDLC information. Since this function is dedicated to 16 kb/s
operation, only the first two bits (LSB's) of the octet are required; the remaining six bits of the D-Channel
octet carry no information and are tri-stated. When CH0EN is high, HDLC data is transmitted on DSTo.
When low, DSTo is forced to logic 0 for the two least significant bit positions. Incoming DSTi data is
always routed to the HDLC block regardless of this control bit's logic state.
Ch1EN - C-Channel
Channel 1 conveys the control/status information for Zarlink’s layer 1 transceiver. The full 64 kb/s
bandwidth is available and is assigned according to which transceiver is being used. Consult the data
sheet for the selected transceiver for its bit definitions and order of bit transfer. When this bit is high
register data is transmitted on DSTo. When low, this timeslot is tri-stated on DSTo. Receive C-Channel
data (DSTi) is always routed to the register regardless of this control bit's logic state. C-channel data is
transferred on the ST-BUS MSB first by the HPhone-II.
19
Zarlink Semiconductor Inc.
MT9092 Data Sheet
125 µs
F0i
Programming of the DSP for New Call generator is exactly as is done for the tone ringer micro-program except that
the OPT bit (DSP Control Register, address 1Eh) is set high. In this mode the DSP does not produce a frequency
shifted squarewave output to the filter CODEC section. Instead the DSP uses the contents of the tone coefficient
registers, along with the tone warble rate register, to produce a gated squarewave control signal output which
toggles between the programmed frequencies. This control signal is routed to the New Call Tone block when the
NCT EN control bit is set (General Control Register, address 0Fh). NCT EN also enables a separate gain control
block, for controlling the loudness of the generated ringing signal. With the gain control block set to 0 dB the output
is at maximum or 6 volts p-p. Attenuation of the applied signal, in three steps of 8 dB, provide the four settings for
New Call tone (0, -8, -16, -24 dB). The NCT gain bits (NCTG0-NCTG1) reside in the FCODEC Gain Control
Register 2 (address 0Bh).
20
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Watchdog
To maintain program integrity an on-chip watchdog timer is provided for connection to the microcontroller reset pin.
The watchdog output WD (pin 17) goes high while the HPhone-II is held in reset via the PWRST (pin 6). Release of
PWRST will cause WD to return low immediately and will also start the watchdog timer. The watchdog timer is
clocked on the falling edge of F0i and requires only this input, along with VDD, for operation.
If the watchdog reset word is written to the watchdog register (address 11h) after PWRST is released, but before
the timeout period (T=512 mSec) expires, a reset of the timer results and WD will remain low. Thereafter, if the
reset word is loaded correctly at intervals less than 'T' then WD will continue low. The first break from this routine, in
which the watchdog register is not written to within the correct interval or it is written to with incorrect data, will result
in a high going WD output after the current interval 'T' expires. WD will then toggle at this rate until the watchdog
register is again written to correctly.
W4 W3 W2 W1 W0
X X X 0 1 0 1 0
x=don’t care
Test Loops
Detail LBio and LBoi Loopback Register (address 16h)
LBio Setting this bit causes data on DSTi to be looped back to DSTo directly at the pins. The appropriate
channel enables Ch0EN -Ch3EN must also be set.
LBoi Setting this bit causes data on DSTo to be looped back to DSTi directly at the pins.
21
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Address
(Hex) WRITE READ
22
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Register Summary
This section contains a complete listing of the HPhone-II register addresses, the control/status bit mapping
associated with each register and a definition of the function of each control/status bit. The Register Summary may
be used for future reference to review each of the control/status bit definitions without the need to locate them in the
text of the functional block descriptions.
7 6 5 4 3 2 1 0
Adr 16-11 A six bit mask used to interrogate the first byte of the received address. Adr16 is MSB. In the Q.921 specification these bits are
defined to be Sapi5-0.
Adr 10 This bit is used in address comparison if a seven bit address is being checked for (Control bit Seven of Control Register 2 is set). In the
Q.921 specification this bit is defined to be C/R (Command/Response).
A1EN When this bit is high, this six (or seven) bit mask is used in address comparison of the first address byte. If address recognition is
enabled, any packet failing the address comparison will not be stored in the RX FIFO. A1EN must be high for All-call (1111111)
address recognition for single byte address. When this bit is low, this bit mask is ignored in address comparison.
7 6 5 4 3 2 1 0
Adr 26-20 A seven bit mask used to interrogate the second byte of the received address. Adr26 is MSB. This mask is ignored (as well as first byte
mask) if an All call address (1111111) is received. In the Q.921 specification these bits are defined to be Tei6-0.
A2EN When this bit is high this seven bit mask is used in address comparison of the second address byte. If address recognition is enabled,
any packet failing the address comparison will not be stored in the RX FIFO. A2EN must be high for All-call address recognition.
When this bit is low, this bit mask is ignored in address comparison.
7 6 5 4 3 2 1 0
The Transmitter FIFO is 19 words deep. Each word consists of 8 bits of data from the internal data bus and 2 status bits from CONTROL Register 1
(EOP and FA). If there is data in the Tx FIFO then the lowest data byte in it is loaded into an output shift register for transmission, and the remaining
data shifts down by one word position (Tx FIFO read). A write to a full Tx FIFO will update the top byte only.
The receiver FIFO is 19 words deep. During a receiver write, the last 8 bits of a shift register buffer and two status bits are loaded into Rx FIFO. Data
shifts down into the Rx FIFO following a microprocessor read. A write to a full RX FIFO will not update the FIFO.
23
Zarlink Semiconductor Inc.
MT9092 Data Sheet
24
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Txstat2, These two bits are encoded to indicate the present state of Tx FIFO. This is an asynchronous event.
Txstat1 Txstat2 Txstat1 Tx FIFO Status
0 0 TxFULL
0 1 5 OR MORE BYTES (15 if Fltx set)
1 1 4 OR LESS BYTES (14 if Fltx set)
1 0 TxEMPTY
Rxstat2, These two bits are encoded to indicate the present state of Rx FIFO. This is an asynchronous event.
Rxstat1 Rxstat2 Rxstat1 Rx FIFO Status
0 0 RxEMPTY
0 1 14 OR LESS BYTES (4 if Flrx set)
1 1 15 OR MORE BYTES (5 if Flrx set)
1 0 RxOVERFLOW EXISTS
Note: Bits marked "-" are reserved bits and should be written with logic "0".
25
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
Intsel When high, this bit will cause bit 2 of the Interrupt Register to reflect a Transmit FIFO underrun (Txunder). When low, this interrupt
will reflect a frame abort (FA).
Tcrci When high, this bit will inhibit transmission of the CRC. That is, the transmitter will not insert the computed CRC onto the bit stream
after seeing the EOP tag byte. The microprocessor then has the opportunity to insert the CRC as part of the data field.
Seven When high, this bit will enable seven bits of address recognition in the first address byte. The received address byte must have bit 0
equal to 1 which indicates a single address byte is being received.
Flrx When high, this bit will change the Rx FIFO interrupt and status level from 15 to 5 bytes, thus allowing the microprocessor more time
to react to interrupt conditions.
Fltx When high, this bit will change the Tx FIFO interrupt and status level from 4 to14 bytes, thus allowing the microprocessor more time to
react to interrupt conditions.
Rxfrst When high, the Rx FIFO will be reset. This causes the receiver to be disabled until the next reception of a flag, an occurrence which
resets this bit. The Status Register will identify the FIFO as being empty. However, the actual bit values of data in the Rx FIFO will not
be reset.
Txfrst When high, the Tx FIFO will be reset. The Status Register will identify the FIFO as being empty. This bit will be reset when data is
written to the Tx FIFO. The actual bit values of data in the Tx FIFO will not be reset..
This register is used with the Interrupt Register to mask out the interrupts that are not required by the microprocessor. Interrupts that are masked out
will not produce an IRQ; however, they will set the appropriate bit in the Interrupt Register. An interrupt is disabled when the microprocessor writes
a 0 to a bit in this register. This register is cleared on power reset.
Note: Bits marked "-" are reserved bits and should be written with logic "0".
26
Zarlink Semiconductor Inc.
MT9092 Data Sheet
(default) 0 0 0 0 (default) 0 0 0 0
-1 0 0 1 1 0 0 1
-2 0 1 0 2 0 1 0
-3 0 1 1 3 0 1 1
-4 1 0 0 4 1 0 0
-5 1 0 1 5 1 0 1
-6 1 1 0 6 1 1 0
-7 1 1 1 7 1 1 1
Note: Bits marked "-" are reserved bits and should be written with logic "0".
27
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
Side-tone Gain
Gain (dB) NCTG1 NCTG0 STG2 STG1 STG0
Setting (dB)
Note: Bits marked "-" are reserved bits and should be written with logic "0".
28
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
WATCHDOG RESET WORD - XXX01010
7 6 5 4 3 2 1 0
Twelve segment control bits used for the LCD outputs. When high the respective segment is on. When low the respective segment is off.
7 6 5 4 3 2 1 0
Twelve segment control bits used for the LCD outputs. When high the respective segment is on. When low the respective segment is off.
Note: Bits marked "-" are reserved bits and should be written with logic "0".
29
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
All bits active high:
Ch2EN and Ch3EN
Channels 2 and 3 are the B1 and B2 channels, respectively. PCM associated with the DSP, Filter/CODEC and transducer audio
paths is conveyed in one of these channels as selected in the timing control register.
Transmit B1 and B2 data on DSTo
When high PCM from the Filter/CODEC and DSP is transmitted on DSTo in the associated channel. When low DSTo is
forced to logic 0 for the corresponding timeslot. If both Ch2EN and Ch3EN are enabled, data defaults to channel 2.
Receive B1 and B2 data on DSTi
When enabled PCM from DSTi is routed to the DSP and Filter/CODEC in the associated channel. If both Ch2EN and Ch3EN
are enabled, data input defaults to channel 2.
Ch1EN Channel 1 conveys the control/status information for the layer 1 transceiver. The full 64kb/s bandwidth is available and is assigned
according to which transceiver is being used. Consult the data sheets for the transceiver selected. When high register data is trans-
mitted on DSTo. When low this timeslot is tri-stated on DSTo. Receive C-Channel data (DSTi) is always routed to the register
regardless of this control bit's logic state.
Ch0EN Channel 0 conveys the D-Channel HDLC information. Since this function is dedicated to 16kb/s operation, only the first two bits of
the octet are required; the remaining six bits of the D-Channel octet carry no information and are tri-stated. When high HDLC data
is transmitted on DSTo. When low DSTo is forced to logic 0 for the two least significant bit positions. Incoming DSTi data is
7 6 5 4 3 2 1 0
LBio Active high enables data from the ST-BUS input to be looped back to the ST-BUS output directly at the pins. The DSTo tri-state driver
must also be enabled using one of the channel enable signals.
LBoi Active high enables data from ST-BUS output to be looped back to the ST-BUS input directly at the pins.
Note: Bits marked "-" are reserved bits and should be written with logic "0".
30
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
AUTO When high autonulling of the transmit PCM is enabled. When low, autonulling is disabled. This bit is used in conjunction with the PS2 -
PS0 bits of the DSP Control Register at address 1Eh.
B5-B0 These 6 bits (indicated below in hexadecimal) are decoded to control Rx pcm gain:
Note: Bits marked "-" are reserved bits and should be written with logic "0".
31
Zarlink Semiconductor Inc.
MT9092 Data Sheet
7 6 5 4 3 2 1 0
OPT: When high, the tone ringer is in New Call tone mode. When low the normal tone ringer program is executed.
RxMUTE: This bit when high turns off the receive PCM channel, substituting quiet code.
TxMUTE: This bit when high turns off the transmit PCM channel, substituting quiet code.
DRESET: This bit (when high) enables the DSP. If low, no programs are executed, the master clock is disabled and the program counter is
reset to zero.
PS2-PS0: These bits are program select bits for the DSP Rom programs.
1 0 0 Handsfree program
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Reserved
7 6 5 4 3 2 1 0
This register controls the transmit speech path gain in 1.5dB steps as in Receive Gain Register (address 1Dh).
7 6 5 4 3 2 1 0
This register controls the transmit DTMF level in 1.5dB steps as in Receive Gain Register (address 1Dh).
Note: Bits marked "-" are reserved bits and should be written with logic "0".
32
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Tone Coeff Register 1-DTMF or Tone Ringer ADDRESS = 23h WRITE/READ VERIFY
Power Reset Value
B7 B6 B5 B4 B3 B2 B1 B0 0000 0000
7 6 5 4 3 2 1 0
This register is used to program the low-group frequency of the DTMF program. The tone coefficient is calculated as follows:
COEF = 0.128 x Frequency
where: Frequency is in Hz (note: COEF must be converted to an 8 bit binary integer)
Highest frequency possible: 1992.2 Hz
Lowest frequency possible: 7.8 Hz
Frequency resolution: 7.8 Hz
Pre-twist: -2.1dB ± 0.2dB
This register is used to program the first frequency of the squarewave ringer program. The tone coefficient is calculated as follows:
COEF = 8000 / Frequency
where: Frequency is in Hz (note: COEF must be rounded off and converted to an 8 bit binary integer)
Highest frequency possible: 4000 Hz
Lowest frequency possible: 31.4 Hz
Frequency resolution: non-linear
This tone can be disabled by writing zero to this register for single tone generation.
Tone Coeff Register 2-DTMF or Tone Ringer ADDRESS = 24h WRITE/READ VERIFY
Power Reset Value
B7 B6 B5 B4 B3 B2 B1 B0 0000 0000
7 6 5 4 3 2 1 0
This register is used to program the high-group frequency of the DTMF program. The tone coefficient is calculated as follows:
COEF = 0.128 x Frequency
where: Frequency is in Hz (note: COEF must be converted to an 8 bit binary integer)
Highest frequency possible: 1992.2 Hz
Lowest frequency possible: 7.8 Hz
Frequency resolution: 7.8 Hz
Pre-twist: 0dB
This register is used to program the second frequency of the squarewave program. The tone coefficient is calculated similarly to tone coefficient register 1
7 6 5 4 3 2 1 0
The tone ringer will switch between squarewave frequencies at a warble frequency defined by this register. The relationship between the duration
period of each tone and the 8 bit warble coefficient is as follows:
Tone duration (warble frequency) = 500 / COEF
where: Frequency is in Hz, and 0≤COEF <256
Highest frequency possible: 500 Hz
Lowest frequency possible: 2.0 Hz
Frequency resolution: non-linear
Addresses: 27h to 2Dh are transmit and receive gains and coefficients used by the filters in the handsfree decision cir-
cuit.
2Eh to 3Fh are scratch-pad ram locations used by the DSP algorithms as temporary storage during calcula-
tions.
33
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Applications
To maintain a fully differential topology in the transmit path the suggested connection scheme for the transmit
microphones is shown in Figure 8. However, it is possible to use a single-ended arrangement as shown in Figure 9
for the transmit interface. In this case the dynamic range of the MT9092 is reduced by half. In both figures the
output drivers are connected in a fully differential manner.
The MT9092 is a member of the Zarlink family of digital terminal equipment components. There are two
transmisssion devices which connect directly with the MT9092 to complete an application; the MT8930 (SNIC) and
the MT8971/72 (DSIC/DNIC). An ISDN 4-wire "TE" function is implemented with the MT8930/MT9092 combination.
A 2-wire digital phone for PABX, key-systems and other proprietary applications is implemented with the
MT8971/72/MT9092 combination.
330Ω
+ +5V
+
-
511Ω 10µF
100K 0.1µF
R
2R + Electret
Av = 1+ T VBias Microphone
T
R
100K
0.1µF 330Ω
- 511Ω
+ +5V
+
+
-
511Ω 10µF
100K 0.1µF
R
2R T VBias +
Av = 1+
T Electret
0.1µF R Microphone
0.1µF 100K
0.1µF
+ 511Ω
VBias
+5V -
6 5 4 3 2 1 44 43 42 41 40
+ 40Ω nom.
7 39
DSTi 32Ω min.
ST-BUS
Port 8 38
DSTo
to 9 75Ω
Transmission 37
C4i
Device
10 36
F0i 150Ω
11 35 75Ω
+5V
12 MT9092 34
IRQ
.1µF 1000pF 1000pF
13 33
SCLK
14 32
DATA2
Serial LCD 1000pF caps
15 31
Microport DATA1 are optional
INTEL 16 30
MCS-51 CS
17 29
WD
LCD
34
Zarlink Semiconductor Inc.
MT9092 Data Sheet
330Ω
+ VBias +5V +
– T
10µF
1µF 1K
R
+ Electret
Microphone
330Ω
+ VBias +5V
+
– T
10µF
1µF 1K
R
+
Electret
0.1µF Microphone
0.1µF
VBias
+5V
6 5 4 3 2 1 44 43 42 41 40
+ 40Ω nom.
DSTi 7 39
32Ω min.
ST-BUS 8 38
Port DSTo
75Ω
to 9 37
Transmission C4i
Device 10 36
F0i 150Ω
11 35 +5V 75Ω
IRQ 12
MT9092 34
.1µF 1000pF 1000pF
SCLK 13 33
WD 17 29
Note: Single-ended configurations reduce
dynamic range by a factor of two.
18 19 20 21 22 23 24 25 26 27 28
LCD
35
Zarlink Semiconductor Inc.
MT9092 Data Sheet
LTx
HSPKR+
C4b C4i
HSPKR-
CCITT ISDN
Reference F0b F0i Handset
MT9092 M+
Point S
Interface MT8930 HPhone-∏
5 Volts SNIC DSTo DSTi Digital M-
DC to DC VBias with
Telephone
Converter HDLC MIC+
DSTi DSTo with
Controller MIC- Microphone
HDLC
Controller
AD0-7
SPKR+
Speaker
LRx IRQ IRQ SPKR-
AS E R/W
(ALE) (RD) (WR)
AD0-7
8051 MCS-
INTEL 51
IRQ
36
Zarlink Semiconductor Inc.
MT9092 Data Sheet
5 volts HSPKR+
C4 C4i
DC to DC
CONVERTER HSPKR-
MT8972 F0 F0i
M+ Handset
MT9092
Lin DNIC HPhone-∏
DSTo DSTi
Digital M-
Telephone
ZT DSTi DSTo with MIC+
HDLC Microphone
Twisted Pair Controller MIC-
to Central Lout
PBX
SPKR+
Speaker
SPKR-
10.24 MHz
INTEL
MCS-51
Programming Examples
Some examples of the programming steps required to set-up various telephony functions are given. Note that these
steps are from the power-up reset default definition. If some other state is currently true then some programming
steps may be omitted while new ones may be required.
optional:
set CODEC Rx and Tx gain 0Ah as required (0dB default)
select A-Law versus µ-Law 0Fh bits 1-5 (as required)
37
Zarlink Semiconductor Inc.
MT9092 Data Sheet
optional:
set CODEC Rx and Tx gain 0Ah as required (0dB default)
select A-Law versus µ-Law 0Fh bits 1-5 (as required)
38
Zarlink Semiconductor Inc.
MT9092 Data Sheet
optional:
set CODEC Rx gain 0Ah as required (0dB default)
**********************************************************************************
Note: these two steps a required for the concurrent conversation only and do not affect new
call tone generation. See Standard Full-duplex handset call for required programming.
**********************************************************************************
39
Zarlink Semiconductor Inc.
MT9092 Data Sheet
Recommended Operating Conditions - Voltages are with respect to VSS unless otherwise stated.
Power Characteristics
40
Zarlink Semiconductor Inc.
MT9092 Data Sheet
DC Electrical Characteristics† (except LCD Drive Pins) - Voltages are with respect to ground (VSS) unless otherwise stated.
DC Electrical Characteristics† - LCD Drive Pins - Voltages are with respect to ground (VSS) unless otherwise stated.
1 Output High Voltage Both VOH 4.8 --- --- Volts Io = 1mA, VDD = 5V
Segment and Backplane
2 Output Low Voltage Both VOL --- --- 0.2 Volts Io = 1mA, VDD = 5V
Segment and Backplane
3 Segment Output Load --- --- 1200 pF
4 Backplane Output Load --- --- 7200 pF
5 Frequency 62 62.5 63 Hz
41
Zarlink Semiconductor Inc.
MT9092 Data Sheet
AC Characteristics† for A/D (Transmit) Path - 0dBm0 = 1.421Vrms for µ-Law and 1.477Vrms for A-Law, at the CODEC. (VRef =
0.5 volts and VBias = 2.5 volts). All parameters pertain exclusively to the Filter/CODEC except absolute half-channel gain and transmit idle
channel noise.
42
Zarlink Semiconductor Inc.
MT9092 Data Sheet
AC Characteristics† for D/A (Receive) Path - 0dBm0 = 1.421Vrms for µ-Law and 1.477Vrms for A-Law, at the CODEC. (VRef =
0.5volts and VBias = 2.5 volts). All parameters pertain exclusively to the Filter/CODEC except absolute gain and receive idle channel noise.
43
Zarlink Semiconductor Inc.
MT9092 Data Sheet
1 Absolute path gain GAS1 -17.2 -16.7 -16.2 dB SIDEA/u, MICA/u, RxA/u all 0
Gain adjust = 0dB GAS2 -13.1 -12.6 -12.1 dB SIDEA/u, MICA/u, RxA/u all 1
M± inputs to HSPKR± outputs
1000Hz
All other settings GAS -0.3 +0.3 dB SIDEA/u=0
(-9.96 to +9.96dB) GAS -0.3 +0.3 dB SIDEA/u=1
from nominal
relative measurements w.r.t.
GAS1 & GAS2
† AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages.
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
44
Zarlink Semiconductor Inc.
MT9092 Data Sheet
1 New Call Tone Output voltage VNCT1 6.0 Vp-p NCTG0=0, NCTG1=0
(SPKR+ to SPKR-) VNCT2 2.390 Vp-p NCTG0=1, NCTG1=0
VNCT3 0.950 Vp-p NCTG0=0, NCTG1=1
VNCT4 0.380 Vp-p NCTG0=1, NCTG1=1
load > 34 ohms across SPKR±
† AC Electrical Characteristics are over recommended temperature range & recommended power supply voltages.
‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing.
45
Zarlink Semiconductor Inc.
MT9092 Data Sheet
tT tT
1 bit cell
tC4P tC4H tC4L
2.4V
C4i
0.4V
tDSToD
2.4V
DSTo
0.4V
tDSTiS tDSTiH
2.4V
DSTi
0.4V
tT tF0iS tF0iH tT
tF0iW
2.4V
F0i 0.4V
46
Zarlink Semiconductor Inc.
MT9092 Data Sheet
DATA 1 0 1 2 7
RECEIVE
H A
SCLK
G G
CS
D F E
C
DATA 1 or DATA 2 0 1 2 6 7
TRANSMIT
47
Zarlink Semiconductor Inc.
For more information about all Zarlink products
visit our Web Site at
www.zarlink.com
Information relating to products and services furnished herein by Zarlink Semiconductor Inc. or its subsidiaries (collectively “Zarlink”) is believed to be reliable.
However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the application or use of any such
information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or
use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under patents or other intellectual
property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified that the use of product in
certain ways or in combination with Zarlink, or non-Zarlink furnished goods or services may infringe patents or other intellectual property rights owned by Zarlink.
This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part
of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other
information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the
capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute
any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the user’s responsibility to fully determine the performance and
suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does
not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in
significant injury or death to the user. All products and materials are sold and services provided subject to Zarlink’s conditions of sale which are available on request.
Purchase of Zarlink’s I2C components conveys a licence under the Philips I2C Patent rights to use these components in and I2C System, provided that the system
conforms to the I2C Standard Specification as defined by Philips.
Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc.