37.8.7 Tx Serializer Control

Name: TXCTRL
Offset: 0x20
Reset: 0x00000000
Property: Enable-Protected, Write-Protection

Bit 3130292827262524 
       DMAMONO 
Access R/WR/W 
Reset 00 
Bit 2322212019181716 
 SLOTDIS7 SLOTDIS6 SLOTDIS5 SLOTDIS4 SLOTDIS3 SLOTDIS2 SLOTDIS1 SLOTDIS0  
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 BITREVEXTEND[1:0]WORDADJ DATASIZE[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 76543210 
 SLOTADJ  TXSAMETXDEFAULT[1:0]   
Access R/WR/WR/WR/W 
Reset 0000 

Bit 25 – DMA Single or Multiple DMA Channels

This bit selects whether even-numbered and odd-numbered slots use separate DMA channels or the same DMA channel.

DMA Name Description
0x0 SINGLE Single DMA channel
0x1 MULTIPLE One DMA channel per data channel

Bit 24 – MONO Mono Mode.

MONO Name Description
0x0 STEREO Normal mode
0x1 MONO Left channel data is duplicated to right channel

Bits 16, 17, 18, 19, 20, 21, 22, 23 – SLOTDISx  Slot x Disabled for this Serializer [x=7..0]

This field allows disabling some slots in each transmit frame:

ValueDescription
0 Slot x is used for data transfer.
1 Slot x is not used for data transfer and will be output as specified in the TXDEFAULT field.

Bit 15 – BITREV Data Formatting Bit Reverse

This bit allows changing the order of data bits in the word in the Formatting Unit.

BITREV Name Description
0x0 MSBIT Transfer Data Most Significant Bit (MSB) first (default for I2S protocol)
0x1 LSBIT Transfer Data Least Significant Bit (LSB) first

Bits 14:13 – EXTEND[1:0] Data Formatting Bit Extension

This field defines the bit value used to extend data samples in the Formatting Unit.

EXTEND[1:0] Name Description
0x0 ZERO Extend with zeros
0x1 ONE Extend with ones
0x2 MSBIT Extend with Most Significant Bit
0x3 LSBIT Extend with Least Significant Bit

Bit 12 – WORDADJ Data Word Formatting Adjust

This field defines left or right adjustment of data samples in the word in the Formatting Unit. for details.

WORDADJ Name Description
0x0 RIGHT Data is right adjusted in word
0x1 LEFT Data is left adjusted in word

Bits 10:8 – DATASIZE[2:0] Data Word Size

This field defines the number of bits in each data sample. For 8-bit compact stereo, two 8-bit data samples are packed in bits 15 to 0 of the DATAm register. For 16-bit compact stereo, two 16-bit data samples are packed in bits 31 to 0 of the DATAm register.

DATASIZE[2:0] Name Description
0x0 32 32 bits
0x1 24 24 bits
0x2 20 20 bits
0x3 18 18 bits
0x4 16 16 bits
0x5 16C 16 bits compact stereo
0x6 8 8 bits
0x7 8C 8 bits compact stereo

Bit 7 – SLOTADJ Data Slot Formatting Adjust

This field defines left or right adjustment of data samples in the slot.

SLOTADJ Name Description
0x0 RIGHT Data is right adjusted in slot
0x1 LEFT Data is left adjusted in slot

Bit 4 – TXSAME Transmit Data when Underrun.

TXSAME Name Description
0x0 ZERO Zero data transmitted in case of underrun
0x1 SAME Last data transmitted in case of underrun

Bits 3:2 – TXDEFAULT[1:0] Line Default Line when Slot Disabled

This field defines the default value driven on the SDn output pin during all disabled Slots.

TXDEFAULT[1:0] Name Description
0x0 ZERO Output Default Value is 0
0x1 ONE Output Default Value is 1
0x2 Reserved
0x3 HIZ Output Default Value is high impedance