Hi everyone! Why does in Keystone VCP2 EDMA interrupt enable from the tx channel after branchmetrics and not from the rx channel? Don't we need to wait until the VCP2 & EDMA work is over?
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.
Hi everyone! Why does in Keystone VCP2 EDMA interrupt enable from the tx channel after branchmetrics and not from the rx channel? Don't we need to wait until the VCP2 & EDMA work is over?
Hello,
I can't answer your question precisely, but rather give you insight on VCP operation logic. It is expected, that DSP computes branch metrics and load them to VCP. Sometimes length of frame being processed is longer, then internal memory space of the accelerator, in this case branch metrics should be loaded in several chunks, thus we need Tx interrupt to EDMA, which is doing the job of branch metrics transfer to accelerator. When enough processed data are ready to be flushed out of accelerator, Rx event notify EDMA to unload that portion of processed data.