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: Mapping Error/Alarm Conditions to Interrupts

Hello,

I'm trying to map the error/alarm condition of AIF2 interface to HWI; I do the following actions:

CSL_Aif2EeDbInt.EeDbInt;

 

EeDbInt.db_ee_i_fifo_ovfl_err = TRUE;  //DB Ingress FIFO Overflow Error Enable Set.

   EeDbInt.db_ee_e_cd_data_err = TRUE;   //DB Egress PKTDMA Data Error Enable Set.

   EeDbInt.db_ee_e_cd_data_type_err = TRUE; //DB Egress PKTDMA Data Type Error Enable Set.

 

   hAif2->ee_arg = CSL_AIF2_EE_INT_SET;

   CSL_aif2HwControl(hAif2,CSL_AIF2_CMD_EE_DB_INT , (void*) &EeDbInt);

 

   hAif2->ee_arg = CSL_AIF2_EE_INT_EN_SET_EV0;

   CSL_aif2HwControl(hAif2,CSL_AIF2_CMD_EE_DB_INT , (void*) &EeDbInt);

 

   hAif2->ee_arg = CSL_AIF2_EE_INT_EN_SET_EV1;

   CSL_aif2HwControl(hAif2,CSL_AIF2_CMD_EE_DB_INT , (void*) &EeDbInt);

 

 

When I perform:

CSL_aif2GetHwStatus(hAif2, CSL_AIF2_QUERY_EE_DB_INT_STATUS, (void *)&EEstatus);

I obtain:

 

EEstatus = {...}

db_ee_i_trc_ram_ovfl_err = 20480

db_ee_i_token_ovfl_err = 132

db_ee_i_fifo_ovfl_err = 20480

db_ee_i_pd2db_full_err = 132

db_ee_e_ps_axc_err = 20480

db_ee_e_cd_data_err = 132

db_ee_e_cd_data_type_err = 49152

What means?
How I can map error/alarm condition to HWI?
Best Regards, Angelo

 

 

  • Hi,

    I think your question is quite broad.

    Our Key stone AIF user's guide EE register chapter raw status register shows what each field means and if it is critical error or just information.

    you can get that document from below link.

    http://focus.ti.com/docs/prod/folders/print/tms320tci6616.html

    you can also additional information about interrupt matching between AIF2 EE and interrupt module within DSP core from our TCI6616 data sheet.

    you also can get this document from the above link.

    TI FAE is the right person who can help this kind of issues. please contact any TI support person around you if you need more help.

    Regards,

    TI apps team