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.

TDA4VH-Q1: DMA Priming - Queue and Deque

Part Number: TDA4VH-Q1

Tool/software:

I am implementing a DMA priming setup that operates on a wait-based polling mechanism rather than event-driven mechanism. Given that I have multiple queue operations, I need to understand the optimal approach for dequeue operations. Specifically:

  1. Should each queue call be paired with a corresponding dequeue operation, or can the dequeue process be optimized?
    1. Ex: If I have 4 sequential Udma_ringQueueRaw() calls, should there be 4 corresponding Udma_ringDequeueRaw() calls, or can a single dequeue call handle multiple queued operations efficiently?
  2. Are there more efficient polling strategies that could improve performance while maintaining the wait-based architecture?

I would appreciate insights on best practices for optimizing polling-based DMA queue management.