www.ti.com
Interrupt Generation
743
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Multichannel Buffered Serial Port (McBSP)
Table 12-73. Transmit Interrupt Sources and Signals (continued)
McBSP
Interrupt
Signal
Interrupt
Flags
Interrupt
Enables in
SPCR2
Interrupt
Enables
Type of Interrupt Interrupt
Line
FSX 10 XINTENA On every FSX
XSYNCERR 11 XINTENA Frame sync error
12.12.3 Error Flags
The McBSP has several error flags both on receive and transmit channel. Table 12-74 explains the error
flags and their meaning.
Table 12-74. Error Flags
Error Flags Function
RFULL Indicates DRR2/DRR1 are not read and RXR register is overwritten
RSYNCERR Indicates unexpected frame-sync condition, current data reception will abort and restart. Use RINTM
bit 11 for interrupt generation on this condition.
XSYNCERR Indicates unexpected frame-sync condition, current data transmission will abort and restart. Use
XINTM bit 11 for interrupt generation on this condition.
12.13 McBSP Modes
McBSP, in its normal mode, communicates with various types of Codecs with variable word size. Apart
from this mode, the McBSP uses time-division multiplexed (TDM) data stream while communicating with
other McBSPs or serial devices. The multichannel mode provides flexibility while transmitting/receiving
selected channels or all the channels in a TDM stream.
Table 12-75 provides a quick reference to McBSP mode selection.
Table 12-75. McBSP Mode Selection
Register Bits Used for Mode Selection
MCR1 bit 9,0 MCR2 bit 9,1,0
No. McBSP
Word Size
RMCME RMCM XMCME XMCM Mode and Function Description
Normal Mode
1 8/12/16/20/24/32 0 0 0 0 All types of Codec interface will use this
bit words selection
Multichannel Mode
2 8-bit words 2 Partition or 32-channel Mode
0 1 0 1 All channels are disabled,unless selected in
X/RCERA/B
0 1 0 10 All channels are enabled,but masked unless
selected in X/RCERA/B
0 1 0 11 Symmetric transmit, receive
8 Partition or 128 Channel Mode Transmit/
Receive
Channels selected by X/RCERA to
X/RCERH bits
Multichannel Mode is ON
1 1 1 1 All channels are disabled,unless selected in
XCERs
1 1 1 10 All channels are enabled,but masked unless