Serial Port Control Registers (SPCR1 and SPCR2)
12-11
McBSP Registers
SPRU592E
2. SPCR2 Bit Descriptions (Continued)
Bit
Description
Value
Field
5–4
XINTM
Transmit interrupt mode bits. XINTM determines which event in the McBSP
transmitter generates a transmit interrupt (XINT) request. If XINT is properly
enabled, the CPU services the interrupt request; otherwise, the CPU
ignores the request.
00b
The McBSP sends a transmit interrupt (XINT) request to the CPU when the
XRDY bit changes from 0 to 1, indicating that transmitter is ready to accept
new data (the content of DXR[1,2] has been copied to XSR[1,2]):
Note:
Regardless of the value of XINTM, you can check XRDY to determine
whether a word transfer is complete.
01b
In the multichannel selection mode, the McBSP sends an XINT request to
the CPU after every 16-channel block is transmitted in a frame.
Outside of the multichannel selection mode, no interrupt request is sent.
10b
The McBSP sends an XINT request to the CPU when each transmit
frame-sync pulse is detected. The interrupt request is sent even if the
transmitter is in its reset state.
11b
The McBSP sends an XINT request to the CPU when the XSYNCERR bit
is set, indicating a transmit frame-sync error.
Note: Regardless of the value of XINTM, you can check XSYNCERR to
determine whether a transmit frame-sync error occurred.
3
XSYNCERR
Transmit frame-sync error bit. XSYNCERR is set when a transmit
frame-sync error is detected by the McBSP. If XINTM = 11b, the McBSP
sends a transmit interrupt (XINT) request to the CPU when XSYNCERR is
set. The flag remains set until you write a 0 to it or reset the transmitter.
Caution:
if XINTM = 11b, writing a 1 to XSYNCERR triggers a transmit
interrupt just as if a transmit frame-sync error occurred.
0
No error
1
Transmit frame-sync error
Содержание TMS320VC5509
Страница 5: ...vi This page is intentionally left blank ...
Страница 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Страница 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Страница 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Страница 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Страница 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Страница 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Страница 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...