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.

Could c6678 generate SRIO Tx completion interrupter?

hello,everyone:

My hardware: evm6678, and software: ccs5.4

I have some questions:

In the TI srio example,after srio transmited all datas, the program invoke the function "Keystone_SRIO_wait_LSU_completion" to poll the Completion Code, the codes as follow:

do
{
uiCompletionCode=(srioRegs->LSU_STAT_REG[uiStateIndex/8]>>
((uiStateIndex&7)*4))&0xF;
}
while((uiCompletionCode&1) != contextBit);

 

but poll the Completion Code will waste the CPU,so I want to use interrupter to judge whether the transmission has completed.

1.whether the srio providedthe transmited Completion interrupter?

2.if the srio provide, how I initialize the interrupter?

could you give me some ideaes,  my project is very urgency,

Thank you !!!

          Best Regards

              Atower