# Configuring the hardware

This topic describes the following procedures for configuring the CG 6060 board:

- Configuring H.100 bus termination

- Configuring the DIP switches

- Configuring the T1 or E1 interface

- Configuring hardware echo cancellation

The procedures you follow depend on the CG 6060 board configuration you are installing. Configurations support up to four T1 or E1 digital trunk interfaces and two Ethernet 10/100Base-T interfaces.

Caution: | The CG 6060 board is shipped in a protective anti-static container. Leave the board in its container until you are ready to install it. Handle the board carefully and hold it only by its handles. Wear an anti-static wrist strap connected to a good earth ground whenever you handle the board.

## Configuring H.100 bus termination

H.100 boards are connected to one another with an H.100 bus cable. The two boards located at either end of the H.100 bus must have bus termination enabled, as shown in the following illustration. Bus termination is controlled by a DIP switch as explained in Configuring the DIP switches.

## Configuring the DIP switches

The CG 6060 DIP switches are located on the board, as shown in the following illustration:

The following table provides a description of the CG 6060 DIP switches:

DIP switch | Description
S1 | Set by the manufacturer. Do not change any of the S1 DIP switch settings.
S2 | Controls the H.100 bus termination. By default, all S2 switches are set to OFF (H.100 bus termination disabled). Setting all S2 switches to ON enables H.100 bus termination. Set all S2 switches to ON only for the boards that are on the ends of the H.100 bus. Note: The switches in the S2 DIP switch must be set to either all ON or all OFF.

## Configuring the T1 or E1 interface

To configure the T1 or E1 interface perform the following steps:

Step | Action
1 | To disable a trunk interface, set the corresponding NetworkInterface.T1E1[x].Type keyword to NONE. To enable a trunk interface, set the NetworkInterface.T1E1[x].Type keyword in the board keyword file to T1 or E1. You must configure all trunks that are being used as either T1 or E1. Do not specify more than one trunk type per board.
2 | Set the NetworkInterface.T1E1[x].Impedance keyword to one of the following values: DSX1 G703_75_OHM G703_120_OHM HIGH_IMPEDANCE For more information, refer to NetworkInterface.T1E1[x].Impedance.
3 | Set the NetworkInterface.T1E1[x].FrameType, NetworkInterface.T1E1[x].LineCode, and NetworkInterface.T1E1[x].SignalingType keywords to values appropriate for your configuration.
4 | Ensure that you use the correct I/O cables. Refer to Connecting to an E1 network or Connecting to a T1 network.

### Sample T1 trunk configuration

The following example shows a sample T1 configuration for four trunks:

NetworkInterface.T1E1[0..3].Type = T1
NetworkInterface.T1E1[0..3].Impedance = DSX1
NetworkInterface.T1E1[0..3].LineCode = B8ZS [other values possible]
NetworkInterface.T1E1[0..3].FrameType = ESF [other values possible]
NetworkInterface.T1E1[0..3].SignalingType = CAS [other values possible]
DSP.C5x[0..47].XLaw = MU_LAW
DSPStream.VoiceIdleCode[0..3] = 0x7F
DSPStream.SignalIdleCode[0..3] = 0x00

### Sample E1 trunk configuration

The following example shows a sample E1 configuration for four trunks:

NetworkInterface.T1E1[0..3].Type = E1
NetworkInterface.T1E1[0..3].Impedance = G703_120_OHM
NetworkInterface.T1E1[0..3].LineCode = HDB3 [other values possible]
NetworkInterface.T1E1[0..3].FrameType = CEPT
NetworkInterface.T1E1[0..37].SignalingType = CAS [other values possible]
DSP.C5x[0..47].XLaw = A_LAW
DSPStream.VoiceIdleCode[0..3] = 0xD5
DSPStream.SignalIdleCode[0..3] = 0x09

Note: The syntax [0..3] specifies that the configuration supports any valid number of trunks within the range of 0 through 3 trunks.

## Configuring hardware echo cancellation

Use the HardwareEcho.EchoChipEnabled, HardwareEcho.Trunk[x].OnOffTimeslots, and HardwareEcho.XLaw keywords to set hardware echo cancellation.

When using the hardware echo cancellation capabilities, echo cancellation parameters are fixed. An application cannot change the parameters in the ADI_ECHOCANCEL_PARMS structure with the adiModifyEchoCanceller function.

If the application requires flexibility and must modify echo cancellation parameters, use DSP resources to provide software echo cancellation capabilities. For more information, refer to the ADI Service Developer's Reference Manual.

Note: Do not operate both hardware echo cancellation and software echo cancellation at the same time on a CG 6060 board.