•
Configure the control registers TCCR and TCR according to the operating mode,
making sure to clear the transmitter enable bits (TE0 - TE5). TPR must remain set.
•
Take the transmitter section out of the personal reset state by clearing TPR.
•
Write first data to the transmitters which will be used during operation. This step is
needed even if DMA is used to service the transmitters.
•
Enable the transmitters by setting their TE bits.
•
Data is transmitted only when the transmitter enable (TEx) bit is set and after the
occurrence of frame sync signal (either internally or externally generated). The
transmitter outputs remain tri-stated after TEx bit is set until the frame sync occurs.
•
From now on the transmitters are operating and can be serviced either by polling,
interrupts, or DMA.
10.6.3
INITIALIZING JUST THE ESAI RECEIVER SECTION
•
It is assumed that the ESAI is operational; that is, at least one pin is defined as an ESAI
pin.
•
The receiver section should be in its personal reset state (RPR = 1).
•
Configure the control registers RCCR and RCR according to the operating mode,
making sure to clear the receiver enable bits (RE0 - RE3). RPR must remain set.
•
Take the receiver section out of the personal reset state by clearing RPR.
•
Enable the receivers by setting their RE bits.
•
From now on the receivers are operating and can be serviced either by polling,
interrupts, or DMA.
MOTOROLA
Enhanced Serial Audio Interface (ESAI)
DSP56367
ESAI Initialization Examples
10-57