10-18
DSP56367
MOTOROLA
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
Figure 10-13
and
Figure 10-14
).
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.
Summary of Contents for DSP56367
Page 16: ...xvi MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 22: ...xxii MOTOROLA List of Figures Figure Number Title Page Number ...
Page 26: ...xxvi MOTOROLA List of Tables Table Number Title Page Number ...
Page 148: ...4 6 DSP56367 MOTOROLA Design Considerations PLL Performance Issues ...
Page 248: ...9 30 DSP56367 MOTOROLA Serial Host Interface SHI Programming Considerations ...
Page 306: ...10 58 DSP56367 MOTOROLA Enhanced Serial Audio Interface ESAI ESAI Initialization Examples ...
Page 389: ...Bootstrap ROM Contents MOTOROLA DSP56367 A 15 end ...
Page 390: ...A 16 DSP56367 MOTOROLA Bootstrap ROM Contents ...
Page 432: ...C 8 DSP56367 MOTOROLA JTAG BSDL ...
Page 484: ...D 52 DSP56367 MOTOROLA Programmer s Reference ...
Page 490: ...E 6 DSP56367 MOTOROLA Power Consumption Benchmark ...
Page 516: ...F 26 DSP56367 MOTOROLA IBIS Model ...
Page 522: ...Index 6 MOTOROLA Index ...
Page 523: ......