Architecture
1549
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Universal Parallel Port (uPP)
32.2.6.2 Sample Configuration Settings
The uPP peripheral is flexible, with several orthogonal configuration choices.
summarizes
selecting the fundamental operating mode of the module.
NOTE:
Digital loopback (DLB) mode is a configuration that the uPP peripheral internally routes data
and control signals from one channel to the other. DLB can only be used when the peripheral
is configured in duplex mode (that is, UPCTL.MODE = 2h or 3h). DLB is primarily useful for
debug purposes, and requires no physical connections between channels. The standard uPP
pin multiplexing must be applied, however, even though the pins are not used.
Table 32-7. Basic Operating Mode Selection
Operating Mode
uPP Channel Control Register (UPCTL) Bit
uPP Digital Loopback Register (UPDLB) Bit
CHN
MODE
AB
BA
1-Channel Transmit
0
1
0
0
1-Channel Receive
0
0
0
0
2-Channel Transmit
1
1
0
0
2-Channel Receive
1
0
0
0
2-Channel Duplex 0
1
2h
0
0
2-Channel Duplex 1
1
3h
0
0
2-Channel Duplex 0 (DLB)
1
2h
0
1
2-Channel Duplex 1 (DLB)
1
3h
1
0
Other than
, there are several more choices to make (per channel):
•
Data width – 8-bit, 9-bit to 16-bit
•
Data packing – 9-bit to 15-bit data width only
•
Data rate – single, double
•
Data interleave –single channel only
•
Clock divisor – transmit only
•
Individual control signal enable
•
Individual control signal polarity
•
Idle value – transmit only
•
Transmit threshold – transmit only
•
DMA read burst size