# DSP.C5x[x].XLaw

Determines the DSP hardware companding mode.

#### Syntax

DSP.C5x[x].XLaw = mode

x = 0-(n-1) (A range of DSP cores where n equals the total number of DSP cores available.)

#### Access

Read/Write

#### Type

String

#### Default

A_LAW

#### Allowed values

A_LAW | MU_LAW | NO_LAW

#### Example

DSP.C5x[0..31].XLaw = MU_LAW

#### Details

For A_LAW and MU_LAW modes, 8-bit data sent and received to or from the TSI
circuit switch is converted to or from the 16-bit linear form used internally.

NO_LAW uses bits 0 - 7 of the 16-bit word for the 8-bit timeslot and fills zeros into bits 8 - 15.

The hardware companding mode must match the DSP operating system (DSPOS) service library used. Therefore, A_LAW must use cg6kliba.r41, and MU_LAW must use cg6klibu.r41.

All DSPs within a resource pool must have the same value for this keyword.

#### See also

DSP.C5x[x].Libs[y]