This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

McASPTxFmtSet in StarterWare/L138

Hi

I noticed that in the McASP driver, the XFMT is set like this. My question is, what is the purpose of (wordSize >> 2)? If the wordSize is 32, the RBUSEL bit in XFMT is set. Is this a bug?

McASPTxFmtSet(baseAddr, (MCASP_TX_PAD_WITH_0 | MCASP_TX_BITSTREAM_MSB_FIRST
                             | MCASP_TX_SYNC_DELAY_1BIT | (wordSize >> 2)
                             | ((slotSize/2 -1) << MCASP_XFMT_XSSZ_SHIFT)
                             | txMode));

Thanks