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.

BCP Input data alignment problem

Hi , everyone. I am learning the BCP module on C6670 and I have several question about the input data format.

In the SPRUGZ1.pdf, I know that the BCP Header total length must be a multiple of 128 bit,  submodule local header must be a multiple of 32 bit. Is it necessary for th BCP Header to start at the align of 128bit?

In the BCP PDK  "bcp_lld.c" Bcp_addTMHeader() function, there are some comment  like below, it says the user info must start on a 128 bit boundary.

And in the pdf Figure 3-3, it says the payload must start on 128-bit boundary. 

I did not find any other words to prove this two requirement.  Is this two requirement truely necessary?

Thank you.

 

  • Hi Zi,

    The BCP header does not need to start at a 128-bit aligned address but the total length of the BCP header must be a multiple of 128-bits. The DSP must add dummy words to the end of the complete header if necessary, to make the header length a multiple of 128 bits and to make the payload start at the next 128-bit boundary.

    Pleae refer section 3.1.2 and Figure 3-3 (example packet for LTE downlink) in the BCP user guide.

    Regards
    -Nitin