Tcr Esai Transmit 5 Enable (Te5) - Bit 5 - Motorola DSP56367 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

Enhanced Serial Audio Interface (ESAI)
ESAI Programming Model
state. The on-demand mode transmit enable sequence can be the same as the normal mode, or
TE4 can be left enabled.
10.3.2.6

TCR ESAI Transmit 5 Enable (TE5) - Bit 5

TE5 enables the transfer of data from TX5 to the transmit shift register #5. When TE5 is set
and a frame sync is detected, the transmit #5 portion of the ESAI is enabled for that frame.
When TE5 is cleared, the transmitter #5 is disabled after completing transmission of data
currently in the ESAI transmit shift register. Data can be written to TX5 when TE5 is cleared
but the data is not transferred to the transmit shift register #5.
The SDO5/SDI0 pin is the data input pin for RX0 if TE5 is cleared and RE0 in the RCR
register is set. If both RE0 and TE5 are cleared the transmitter and receiver are disabled, and
the pin is tri-stated. Both RE0 and TE5 should not be set at the same time.
The normal mode transmit enable sequence is to write data to one or more transmit data
registers before setting TEx. The normal transmit disable sequence is to clear TEx, TIE and
TEIE after TDE equals one.
In the network mode, the operation of clearing TE5 and setting it again disables the
transmitter #5 after completing transmission of the current data word until the beginning of
the next frame. During that time period, the SDO5/SDI0 pin remains in the high-impedance
state. The on-demand mode transmit enable sequence can be the same as the normal mode, or
TE5 can be left enabled.
10.3.2.7
TCR Transmit Shift Direction (TSHFD) - Bit 6
The TSHFD bit causes the transmit shift registers to shift data out MSB first when TSHFD
equals zero or LSB first when TSHFD equals one (see
10.3.2.8
TCR Transmit Word Alignment Control (TWA) - Bit 7
The Transmitter Word Alignment Control (TWA) bit defines the alignment of the data word
in relation to the slot. This is relevant for the cases where the word length is shorter than the
slot length. If TWA is cleared, the data word is left-aligned in the slot frame during
transmission. If TWA is set, the data word is right-aligned in the slot frame during
transmission.
Since the data word is shorter than the slot length, the data word is extended until achieving
the slot length, according to the following rule:
1. If the data word is left-aligned (TWA=0), and zero padding is disabled (PADC=0),
then the last data bit is repeated after the data word has been transmitted. If zero
padding is enabled (PADC=1), zeroes are transmitted after the data word has been
transmitted.
10-18
Figure 10-13
DSP56367
and
Figure
10-14).
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents