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.

6670 PKTDMA

Hi,now I meet with a problem.

at the beginning ,I inited 7 descrptors (just as the example ,monothic mode )and then pushed one.

I read the status of queue using the setting bellow:

for(t_uitemp0=0;t_uitemp0<100;t_uitemp0++)
     {
      delay(1000);
      log_pakcet_g_uiTmpDescriptor[t_uitemp0]=get_descriptor_count(MONO_TX_Q0);
      log_byte_g_uiTmpDescriptor[t_uitemp0]=get_byte_count(MONO_TX_Q0);

     }

#define MONO_TX_Q0  512

delay(1000)is about 9000 clks

and the result is that from 0 to 12 ,the number of descriptor is 1,from 13 to the end of the number of descriptor  is 0,but the number of byte in the MONO_TX_Q0 is always 0.

In fact ,I think the number of byte in queue is the number I inited in the descriptor ,right?

  • Hi Chenyi

    I assume from your post that you referred to an AIF example in PDK?

    Have you tried importing one of the AIF examples from C:\ti\mcsdk_2_01_02_06\pdk_C6670_1_1_2_6\packages\ti\drv\exampleProjects, as shown in the snapshot below, into CCS and testing it?

    If so, please let me know which project you are testing on your setup, so I can try and recreate your scenario here?

    Do you get the same result with the PDK example?