15.11.6 SPCR1 Register (Offset = 5h) [reset = 0h]
SPCR1 is shown in
.
Return to the
.
SPCR1 contains control and status bits for various McBSP functions such as digital loopback, receive data
justification, clock stop mode, receive interrupt mode, DX pin delay enabler, receiver status bits, and receiver
reset control.
Figure 15-70. SPCR1 Register
15
14
13
12
11
10
9
8
DLB
RJUST
CLKSTP
RESERVED
R/W-0h
R/W-0h
R/W-0h
R-0h
7
6
5
4
3
2
1
0
DXENA
RESERVED
RINTM
RSYNCERR
RFULL
RRDY
RRST
R/W-0h
R/W-0h
R/W-0h
R-0h
R-0h
R/W-0h
Table 15-78. SPCR1 Register Field Descriptions
Bit
Field
Type
Reset
Description
15
DLB
R/W
0h
Digital loopback mode bit.
DLB disables or enables the digital loopback mode of the McBSP:
Reset type: SYSRSn
0h (R/W) = Disabled
Internal DR is supplied by the MDRx pin. Internal FSR and internal
MCLKR can be supplied by their respective pins or by the sample
rate generator, depending on the mode bits FSRM and CLKRM.
Internal DX is supplied by the MDXx pin. Internal FSX and internal
CLKX are supplied by their respective pins or are generated
internally, depending on the mode bits FSXM and CLKXM.
1h (R/W) = Enabled
Internal receive signals are supplied by internal transmit signals:
MDRx connected to MDXx
MFSRx connected to MFSXx
MCLKR connected to MCLKXx
This mode allows you to test serial port code with a single DSP. The
McBSP transmitter directly supplies data, frame synchronization, and
clocking to the McBSP receiver.
14-13
RJUST
R/W
0h
Receive sign-extension and justification mode bits.
During reception, RJUST determines how data is justified and bit
filled before being passed to the data receive registers (DRR1,
DRR2). RJUST is ignored if you enable a companding mode with
the RCOMPAND bits. In a companding mode, the 8-bit compressed
data in RBR1 is expanded to left-justified 16-bit data in DRR1.
Reset type: SYSRSn
0h (R/W) = Right justify the data and zero fill the MSBs
1h (R/W) = Right justify the data and sign-extend the data into the
MSBs
2h (R/W) = Left justify the data and zero fill the LSBs
3h (R/W) = Reserved (do not use)
Multichannel Buffered Serial Port (McBSP)
966
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......