AnsweredAssumed Answered

How to change output channels on ADSP-21479

Question asked by johnmurray on May 17, 2011
Latest reply on May 18, 2011 by johnmurray

I am comparing the C Block-based talkthrough (using 48kHz or 96 kHz sample rates) and C Sample-based Talkthrough (using 48kHz or 96 kHz sample rates) examples.

 

The Block based example uses SPORT1_isr.c and the Sample based example uses SPORT1_ISR_processor_samples_.asm.

 

Block based:

     Input to ADC IN 1  gives output on DAC OUT1 and DAC OUT2 and Input to ADC IN2 gives output on DAC OUT3 and DAC OUT4.

 

|  J8 |         J4           |        J5          |
---------------------------------------
|       | *O3l*  | *O3r*   | *O4l*   | *O4r*  |
|       | +O1l+ | +O1r+ | +O2l+ | +O2r+ |
| *H* | +I1l+   | +I1r+   | *I2l*    | *I2r*    |
---------------------------------------

 

Sampe based:

     Input to ADC1  gives output on DAC OUT3 and DAC OUT4 and Input to ADC2 gives output on DAC OUT1 and DAC OUT2.

 

|  J8 |          J4          |       J5          |
---------------------------------------
|       | *O3l*   | *O3r*  | *O4l*   | *O4r* |
|       | +O1l+ | +O1r+ | +O2l+ | +O2r+ |
| *H* | *I1l*     | *I1r*    | +I2l+   | +I2r+ |
---------------------------------------

 

So the one is + + * * and the other is * * + +

The outputs are mapped differently.

 

I would like to know how to change these seettings.

How can I change the Sample based example to go from In1->Ou4 to In1->Out1 like the Block based example

and how to change this mapping in general, can I change In1->Out3 etc.....

and can I do this on the fly?

Outcomes