# Configuring hardware echo cancellation

Using the CG 6565C with the echo chip provides hardware echo cancellation capabilities and frees 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 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 6565C board.