SPRUJC6A December 2024 – July 2025 AM2752-Q1 , AM2754-Q1
Interleaving of audio data must be handled outside the ASRC module.
In stream mode each stereo stream / channel can be controlled by a separate EDMA. Both channels of one SRC must be in same clock zone. User can process the audio samples by putting the sample in appropriate channel data register. In stream mode the individual channel FIFO interrupt / interrupts are not consolidated. In stream mode, a stereo pair is individually assigned to an input and output clock zone. A stereo pair is assigned even if only one channel is active. A stereo pair can only be part of one clock zone.
ASRC Stream Mode Example shows and an example for stream mode where the two input channels of SRC0 (which are part of input Clock Zone 0) are moved to output Clock Zone 1.
Figure 12-9 ASRC Stream Mode ExampleThe basic functionality of the ASRC in stream mode follows the steps below for setting up a single channel. For more details on programming model, refer to Stream Mode Configuration Sequence.
At this point, the ASRC automation starts. The ASRC clock zone input and output rate estimators will start estimation of the input and output sample rates. Once the estimation has settled, the ASRC will initiate input and output event or interrupt generation based upon the input and output FIFO status.