Abstract: This application note describes the hardware and software differences between the Dallas Semiconductor DS21Q42 and the DS21Q41B quad port framer devices. The DS21Q42 enhanced quad T1 framer offers a broader feature set while retaining the original features of the DS21Q41B. As such, the designer must decide on what changes need to be made in software and hardware when migrating to the DS21Q42 from the DS21Q41B quad T1 framer. Any designer who is thinking of upgrading an existing design to use the DS21Q42 should read this application note. The application note contains detailed information for software migration such as: register location changes, how individual functions have changed from the DS21Q41B to the DS21Q42, and which new functions are available on the DS21Q42. It also covers migration for the hardware interface and covers new functions that are available in the DS21Q42. In the end, the designer should have enough information to easily migrate an existing design which uses the DS21Q41B to the DS21Q42 device.
Introduction
This application note highlights the differences between the DS21Q42 and the DS21Q41B Quad T1
Framers. The DS21Q42 is a superset of the DS21Q41B. The DS21Q42 is only offered in a 3.3 volt
version with 5 volt tolerant I/O. All of the original features of the DS21Q41B have been retained and software created for the DS21Q41B is transferable to the DS21Q42 with minimal effort.
When implementing the new features of the DS21Q42, a priority was placed on preserving the
DS21Q41B's register map to facilitate code migration from existing DS21Q41B designs. This section highlights register additions and differences found in the DS21Q42.
NOTE: Test Registers 1 and 2 are used only by the factory; these registers must be cleared (set to all zeros) on power up initialization to insure proper operation.
3.2 New Feature Register Usage
Highlights specific registers containing bit locations related to new features. Each item can be found in the
data sheet under the listed sections.
3.3 Bit Assignment Changes within Existing Registers
Highlights bit locations in the DS21Q42 which have changed from the DS21Q41B.
Register
Bit #
DS21Q42 Function
DS21Q41B Function
CCR3
0
TESMDM
Not Assigned
CCR3
1
TLOOP
TLU
CCR3
2
ECUS
TLD
CCR3
6
TCLKSRC
ESR
CCR3
7
RESMDM
ESMDM
SR2
0
RSC
LORC
IMR2
0
RSC
LORC
3.4 Register Bit Moves
Register
DS21Q42 Function
DS21Q41B Function
ESR
CCR6 & CCR7
CCR3
LORC
RIR3.4
SR2.0
4.0 Changes in Device Pin Out
4.1 Package types
The DS21Q42 is offered in the same package as the DS21Q41B (128-pin 20 x 20 x 1.4 mm TQFP).
Values listed are for body dimensions.
4.2 Device Pin Differences
Pin
DS21Q42
DS21Q41B
9
RSIG0 [RCHCLK0]
RCHCLK0
16
SPARE [RMSYNC0]
RMSYNC0
18
Active-Low JTRST [RLOS/LOTC0]
RLOS/LOTC0
34
TSIG1 [TCHCLK1]
TCHCLK1
43
RSIG1 [RCHCLK1]
RCHCLK1
46
A7
VSS
47
FMS
VDD
50
JTMS [RMSYNC1]
RMSYNC1
52
JTCLK [RLOS/LOTC1]
RLOS/LOTC1
62
Active-Low RD / (Active-Low RD)
Active-Low RD / (Active-Low RD)
68
TSIG2 [TCHCLK2]
TCHCLK2
77
RSIG2 [RCHCLK2]
RCHCLK2
84
JTDI [RMSYNC2]
RMSYNC2
86
JTDO [RLOS/LOTC2]
RLOS/LOTC2
94
TSIG3 [TCHCLK3]
TCHCLK3
103
RSIG3 [RCHCLK3]
RCHCLK3
108
8MCLK [RMSYNC3]
RMSYNC3
112
CLKSI [RLOS/LOTC3]
RLOS/LOTC3
128
TSIG0 [TCHCLK0]
TCHCLK0
NOTE: Brackets [ ] indicate pin function when the DS21Q42 is configured for emulation of the DS21Q41B, (FMS = 1).
5.0 Operating the DS21Q42 in DS21Q41B
Emulation Mode
The DS21Q42 is a superset of the DS21Q41B and can be configured to emulate the latter. This mode is
enabled by tying the Framer Mode Select (FMS) pin to VCC since the DS21Q42 supports an expanded
register set, the A7 address pin was added to the device. Although the DS21Q42 does not require the
functionality associated with the additional registers when in DS21Q41B emulation mode, the A7 pin must
be used. This is necessary because the device does not automatically clear its register space on power-up.
After the supplies are stable, each of four framers register space should be configured for operation by
writing to all of the internal registers. This can be accomplished in a two-pass approach on each framer.
Clear framers register space by writing 00h to the addresses 00h through BFh.
Program required registers to achieve desired operating mode.