3 initializing just the esai receiver section, Initializing just the esai receiver section -50 – Freescale Semiconductor DSP56366 User Manual
Page 200

ESAI Initialization Examples
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
8-50
Freescale Semiconductor
•
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.
8.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.