Table 15-77. SPCR2 Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
6
GRST
R/W
0h
Sample rate generator reset bit.
You can use GRST to take the McBSP sample rate generator into
and out of its reset state. This bit has a negative polarity
GRST = 0 indicates the reset state.
Reset type: SYSRSn
0h (R/W) = If you read a 0, the sample rate generator is in its reset
state.
If you write a 0, you reset the sample rate generator.
If GRST = 0 due to a reset, CLKG is driven by the CPU clock divided
by 2, and FSG is driven low (inactive). If GRST = 0 due to program
code, CLKG and FSG are both driven low (inactive).
1h (R/W) = If you read a 1, the sample rate generator is enabled.
If you write a 1, you enable the sample rate generator by taking it out
of its reset state.
When enabled, the sample rate generator generates the clock signal
CLKG as programmed in the sample rate generator registers. If
FRST = 1, the generator also generates the frame-synchronization
signal FSG as programmed in the sample rate generator registers.
5-4
XINTM
R/W
0h
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.
Reset type: SYSRSn
0h (R/W) = 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]).
Regardless of the value of XINTM, you can check XRDY to
determine whether a word transfer is complete.
The McBSP sends an XINT request to the CPU when 16 enabled
bits have been transmitted on the DX pin.
1h (R/W) = 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.
2h (R/W) = The McBSP sends an XINT request to the CPU when
each transmit frame-synchronization pulse is detected. The interrupt
request is sent even if the transmitter is in its reset state.
3h (R/W) = The McBSP sends an XINT request to the CPU when the
XSYNCERR bit is set, indicating a transmit frame-synchronization
error.
Regardless of the value of XINTM, you can check XSYNCERR to
determine whether a transmit frame-synchronization error occurred.
3
XSYNCERR
R/W
0h
Transmit frame-synchronization error bit.
XSYNCERR is set when a transmit frame-synchronization 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.
Reset type: SYSRSn
0h (R/W) = No error
1h (R/W) = Transmit frame-synchronization error
Multichannel Buffered Serial Port (McBSP)
964
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......