1 of 1 people found this helpful
You can make use of dmaCfg.prodHeader when you configure DMA channel between your PIB Socket and USB Socket. You can mention how long is your Tag in this member of the structure. You can configure the DMA buffer size as your line size rounded up to closest 16 byte multiple (which is the requirement for a DMA buffer size). If the line size is a multiple of 16 byte then once the buffer is full, you will get a DMA callback (assuming manual channel). In the dma callback you can add header (tag) and commit it to USB.
(You can refer to AN75779 source code to see how to add header)