15.8.13 Set the Transmit DXENA Mode
Table 15-60. Register Bit Used to Set the Transmit DXENA (DX Delay Enabler) Mode
Register
Bit
Name
Function
Type
Reset
Value
SPCR1
7
DXENA
DX delay enabler mode
R/W
0
DXENA = 0
DX delay enabler is off.
DXENA = 1
DX delay enabler is on.
15.8.13.1 DXENA Mode
The DXENA bit controls the delay enabler on the DX pin. Set DXENA to enable an extra delay for turn-on time.
This bit does not control the data itself, so only the first bit is delayed.
If you connect together the DX pins of multiple McBSPs, make sure DXENA = 1 to avoid having more than one
McBSP transmit on the data line at one time.
15.8.14 Set the Transmit Interrupt Mode
The transmitter interrupt (XINT) signals the CPU of changes to the serial port status. Four options exist for
configuring this interrupt. The options are set by the transmit interrupt mode bits, XINTM, in SPCR2.
Table 15-61. Register Bits Used to Set the Transmit Interrupt Mode
Register
Bit
Name
Function
Type
Reset
Value
SPCR2
5-4
XINTM
Transmit interrupt mode
R/W
00
XINTM = 00
XINT generated when XRDY changes from 0 to 1.
XINTM = 01
XINT generated by an end-of-block or end-of-frame
condition in a transmit multichannel selection mode. In any
of the transmit multichannel selection modes, interrupt after
every 16-channel block boundary has been crossed within a
frame and at the end of the frame. For details, see
. In any other serial transfer case, this setting is not
applicable and, therefore, no interrupts are generated.
XINTM = 10
XINT generated by a new transmit frame-synchronization
pulse. Interrupt on detection of each transmit frame-
synchronization pulse. This generates an interrupt even
when the transmitter is in its reset state. This is done by
synchronizing the incoming frame-synchronization pulse to
the CPU clock and sending it to the CPU via XINT.
XINTM = 11
XINT generated when XSYNCERR is set. Interrupt on
frame-synchronization error. Regardless of the value of
XINTM, XSYNCERR can be read to detect this condition.
For more information on using XSYNCERR, see
Multichannel Buffered Serial Port (McBSP)
948
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......