Chapter 3: Programming the Peripherals

TDM Busses in Pass-Through Mode

According to the TDM busses configuration (VHH￿7'0￿%XV￿&RQILJXUDWLRQV on page 34), the SIxAMR, SixBMR, SIxCMR, and SIxDMR registers must be set as follows (x=1 for line

1 to 2 and line 2 to 1, x=2 for line 3 to 4 and line 4 to 3):

SIxCMR and SIxDMR

Reserved = 0: This bit should be cleared.

SADx = 000: Starting bank address for the RAM of TDMs. 010 for second bank, first 32 entries.

SDMx = 01: SI Diagnostic Mode for TDMs. 01 means automatic echo. In this mode, the TDM transmitter automatically retransmits the TDM received data.

RFSDx = 01: Receive frame sync delay for TDMs. 01 for 1 clock delay.

DSCx = 0: Double speed clock for TDMs. 0 means the channel clock rate is equal to the data clock.

CTRx = 1: Common receive and transmit pin clocks for TDMs. 1 means Rx and Tx clocks are common.

SLx = 1: Sync level for TDMs. 1 means sync active level is 0.

CEx = 0: Clock edge for TDMs. When DSCx = 0, data sent on the rising edge and received on the falling edge.

FEx = 0: Frame Sync edge for TDMs. 0 for falling edge.

GMx = 0: Grant mode for TDMs. 0 for grant mode not used.

TFSDx = 01: Transmit frame sync delay for TDMs. 01 for 1 clock delay.

Final Result of SIxCMR and SIxDMR registers is 0x0561.

SIxAMR (line 1 to 2 and line 3 to 4) or SIxBMR (line 2 to 1 and line 4 to 3):

Reserved = 0: This bit should be cleared.

SADx = 000: Starting bank address for the RAM of TDM. 000 for first bank, first 32 entries.

SDMx = 00: SI Diagnostic Mode for TDM. 00 means normal operation.

RFSDx = 01: Receive frame sync delay for TDM. 01 for 1 clock delay.

DSCx = 0: Double speed clock for TDM. 0 means the channel clock rate is equal to the data clock.

CTRx = 1: Common receive and transmit pin clocks for TDM. 1 means Rx and Tx clocks are common.

SLx = 1: Sync level for TDM. 1 means sync active level is 0.

CEx = 0: Clock edge for TDM. When DSCx = 0, data sent on the rising edge and received on the falling edge.

FEx = 1: Frame Sync edge for TDMa. 1 for rising edge.

GMx = 0: Grant mode for TDM. 0 for grant mode not used.

TFSDx = 01: Transmit frame sync delay for TDM. 01 for 1 clock delay.

4538 Hardware Reference Manual

71