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.

C66xx,AIF接口例程- Aif2 LTE Project,如何发送数据的?



在pdk 下 aif 的 test 中的 LTE project,20M,FDD,使用 2个link

main()中

1.  初始化了AIF,然后 pop Tx FreeQ 的 descriptor,初始化发送data,line 480 - 525,用变量symbolPkt 进行初始化;

2.  然后 AIF_startHW,—— 是否这个时候AIF就开始传送数据,还是等待 Fsynch?

3.  主程序后面没有 push descriptor 到相应AxC 的 TxQ,这些descriptor会不会被发送出去?

     因为在中断 Isr (line 250 - 340)中,用subframecount 计数,subframecount=30和31的时候

    才运行 Qmss_queuePushDesc()将 全局变量 symbolPkt 指向的descriptor,push 到TxQ中;

     但调试时发现,在subframecount <30,比如 = 14的时候,Isr 前半部分的

      rxSymCnt = Qmss_getQueueEntryCount (aifObj.pktDmaConfig.rxQAxC[chan]);

    从 RxQ 接收 rxSymCnt 不为0,——我认为这个地方应该为0,因为subframecount =30之前并没有

    push descriptor 到TxQ,所以数据不应该接从RxQ 收到;

不知道 对不对,请教,谢谢