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.

AIF2 LTE example System events

Hi,

There are 8 primary system events 102 - 109 from AIF module in C6670.

event period LTE
109 10ms frame
108 1ms subframe
107 0.5ms slot
106 -  
105 -  
104 -  
103 -  
102 10ms ????

I think 108 and 109 are generated from AIF Timer submodule (frame and symbol counter).

Which submodule generates event 102 - 107?

I didn't found any further information in AIF2 user guide about internal event mapping.

Figure 7-1 (AIF2 Hardware Architecture) says events are generated from all modules and Timer ??

Where can I found some detailed information?

Thanks Matthias

  • Hi,

    all 8 events (102 ~ 109) are directly connected to AIF2 AT and it is broadcasted to all four CPUs in the 6670. you can not find this kind of information from AIF2 UG because this is device specific configuration. please see 6670 data manual if you want to know more detail about interrupt and event connection.

    Regards,

    Albert 

  • Hi Albert,

    I configure a bios  and route event 109 to irq 12, event 108 to irq 11 and event 107-102 with the event combiner to irq 10.
    Similar to the LTE example source code.

    now i see:

    109 -> LTE radio frame (10ms)
    108 -> LTE subframe (1ms)
    107 -> LTE slot (0.5ms)
    106 -> Not used
    105 -> Not used
    104 -> Not used
    103 -> Not used
    102 -> LTE radio frame (10ms)

    When all events are triggered from AIF2 AT, are there 8 counter for each event.

    At the moment I'm looking for the reason, why event 102 have the same 10ms period like event 109.

    I also want to know which case triggers the events 103 to 106 ?

    Regards,
    Matthias

  • I can't understand your question. AT has 8 external events and you can configure any event you want. if you only need 4 events, you can set four events and that's it. each event is broadcasted to all GEMs in the DSP and you can select which event is used for which GEM core. it is flexible.  

    At the moment I'm looking for the reason, why event 102 have the same 10ms period like event 109. [AB] that's because you chose the same strobe option like "Radio frame" for 102 and 109 AT event.

    Albert

  • Hi Albert,

    now I understand and found it in the AIF2 LLD ;-)

    I try to enable Event 4 for LTE symbol wise event generation.

    The following is slot wise:

            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventSelect = CSL_AIF2_EVENT_4;
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventOffset  = 66000; // <- change here
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EvtStrobeSel = CSL_AIF2_RADT_FRAME; // <- change here
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventModulo     = 122880-1;// <- change here
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventMaskLsb = 0xFFFFFFFF; // only for GSM so NA
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventMaskMsb = 0xFFFFFFFF; // only for GSM so NA
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->bEnableRadEvent[4] = TRUE; // Enable Event


    I saw that the settings from http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/156841.aspx are already done in the AIF2 LLD 1.0.0.8.

    Do you know what I have to change, to get LTE symbol wise events?

    Which EventStrobe and/or EventModulo is the right for me, get a LTE OFDM symbol wise event for normal and extended cyclic prefix.

    Thanks a lot
    Matthias


  •         aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EvtStrobeSel = CSL_AIF2_RADT_FRAME; [albert] change to CSL_AIF2_RADT_SYMBOL
            and set   RadTimerTc.SymbolNum = 139; //set LTE Symbol TC to 139
       RadTimerTc.LutIndexNum = 6; //set LTE LutIndex TC to 6
       AtCommonSetup.AtTerminalCount.RadClockCountTc[0] = 22079;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[1] = 21919;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[2] = 21919;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[3] = 21919;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[4] = 21919;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[5] = 21919;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[6] = 21919;

    for normal cyclic prefix LTE symbols, then you will get event every LTE symbol time.

    Hope this could help

    Albert

  • Hi Albert,

    thanks for you help. We use CPRI here and i'm a little bit confused about you settings in the previous post.

    At the moment the LLD configures:

       RadTimerTc.SymbolNum = 139; //set LTE Symbol TC to 139
       RadTimerTc.LutIndexNum = 6; //set LTE LutIndex TC to 6
       AtCommonSetup.AtTerminalCount.RadClockCountTc[0] = 17663;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[1] = 17535;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[2] = 17535;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[3] = 17535;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[4] = 17535;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[5] = 17535;
       AtCommonSetup.AtTerminalCount.RadClockCountTc[6] = 17535;


    I try this:

            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventSelect = CSL_AIF2_EVENT_4;
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventOffset  = 0;
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EvtStrobeSel = CSL_AIF2_RADT_SYMBOL;
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventModulo  = 0xFFFFFFFF; // every symbol
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventMaskLsb = 0xFFFFFFFF; // only for GSM so NA
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->AtRadEvent[4].EventMaskMsb = 0xFFFFFFFF; // only for GSM so NA
            aifObj.hAif2Setup->commonSetup->pAtEventSetup->bEnableRadEvent[4] = TRUE; // Enable Event

    With event Modulo 0xFFFFFFFF and  CSL_AIF2_RADT_SYMBOL it works;-)

    Best regards,
    Matthias

  • great.

    I gave you OBSAI example, so your value is correct

    albert