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.

qmss host packet descriptor



Hi TI engineer

     We have used it to deliver message between cores for quite a long time.As I understand, we just push the infor into descriptor, then transfer the point to descriptor to target by the queue,isn't it?

     So I don't understand that why we have to define the descriptor in the type of "HostPacketDescriptor"? Can I just define a struct for my application, the deliver its point by the queue?As followed code:

/**********************************************************************/

      typedef struct {

          short  myMember[16];

     }MyStruct;

     MyStruct  myStruct;

     descriptor  = pop(queue);

     memcpy(  descriptor  ,  &myStruct,  sizeof(myStruct));

    push (queue, descriptor  );

/**********************************************************************/

   Is it OK?Looking forward to your reply, thank you.

  • Hi YUCHAO,

    For more info on QMSS, regarding the packet descriptor and the queue mechanism, please have a ,look at the document below, particularly page no: 24

    www.ti.com/.../sprugr9h.pdf.

    From the software flow perpective, I would recommend you to have a look at the PDK sample project
    "../pdk_C6678_1_1_2_6\packages\ti\transport\ipc\examples\qmssIpcBenchmark" [ package to download and install: pdk_C6678_1_1_2_6 ]

    ---