15.11.9 XCR2 Register (Offset = 8h) [reset = 0h]
XCR2 is shown in
.
Return to the
.
XCR2 contains control bits for the transmitter such as number of phases in each frame, the serial word
length and number of words for phase 2 of dual-phase frames, transmit companding mode, transmit frame-
synchronization ignore function, and the transmit data-delay control.
Figure 15-73. XCR2 Register
15
14
13
12
11
10
9
8
XPHASE
XFRLEN2
R/W-0h
R/W-0h
7
6
5
4
3
2
1
0
XWDLEN2
XCOMPAND
XFIG
XDATDLY
R/W-0h
R/W-0h
R/W-0h
R/W-0h
Table 15-81. XCR2 Register Field Descriptions
Bit
Field
Type
Reset
Description
15
XPHASE
R/W
0h
Transmit phase number bit.
XPHASE determines whether the transmit frame has one phase or
two phases. For each phase you can define the serial word length
and the number of serial words in the phase. To set up phase 1,
program XWDLEN1 (word length) and XFRLEN1 (number of words).
To set up phase 2 (if there are two phases), program XWDLEN2 and
XFRLEN2.
Reset type: SYSRSn
14-8
XFRLEN2
R/W
0h
Transmit frame length 2 (1 to 128 words).
Each frame of transmit data can have one or two phases, depending
on value that you load into the XPHASE bit. If a single-phase frame
is selected, XFRLEN1 in XCR1 selects the number of serial words
(8, 12, 16, 20, 24, or 32 bits per word) in the frame. If a dual-phase
frame is selected, XFRLEN1 determines the number of serial words
in phase 1 of the frame and XFRLEN2 in XCR2 determines the
number of words in phase 2 of the frame. The 7-bit XFRLEN fields
allow up to 128 words per phase. See
to determine
the frame length. This length corresponds to the number of words or
logical time slots or channels per frame-synchronization period.
Program the XFRLEN fields with [w minus 1], where w represents
the number of words per phase. For
example, if you want a phase length of 128 words in phase 1, load
127 into XFRLEN1.
Reset type: SYSRSn
Multichannel Buffered Serial Port (McBSP)
972
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......