Texas Instruments OMAP5912 Reference Manual page 1634

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

Figure 3.
McBSP Data Transfer Paths
RSR[1,2]
DR
Á Á Á Á
Á Á Á Á
Á Á Á Á
XSR[1,2]
DX
Á Á Á Á
2.1.1
Data Transfer Process for Word Length of 8, 12, or 16 Bits
2.1.2
Data Transfer Process for Word Length of 20, 24, or 32 Bits
SPRU762B
Compand
RBR[1,2]
RBR[1,2]
Á Á Á Á
Á Á Á Á
Expand
Á Á Á Á
Á Á Á Á
Compress
Á Á Á Á
If the word length is 16 bits or smaller, only one 16-bit register is needed at each
stage of the data transfer paths. The registers DRR2, RBR2, RSR2, DXR2,
and XSR2 are not used (written, read, or shifted).
Receive data arrives on the DR pin and is shifted into receive shift register 1
(RSR1). Once a full word is received, the content of RSR1 is copied to receive
buffer register 1 (RBR1), if RBR1 is not full with previous data. RBR1 is then
copied to data receive register 1 (DRR1), unless the previous content of DRR1
has not been read by the CPU or the DMA controller. If the companding feature
of the McBSP is implemented, the required word length is 8 bits and receive
data is expanded into the appropriate format before being passed from RBR1
to DRR1. For more details about reception, see section 2.5.
Transmit data is written by the CPU or the DMA controller to data transmit
register 1 (DXR1). If there is no previous data in transmit shift register (XSR1),
the value in DXR1 is copied to XSR1; otherwise, DXR1 is copied to XSR1 when
the last bit of the previous data is shifted out on the DX pin. If selected, the
companding module compresses 16-bit data into the appropriate 8-bit format
before passing it to XSR1. After transmit frame synchronization, the
transmitter begins shifting bits from XSR1 to the DX pin. For more details about
transmission, see section 2.6.
If the word length is larger than 16 bits, two 16-bit registers are needed at each
stage of the data transfer paths. The registers DRR2, RBR2, RSR2, DXR2,
and XSR2 are needed to hold the most significant bits.
Receive data arrives on the DR pin and is shifted first into RSR2 and then into
RSR1. Once the full word is received, the contents of RSR2 and RSR1 are
copied to RBR2 and RBR1, respectively, if RBR1 is not full. Then the contents
of RBR2 and RBR1 are copied to DRR2 and DRR1, respectively, unless the
previous content of DRR1 has not been read by the CPU or the DMA controller.
The CPU or the DMA controller must read data from DRR2 first and then from
DRR1. When DRR1 is read, the next RBR-to-DRR copy occurs. For more
details about reception, see section 2.5.
DRR[1,2]
DRR[1,2]
Á Á Á Á
Á Á Á Á
Á Á Á Á
DXR[1,2]
Á Á Á Á
Multichannel Buffered Serial Ports (McBSPs)
McBSP Operation
To CPU/DMA controller
From CPU/DMA controller
23

Advertisement

Table of Contents
loading

Table of Contents