# Configuring the hardware

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

- Configuring H.100 bus termination

- Configuring the DIP switches

- Configuring the board without trunk connectors

- Configuring the T1 or E1 interface

- Configuring hardware echo cancellation

The procedures you follow depend on the CG 6565 board configuration you are installing. Configurations with a main board and attached daughterboard provide up to eight T1 or E1 digital trunk interfaces and two Ethernet interfaces. Configurations without a daughterboard provide no trunk interfaces.

Caution: | The CG 6565 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 6565 DIP switches are located on the board, as shown in the following illustration:

### S3 DIP switch

The S3 DIP switch controls the H.100 bus termination. By default, all S3 switches are set to OFF (H.100 bus termination disabled). Setting all S3 switches to ON enables H.100 bus termination. Set all S3 switches to ON only for the boards that are on the ends of the H.100 bus.

Note: The switches in the S3 DIP switch must be set to either all ON or all OFF.

### S2 DIP switch

Switch 5 in the S2 DIP switch allows you to control if the board LEDs can be off or on. This is known as the dark office feature. By default, switch 5 is set to OFF (all LEDs can be on). Setting switch 5 to ON turns off all LEDs on the board unless there is an error.

### S1 DIP switch

The S1 DIP switch sets the mode of the board. By default, the switches set the board to the PCI mode.

Mode | Settings
PCI | Switch 1 is set to ON. Switch 2 is set to OFF. Switch 3 is set to ON for 33 MHz or to OFF for 66 MHz. Switch 4 is set to ON.
PCI-X | Switch 1 is set to OFF. Switch 2 is set to ON for 66 MHz or to OFF for 100-133 MHz. Switch 3 is set to OFF. Switch 4 is set to ON.

## Configuring the board without trunk interfaces

If you are installing a CG 6565 board either without a daughterboard or without configuring the trunk interfaces, be sure that the NetworkInterface.T1E1[x].Type keyword is set to NONE, which is the default.

## Configuring the T1 or E1 interface

If the CG 6565 board you are installing has an attached daughterboard, it is shipped to you configured as a T1/E1 120 ohm board. To configure the T1 or E1 interface, make sure the following keywords appear in the board keyword file and perform the following steps:

Step | Action
1 | 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 for T1 G703_75_OHM for E1 75 ohm G703_120_OHM for E1 120 ohm Settings vary depending oh the board variants. Refer to Connecting to an E1 network or Connecting to a T1 network.
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 eight trunks:

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

### Sample E1 trunk configuration

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

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

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

## Configuring hardware echo cancellation

Use the CG 6565 daugtherboard with the echo chip to provide hardware echo cancellation capabilities and free up DSP resources. 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.

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

If the application requires flexibility and you must modify echo cancellation parameters, use DSP resources to provide software echo cancellation capabilities. For more information, refer to the Dialogic® NaturalAccess™ Alliance Device Interface API Developer's Manual.

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