10-52
DSP56367
MOTOROLA
Enhanced Serial Audio Interface (ESAI)
Operating Modes
The relative timing of the word length frame sync as referred to the data word is specified by
the TFSR bit in the TCR register for the transmitter section, and by the RFSR bit in the RCR
register for the receive section. The word length frame sync may be generated (or expected)
with the first bit of the data word, or with the last bit of the previous word. TFSR and RFSR
are ignored when a bit length frame sync is selected.
Polarity of the frame sync signal may be defined as positive (asserted high) or negative
(asserted low). The TFSP bit in the TCCR register specifies the polarity of the frame sync for
the transmitter section. The RFSP bit in the RCCR register specifies the polarity of the frame
sync for the receiver section.
The ESAI receiver looks for a receive frame sync leading edge (trailing edge if RFSP is set)
only when the previous frame is completed. If the frame sync goes high before the frame is
completed (or before the last bit of the frame is received in the case of a bit frame sync or a
word length frame sync with RFSR set), the current frame sync is not recognized, and the
receiver is internally disabled until the next frame sync. Frames do not have to be adjacent –
i.e., a new frame sync does not have to immediately follow the previous frame. Gaps of
arbitrary periods can occur between frames. Enabled transmitters are tri-stated during these
gaps.
When operating in the synchronous mode (SYN=1), all clocks including the frame sync are
generated by the transmitter section.
10.4.4.4
Shift Direction Selection
Some data formats, such as those used by codecs, specify MSB first while other data formats,
such as the AES-EBU digital audio interface, specify LSB first. The MSB/LSB first selection
is made by programming RSHFD bit in the RCR register for the receiver section, and by
programming the TSHFD bit in the TCR register for the transmitter section.
10.4.5
SERIAL I/O FLAGS
Three ESAI pins (FSR, SCKR and HCKR) are available as serial I/O flags when the ESAI is
operating in the synchronous mode (SYN=1). Their operation is controlled by RCKD, RFSD,
TEBE bits in the RCR, RCCR and SAICR registers.The output data bits (OF2, OF1 and OF0)
and the input data bits (IF2, IF1 and IF0) are double buffered to/from the HCKR, FSR and
SCKR pins. Double buffering the flags keeps them in sync with the TX and RX data lines.
Each flag can be separately programmed. Flag 0 (SCKR pin) direction is selected by RCKD,
RCKD=1 for output and RCKD=0 for input. Flag 1 (FSR pin) is enabled when the pin is not
configured as external transmitter buffer enable (TEBE=0) and its direction is selected by
RFSD, RFSD=1 for output and RFSD=0 for input. Flag 2 (HCKR pin) direction is selected by
RHCKD, RHCKD=1 for output and RHCKD=0 for input.
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: ......