This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Scenario where AIF2 external redirection and data aggregation works together ?

Hello,

I am working on TCI6670 evm.

In AIF2 programming document, we have Figure 22 i.e. <<AIF connections between two DSPs on C6670 EVM>>

Now, I need to send DSP0 data and DSP1 data ,aggregated together, and sent out to RF through one CPRI link

As per usage of below structure,

typedef enum
{
   /** Retransmit mode */
   CSL_AIF2_PE_RT_RETRANS = 0,
   /** PE Insert mode */
   CSL_AIF2_PE_RT_INSERT,
   /** aggregate 8 bit mode */
   CSL_AIF2_PE_RT_ADD8,
   /** aggregate 16 bit mode  */
   CSL_AIF2_PE_RT_ADD16

} CSL_Aif2PeRtContol;

I need to perform following operations on my software:

1. DSP0 aif2 receives it's egress data from it's LINK 2 and DSP1 aif2 receives it's egress data from it's LINK 3

2. DSP1 redirects its data to it's LINK0(link connecting DSP0 and DSP1) using link configuration based on  CSL_AIF2_PE_RT_RETRANS flag

3. DSP1 needs to EXTERNAL REDIRECT it's data to DSP0 through this LINK0 via AIF2_2_AIF2 configuration

4. Now, shall I configure a new link on DSP0,say, LINK 4 , to aggregate data from LINK2 of DSP0 and from LINK0 of DSP0(containing DSP1 LINK3 data)  by using CSL_AIF2_PE_RT_ADD16 configuration? Is it feasible to do so?

Please advise whether I am proceeding in the correct manner.

Regards,

Jeanne 

  • Hi,

    I cannot understand your configuration description because you are mixing 'egress, LINK, DSP' kind of wording without clear background description of your board setup. you'd better draw a figure for better understanding.

    basically, AIF2 support aggregation only for WCDMA and aggregation and redirection is different operation.

    if you want to aggregate two orthogonal AxC data, you may use CSL_AIF2_PE_RT_ADD16 for Downlink. (aggregation is normally used for Downlink operation)

    Regards,

    Albert

  • Hello Albert,

    Please consider the following figure from AIF2_Programming.pdf :-

    Given the figure,my Requirement is as follows for the desired scenario:-

    1. Only DSP0 is connected to our RF board through LINK 4. And, we have LTE software executing on each of the 2 DSPs - DSP0 and DSP1

    2. DSP0 processes 1st Antenna Carrier(AxC) data and DSP1 processes 2nd Antenna Carrier(AxC) data

    3. Now, we need to send and receive(UL/DL) both AxCs data from DSP0  LINK4  simultaneously.

    4. Both AxCs data are independent of each other ,i.e., as per my understanding, they don't need to be aggregated but needs to be sent/received together from the RF.

    On the basis of my above requirement,

    I think we need to proceed in the following way-

    1. I will configure DSP1 LINK0 at 4x link rate. At runtime, only AxC0 data gets feeded or retrieved from DSP1 LINK0.

    2. As shown in figure, LINK0 of both DSP0 and DSP1 are hardwired. This implies that we have AxC0 (above point) data also available at DSP0 LINK0. Right?

    3. I will also configure DSP0 LINK4 at 4x link rate. At runtime,DSP0 processes(UL/DL) only LINK4 AxC1 data.

    4.Now, what I need to do is that I need to send/receive AxC0 data (available presently at DSP0 LINK0) along with AxC1 data(available at DSP1 LINK4 itself by DSP1) on DSP0 LINK4 - (since this is the LINK CONNECTED to RF).This is the question. How to perform this operation i.e. what specific aif2 configuration is required?

    Please let me know if something is not clarified.

    Please guide how to proceed in this scenario.

    Regards,

    Jeanne

     

  • I cannot see any figure attached. you have to use attachment option button to upload figure.

    Regards,

    Albert

  • Hi Albert,

    Please find the picture attached for the queries posted in my previous post. 

    Please advise.

    Regards,

    Jeanne

  • Jeanne,

    It is still hard for me to understand your intention by reading your description.

    basically, it looks like you don't want aggregation but just want to do re-transmission of DSP0 Link4 Rx data to Link0 Tx and transfer it to DSP1 Link0 Rx. if this is your plan, it is possible but I don't understand why you need this, because you can simply feed data from RF to each DSP through link 4. why are you trying to use Link0 for what purpose.

    your description looks too much confusing to me.

    Regards,

    Albert