SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
The procedure in Table 12-19 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_RFMT[7-4] RSSZ | 0x-(1) |
Set data mask out value (0x0000 0000 - 0xFFFF FFFF). | MCASP_RMASK[31-0] RMASK | 0x-(2) |
Select a padding value for masked-out bits. | MCASP_RFMT[14-13] RPAD | 0x- |
Specify position (0x0-0x1F) of the bit in corresponding register MCASP_RBUFn which value to be used as a pad value in case MCASP_RFMT[14-13] RPAD = 0x2. (n = 0 to 15) | MCASP_RFMT[12-8] RPBIT | 0x- |
Rotate data right by a multiple of 4- bit positions. | MCASP_RFMT[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_RFMT[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_RFMT[17-16] RDATDLY | 0x- |
Select to read data from active serializers receive buffers using peripheral (CFG) or DATA port | MCASP_RFMT[3] RBUSEL | 0x- |