Table 15-31. Register Bits Used to Set the Receive Data Delay (continued)
Register
Bit
Name
Function
Type
Reset
Value
RDATDLY = 11
Reserved
15.7.12.1 Data Delay
The start of a frame is defined by the first clock cycle in which frame synchronization is found to be active.
The beginning of actual data reception or transmission with respect to the start of the frame can be delayed if
required. This delay is called data delay.
RDATDLY specifies the data delay for reception. The range of programmable data delay is zero to two bit-
clocks (RDATDLY = 00b-10b), as described in
. In this figure, the data
transferred is an 8-bit value with bits labeled B7, B6, B5, and so on. Typically a 1-bit delay is selected, because
data often follows a 1-cycle active frame-synchronization pulse.
15.7.12.2 0-Bit Data Delay
Normally, a frame-synchronization pulse is detected or sampled with respect to an edge of internal serial clock
CLK(R/X). Thus, on the following cycle or later (depending on the data delay value), data may be received or
transmitted. However, in the case of 0-bit data delay, the data must be ready for reception and/or transmission
on the same serial clock cycle.
For reception, this problem is solved because receive data is sampled on the first falling edge of MCLKR where
an active-high internal FSR is detected. However, data transmission must begin on the rising edge of the internal
CLKX clock that generated the frame synchronization. Therefore, the first data bit is assumed to be present in
XSR1, and thus on DX. The transmitter then asynchronously detects the frame-synchronization signal (FSX)
going active high and immediately starts driving the first bit to be transmitted on the DX pin.
B5
B6
B7
B4
B5
B6
B7
B3
B4
B5
B6
B7
Data delay 2
D(R/X)
Data delay 1
D(R/X)
Data delay 0
D(R/X)
FS(R/X)
CLK(R/X)
1-bit delay
Á
Á
Á
Á
ÁÁ
ÁÁ
ÁÁ
ÁÁ
Á
Á
Á
Á
0-bit delay
2-bit delay
Figure 15-46. Range of Programmable Data Delay
15.7.12.3 2-Bit Data Delay
A data delay of two bit periods allows the serial port to interface to different types of T1 framing devices where
the data stream is preceded by a framing bit. During reception of such a stream with data delay of two bits
(framing bit appears after a 1-bit delay and data appears after a 2-bit delay), the serial port essentially discards
the framing bit from the data stream, as shown in
. In this figure, the data transferred is an 8-bit
value with bits labeled B7, B6, B5, and so on.
Multichannel Buffered Serial Port (McBSP)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
927
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......