T1 / E1 Framer Initialization an

Abstract: This applicaTIon note highlights the iniTIalizaTIon and programming of Dallas Semiconductor Framers.

IntroducTIonThis application note shows how to initialize and program Dallas T1 / E1 framers. The DS2155, DS21Q55, and DS2156 do not require any special initialization after power-up, since they automatically initialize themselves by clearing and setting the proper registers.

General InitializationAfter power-up, when supplies and clocks have stabilized, internal registers must be initialized. Please note the DS2155, DS21Q55, and DS2156 do NOT require any special initialization whatsoever since they automatically initialize upon power-up. It is a good idea to clearµset to 0x00µALL R / W registers. The easiest way to do this is to write 0x00 to address space 0x00-0xFF, regardless of register type. Certain registers have bits that control special test modes and features that can provide confusing indications (Table 1) .

Table 1. Registers with Special Test Modes and Features
Part Name
DS2151 TEST, TCR2, LICR
DS2152 TEST1, TEST2, TCR2, LICR
DS21352 / 552 TEST1, TEST2, TCR2, LICR
DS21Q41 / Q42 TEST, TCR2
DS21FF / FT42 TEST1, TCR2
DS2153 TEST1, TEST2, LICR
DS2154 TEST1, TEST2, LICR
DS21354 / 554 TEST1, TEST2, TCR2, LICR
DS21Q43 / Q44 TEST1, TEST2
DS21FF / FT44 TEST1, TEST2

Depending on the interrupt structure implemented, it may be a good idea to clear IMR1 and IMR2 first. Prior to clearing these two registers, spurious interrupt signals may occur without an external interrupt disable.

Once the registers have been initialized and set up with the transceiver's mode of operation, the line interface reset bit should be set high, then low. If the elastic store is enabled, the ESR bit should be set, then cleared.

Special Initialization for DS2141Transmit clock (TCLK) must be present for proper port initialization. Network signals (loop timing) cannot be guaranteed to replace a missing TCLK during initialization. The following sequence should be used to initialize the DS2141, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Write 0x00 to all other R / W registers Write initial device configuration data Wait for SYSCLK to stabilize if elastic stores enabled Special Initialization for DS21Q41Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1.7. The following sequence should be used to initialize the DS21Q41, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device co nfiguration data Wait for TSYSCLK and RSYSCLK to stabilize if elastic stores enabled Set ESR bit in CCR3 register if elastic stores enabled Clear ESR bit Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21Q42 Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1.7 . The following sequence should be used to initialize the DS21Q42, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Wait for TSYSCLK and RSYSCLK to stabilize if elastic stores enabled Set TESR and RESR bits in CCR7 register if elastic stores enabled Clear TESR and RESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS2143Transmit clock (TCLK) must be present for proper port initialization. Network signals (loop timing) cannot be guaranteed to replace a missing TCLK during initialization. The following sequence should be used to initialize the DS2143, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Write 0x00 to all other R / W registers Write initial device configuration data Wait for SYSCLK to stabilize if elastic stores enabled Special Initialization for DS21Q43Transmit Clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK via the LOSS of TRANSMIT CLOCK mux. This mux is enabled by setting CCR2.2. The following sequence should be used to initialize the DS21Q43 in which TCLK is not present or TCLK is derived from RCLK (a loop timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configu ration data Wait for TSYSCLK and RSYSCLK to stabilize (if elastic store (s) enabled) Set ESR bit in CCR3 register (if elastic store (s) enabled) Clear ESR bit Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21Q44Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting CCR2.2. The following sequence should be used to initialize the DS21Q44, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Wait for TSYSCLK and RSYSCLK to stabilize (if elastic store (s) enabled) Set TESR and RESR bits in CCR6 register (if elastic store (s) enabled) Clear TESR and RESR bits Note 1: In loop-timed configurations , or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS2151 Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1.7 . The following sequence should be used to initialize the DS2151, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data SET LIRST bit in CCR3 register Wait for SYSCLK to stabilize if elastic stores enabled Set ESR bit in CCR3 register if elastic stores enabled Clear LIRST and ESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the SYSCLK pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS2152Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1.7. The following sequence should be used to initialize the DS2152, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Set LIRST bit in CCR7 register Wait for TSYSCLK and RSYSCLK to stabilize if elastic stores enabled Set ESR bit in CCR3 register if elastic stores enabled Clear LIRST and ESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS2153Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting CCR2.2. The following sequence should be used to initialize the DS2153, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Set LIRST bit in CCR3 register Wait for SYSCLK to stabilize (if elastic store (s) enabled) Set ESR bit in CCR3 register (if elastic store (s) enabled) Clear LIRST and ESR bits Note 1: In loop- timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the SYSCLK pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS2154Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting CCR2.2. The following sequence should be used to initialize the DS2154, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Set LIRST bit in CCR5 register Wait for TSYSCLK and RSYSCLK to stabilize (if elastic store (s) enabled) Set ESR bit in CCR3 register (if elastic store (s) enabled) Clear LIRST and ESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21FF / FT42Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1. 7. The following sequence should be used to initialize the DS21FF / FT42, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Wait for SYSCLK to stabilize if elastic stores enabled Set TESR and RESR bits in CCR7 register if elastic stores enabled Clear TESR and RESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21FF / FT44Transmit Clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting CCR2. 2. The following sequence should be used to initialize the DS21FF / FT44, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Wait for SYSCLK to stabilize if elastic stores enabled Set TESR and RESR bits in CCR6 register if elastic stores enabled Clear TESR and RESR bits Note 1: In loop-timed configurations, or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21x52Transmit clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting TCR1.7. The following sequence should be used to initialize the DS21x52, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in TCR1 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Set LIRST bit in CCR7 register Wait for TSYSCLK and RSYSCLK to stabilize if elastic stores enabled Set TESR and RESR bits in CCR7 register high if elastic stores enabled Clear LIRST, TESR, and RESR bits Note 1: In loop-timed configurations , or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in TCR1 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

Special Initialization for DS21x54Transmit Clock (TCLK) must be present for proper port initialization. This clock can be sourced externally from the TCLK pin or internally from RCLK through the loss-of-transmit clock mux. This mux is enabled by setting CCR2.2. The following sequence should be used to initialize the DS21x54, in which TCLK is not present or TCLK is derived from RCLK (a loop-timed system). Set LOTCMC bit in CCR2 register Wait 10ms minimum Write 0x00 to all other R / W registers Write initial device configuration data Set LIRST bit in CCR5 register Wait for TSYSCLK and RSYSCLK to stabilize if elastic stores enabled Set TESR and RESR bits in CCR6 register high if elastic stores enabled Clear LIRST, TESR, and RESR bits Note 1: In loop-timed configurations , or when TCLK is not guaranteed to always be present, it is recommended that LOTCMC in CCR2 be enabled.
Note 2: If the TEST pin is high, registers can be written to (initialized), but not read.

ConclusionIf you have further questions about T1 / E1 framer initialization and programming, please contact the Telecommunication Applications support team via email var name = "telecom.support @"; var domain = "dalsemi.com"; document.write ("" + name + domain + ""); telecom. or call (972) 371-6555.

T1 / E1 Framer InformationFor more information about our T1 / E1 framers, please consult the respective data sheets available on our website at

Cy

Dimmable LED Module

Ceiling Light Led Module,Dimmable Led Module,Adjustable Light Module,Ceiling Light Dimming Module

Shenzhen Dianjiang Engineering Co. LTD , https://www.isourceled.com