Registers
1558
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Universal Parallel Port (uPP)
32.3.4 uPP Channel Control Register (UPCTL)
The uPP channel control register (UPCTL) controls uPP interface channel settings. This includes global
settings, such as the channel count and data interleave, and channel-specific settings such as bit width
and data rate.
The UPCTL also controls data formatting for 9-bit to 15-bit operating modes. For a channel with an N-bit
interface, the 16 – N MSBs are written or replaced (in receive or transmit mode, respectively) according to
the DPFB and DPFA fields. The uPP peripheral performs no data formatting for 8-bit and 16-bit modes.
The UPCTL is shown in
and described in
Figure 32-19. uPP Channel Control Register (UPCTL)
31
30
29
28
26
25
24
23
22
21
20
18
17
16
Rsvd
DPFB
DPWB
IWB
DRB
Rsvd
DPFA
DPWA
IWA
DRA
R-0
R/W-0
R/W-0
R/W-0
R/W-0
R-0
R/W-0
R/W-0
R/W-0
R/W-0
15
8
Reserved
R-0
7
5
4
3
2
1
0
Reserved
DDRDEMUX
SDRTXIL
CHN
MODE
R-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 32-14. uPP Channel Control Register (UPCTL) Field Descriptions
Bit
Field
Value
Description
31
Reserved
0
Reserved
30-29
DPFB
0-3h
Channel B data packing format. Applies only to 9-bit to 15-bit modes (IWB = 1 and DPWB != 0).
0
Right-justified, zero extended
1h
Right-justified, sign extended
2h
Left-justified, zero filled
3h
Reserved
28-26
DPWB
0-7h
Channel B bit width. Applies only if IWB = 1.
0
No data packing (8-bit or 16-bit case)
1h
9-bit data format
2h
10-bit data format
3h
11-bit data format
4h
12-bit data format
5h
13-bit data format
6h
14-bit data format
7h
15-bit data format
25
IWB
Channel B interface width. Controls whether Channel B performs 8-bit or 16-bit transactions.
0
8-bit interface
1
16-bit interface
24
DRB
Channel B data rate. Controls whether Channel B operates at single or double rate.
0
Single data rate
1
Double data rate
23
Reserved
0
Reserved
22-21
DPFA
0-3h
Channel A data packing format. Applies only to 9-bit to 15-bit modes (IWA = 1 and DPWA != 0).
0
Right-justified, zero extended
1h
Right-justified, sign extended
2h
Left-justified, zero filled
3h
Reserved