SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The procedure in Table 24-346 configures the receive frame format unit of the McASP module for TDM slots reception.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure the desired TDM-slot size | MCASP_RXFMT[7:4] RSSZ | 0x-(1) |
Set data mask out value (0x0000 0000 - 0xFFFF FFFF). | MCASP_RXMASK[31:0] RMASK | 0x-(2) |
Select a padding value for masked-out bits. | MCASP_RXFMT[14:13] RPAD | 0x- |
Specify position (0x0-0x1F) of the bit in corresponding register MCASP_RXBUFn which value to be used as a pad value in case MCASP_RXFMT[14:13] RPAD=0x2. | MCASP_RXFMT[12:8] RPBIT | 0x- |
Rotate data right by a multiple of 4- bit positions. | MCASP_RXFMT[2:0] RROT | 0x- (3) |
Received stream bit order (LSB- or MSB-first ). Must be set to 0x1 for an I2S stream reception (MSB-first). | MCASP_RXFMT[15] RRVRS | 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 reception. | MCASP_RXFMT[17:16] RDATDLY | 0x- |
Select to read data from active serializers receive buffers using peripheral (CFG) or DATA port | MCASP_RXFMT[3] RBUSEL | 0x- |