Data And Frames; Frame Synchronization Phases; Dual-Phase Frame Example - Texas Instruments TMS320C6000 Reference Manual

Dsp multichannel buffered serial port (mcbsp)
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

Clocks, Frames, and Data
4.5

Data and Frames

4.5.1

Frame Synchronization Phases

Figure 10.

Dual-Phase Frame Example

Element 1
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
CLK(R/X)
Á
Á Á
Á Á
Á
Á Á
Á
Á
Á Á
FS(R/X)
D(R/X)
Á
32
Multichannel Buffered Serial Port (McBSP)
Frame synchronization indicates the beginning of a transfer on the McBSP.
The data stream following frame synchronization can have up to two phases,
phase 1 and phase 2. The number of phases can be selected by the phase bit,
(R/X)PHASE, in RCR and XCR. The number of elements per frame and bits
per element can be independently selected for each phase via
(R/X)FRLEN1/2 and (R/X)WDLEN1/2, respectively. Figure 10 shows a frame
in which the first phase consists of two elements of 12 bits, each followed by
a second phase of three elements of 8 bits each. The entire bit stream in the
frame is contiguous; no gaps exist either between elements or phases. Table 8
shows the fields in the receive/transmit control registers (RCR/XCR) that
control the frame length and element length for each phase for both the receiver
and the transmitter. The maximum number of elements per frame is 128 for
a single-phase frame and 256 elements in a dual-phase frame. The number
of bits per element can be 8, 12, 16, 20, 24, or 32.
Note:
For a dual-phase frame with internally generated frame sync, the maximum
number of elements per phase depends on the word length. This is because
the frame period, FPER, is only 12-bits wide and, therefore, provides
4 096 bits per frame. Hence, the maximum number of 256 elements per dual-
phase frame applies only when the WDLEN is 16 bits. However, any
combination of element numbers and element size (defined by FRLEN and
WDLEN, respectively) is valid as long as their product is less than or equal
to 4096 bits. This limitation does not apply for dual-phase with external frame
sync.
Phase 1
Phase 1
Element 2
Á
Á Á
Á
Á Á
Á
Á
Á Á
Á
Á Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Phase 2
Element 1
Á
Á Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á
Á Á
Phase 2
Phase 2
Element 3
Element 2
Á
Á Á
Á Á
Á
Á Á
Á
Á
Á
Á Á
Á
Á Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á
Á
Á Á
Á
Á Á
Á
Á Á
Á Á
Á
Á
Á Á
Á
SPRU580C

Advertisement

Table of Contents
loading

Table of Contents