10-34
DSP56367
MOTOROLA
Enhanced Serial Audio Interface (ESAI)
ESAI Programming Model
clearing RPR, the procedure described in Section 10.6, “ESAI Initialization Examples” should
be followed.
10.3.4.13
RCR Receive Exception Interrupt Enable (REIE) - Bit 20
When REIE is set, the DSP is interrupted when both RDF and ROE in the SAISR status
register are set. When REIE is cleared, this interrupt is disabled. Reading the SAISR status
register followed by reading the enabled receivers data registers clears ROE, thus clearing the
pending interrupt.
10.3.4.14
RCR Receive Even Slot Data Interrupt Enable (REDIE) - Bit 21
The REDIE control bit is used to enable the receive even slot data interrupts. If REDIE is set,
the receive even slot data interrupts are enabled. If REDIE is cleared, the receive even slot
data interrupts are disabled. A receive even slot data interrupt request is generated if REDIE is
set and the REDF status flag in the SAISR status register is set. Even time slots are all
even-numbered time slots (0, 2, 4, etc.) when operating in network mode. The zero time slot is
marked by the frame sync signal and is considered to be even. Reading all the data registers of
the enabled receivers clears the REDF flag, thus servicing the interrupt.
Receive interrupts with exception have higher priority than receive even slot data interrupts,
therefore if exception occurs (ROE is set) and REIE is set, the ESAI requests an ESAI receive
data with exception interrupt from the interrupt controller.
10.3.4.15
RCR Receive Interrupt Enable (RIE) - Bit 22
The DSP is interrupted when RIE and the RDF flag in the SAISR status register are set. When
RIE is cleared, this interrupt is disabled. Reading the receive data registers of the enabled
receivers clears RDF, thus clearing the interrupt.
Receive interrupts with exception have higher priority than normal receive data interrupts,
therefore if exception occurs (ROE is set) and REIE is set, the ESAI requests an ESAI receive
data with exception interrupt from the interrupt controller.
10.3.4.16
RCR Receive Last Slot Interrupt Enable (RLIE) - Bit 23
RLIE enables an interrupt after the last slot of a frame ended in network mode only. When
RLIE is set the DSP is interrupted after the last slot in a frame ended regardless of the receive
mask register setting. When RLIE is cleared the receive last slot interrupt is disabled.
Hardware and software reset clear RLIE. RLIE is disabled when RDC[4:0]=00000
(on-demand mode). The use of the receive last slot interrupt is described in Section 10.4.3,
“ESAI Interrupt Requests”.
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: ......