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.

About C674x McASP AFIFO

Guru 15520 points

Hi,

I have a question about C674x McASP AFIFO.

If we use 4 serializer as receiver, each serializer receive data simultaneously.
So, if we use AFIFO, in which order does data from each serializer go into AFIFO ?
Is it depend to serializer number?
My guess is if using Serializer0,1,2, and 3,
data of Serializer0 goes to AFIFO first and last is Serializer3.
Am I correct?

best regards,
g.f.

  • Hi g.f,

    Thanks for your post.

    To address your query, each serializer will have a dedicated data buffer (XRBUF) to receive data and as per your case, 4 serializers will receive data simultaneously in their XRBUF individually and it is not mandatory for the data from each serializer to go into AFIFO. AFIFO is used for some other purpose and it is treated as a block between McASP and the host/DMA controller. Please refer Section 23.2.4.4 & 23.1.4 in the C6748 TRM below:

    http://www.ti.com/lit/spruh79

    Basically, the McASP Audio FIFO (AFIFO) provides additional data buffering for the McASP. The time it takes the host or DMA controller to respond to DMA requests from the McASP may vary, so the additional buffering provided by the AFIFO allows greater tolerance to such variations. This is the purpose of AFIFO in the McASP module.

    I hope, it clarifies your query.

    Thanks & regards,

    Sivaraj K

    ----------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    ----------------------------------------------------------------------------------------------------------

     

  • Hi Sivaraj,

    Thank you so much for the reply.

    I'm sorry that a question is incomprehensible.
    I understand that 4 serializers will receive data simultaneously in their RBUF individually.

    What I want to know is, if we enable AFIFO(Read FIFO)
    I guess received data in each RBUF will go into the Read FIFO,
    so in which order the data of each RBUF goes into the Read FIFO?

    best regards,
    g.f.

  • Hi g.f,

    Thanks for your response.

    Basically AFIFO provides additional buffering for the McASP module when it requests DMA controller for audio data transfer.

    In your case, if the received data in each XRBUF send to Read FIFO, it will receive the data in FIFO order (First in First out) from 4 serializers.

    ------------------------------------------------------------------------------------------------
    Please click the
    Verify Answer button on this post if it answers your question.
    ------------------------------------------------------------------------------------------------

    Thanks & regards,

    Sivaraj K