Part Number: 66AK2G12
Other Parts Discussed in Thread: SYSBIOS
Hi,
My customer is development the code with below environment.
Device : 66AK2G12
Core : C66x
IDE : CCS v.10.4.0.00006
SDK : ti-processor-sdk-rtos-k2g-evm-06.03.00.106
PC : Windows 10
They are using "Runtime Object View" in CCS to monitor "CPU Load".
But in some cases, "CPU Load" gets stuck at 0% and does not work correctly.
In customer's code, there are three tasks are running:
a) Task A (runs 100usec cycle)
b) Task B (runs 1msec cycle)
c) system task (ti_sysbios_knl_Clock_workFunc)
In side Task A and Task B, DMA is working and EDMA3 LLD is used.
The issue happens after EDMA3_DRV_checkAndClearTcc() is called a several times for polling the DMA completion.
If EDMA3_DRV_checkAndClearTcc() is not called or called just once, "CPU Load" seems correctly working.
BTW, the program itself is working fine even "CPU Load" gets stuck at 0%.
Questions:
Q1) Any workaround to avoid the issue?
Q2) Do you know similar "CPU Load" issue before? What was solution?
Q3) Customer uses EDMA3_DRV_checkAndClearTcc() in loop to poll the completion of the DMA transfer. Is this acceptable? Any concerns here?
Thanks and regards,
Koichiro Tashiro