SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The procedure in Table 24-351 configures the transmit frame format unit of the McASP module for TDM slots transmission.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure the desired TDM-slot size | MCASP_TXFMT[7:4] XSSZ | 0x-(1) |
Set data mask out value (0x0000 0000 - 0xFFFF FFFF). | MCASP_TXMASK[31:0] XMASK | 0x-(2) |
Select a padding value for masked-out bits. | MCASP_TXFMT[14:13] XPAD | 0x- |
Specify position (0x0-0x1F) of the bit in corresponding register MCASP_TXBUFn which value to be used as a pad value in case MCASP_TXFMT[14:13] XPAD=0x2. | MCASP_TXFMT[12:8] XPBIT | 0x- |
Rotate data right by a multiple of 4- bit positions. | MCASP_TXFMT[2:0] XROT | 0x- (3) |
transmitted stream bit order (LSB- or MSB-first ). Must be set to 0x1 for an I2S stream transmission (MSB-first). | MCASP_TXFMT[15] XRVRS | 0x- (3) |
Specify a delay between frame sync and first bit of data in number of bits. Must be set to 0x1 for an I2S stream transmission. | MCASP_TXFMT[17:16] XDATDLY | 0x- |
Select to write data to active serializers transmit buffers using peripheral (CFG) or DATA port | MCASP_TXFMT[3] XBUSEL | 0x- |