Set The Receive Sign-Extension And Justification Mode; 2-Bit Data Delay Used To Skip A Framing Bit; Register Bits Used To Set The Receive Sign-Extension And Justification Mode; Example: Use Of Rjust Field With 12-Bit Data Value Abch - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
CLKR
FSR
DR

15.8.13 Set the Receive Sign-Extension and Justification Mode

The RJUST bits (see
how it is justified.
Table 15-32. Register Bits Used to Set the Receive Sign-Extension and Justification Mode
Register
Bit
Name
SPCR1
14-13 RJUST
15.8.13.1 Sign-Extension and the Justification
RJUST in SPCR1 selects whether data in RBR[1,2] is right- or left-justified (with respect to the MSB) in
DRR[1,2] and whether unused bits in DRR[1,2] are filled with zeros or with sign bits.
Table 15-33
and
Table 15-34
on an example 12-bit receive-data value ABCh. The second table shows the effect on an example 20-bit
receive-data value ABCDEh.
Table 15-33. Example: Use of RJUST Field With 12-Bit Data Value ABCh
RJUST
Justification
00b
Right
01b
Right
10b
Left
11b
Reserved
Table 15-34. Example: Use of RJUST Field With 20-Bit Data Value ABCDEh
RJUST
Justification
00b
Right
01b
Right
10b
Left
11b
Reserved
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
Figure 15-47. 2-Bit Data Delay Used to Skip a Framing Bit
2-bit delay
Framing bit
Table
15-32) determine whether data received by the McBSP is sign-extended and
Function
Receive sign-extension and justification mode
RJUST = 00
Right justify data and zero fill MSBs in DRR[1,2]
RJUST = 01
Right justify data and sign extend it into the MSBs in
DRR[1,2]
RJUST = 10
Left justify data and zero fill LSBs in DRR[1,2]
RJUST = 11
Reserved
show the effects of various RJUST values. The first table shows the effect
Extension
Zero fill MSBs
Sign extend data into MSBs
Zero fill LSBs
Reserved
Extension
Zero fill MSBs
Sign extend data into MSBs
Zero fill LSBs
Reserved
Copyright © 2012–2019, Texas Instruments Incorporated
B7
B6
Value in
DRR2
0000h
FFFFh
0000h
Reserved
Value in
DRR2
000Ah
FFFAh
ABCDh
Reserved
C28 Multichannel Buffered Serial Port (McBSP)
Receiver Configuration
B5
Reset
Type
Value
R/W
00
Value in
DRR1
0ABCh
FABCh
ABC0h
Reserved
Value in
DRR1
BCDEh
BCDEh
E000h
Reserved
1087

Advertisement

Table of Contents
loading

Table of Contents