10-48
DSP56367
MOTOROLA
Enhanced Serial Audio Interface (ESAI)
Operating Modes
After hardware or software reset, the RSM register is preset to $FFFFFFFF, which means that
all 32 possible slots are enabled for data reception.
Note:
When operating in normal mode, bit 0 of the mask register must be set to one,
otherwise no input is received.
10.4
OPERATING MODES
ESAI operating mode are selected by the ESAI control registers (TCCR, TCR, RCCR, RCR
and SAICR). The main operating mode are described in the following paragraphs.
10.4.1
ESAI AFTER RESET
Hardware or software reset clears the port control register bits and the port direction control
register bits, which configure all ESAI I/O pins as disconnected. The ESAI is in the individual
reset state while all ESAI pins are programmed as GPIO or disconnected, and is active only if
at least one of the ESAI I/O pins is programmed as an ESAI pin.
10.4.2
ESAI INITIALIZATION
The correct way to initialize the ESAI is as follows:
1. Hardware, software, ESAI individual, or STOP reset.
2. Program ESAI control and time slot registers.
3. Write data to all the enabled transmitters.
4. Configure at least one pin as ESAI pin.
During program execution, all ESAI pins may be defined as GPIO or disconnected, causing
the ESAI to stop serial activity and enter the individual reset state. All status bits of the
interface are set to their reset state; however, the control bits are not affected. This procedure
allows the DSP programmer to reset the ESAI separately from the other internal peripherals.
During individual reset, internal DMA accesses to the data registers of the ESAI are not valid
and data read is undefined.
The DSP programmer must use an individual ESAI reset when changing the ESAI control
registers (except for TEIE, REIE, TLIE, RLIE, TIE, RIE, TE0-TE5, RE0-RE3) to ensure
proper operation of the interface.
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: ......