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.

AWR2944EVM: How does ADCBUF trigger CBUFF HW Streaming?

Part Number: AWR2944EVM

Tool/software:

Hello,

I noticed that the CBUFF driver has two trigger channels: MMW_LVDS_STREAM_CBUFF_EDMA_CH_0 and MMW_LVDS_STREAM_CBUFF_EDMA_CH_1, which are DSS TPCC_B events 18 and 19.

Yet, I cannot find any code in the mmwave mcuplus SDK that actually indicates a link between the ADCBUF chirp available signal and these two trigger channels. In the technical reference manual, I only saw that the chirp available event, CHIP_AVAIL_IRQ, is available  on HWASS TPCC_B S no. 1. But that is separate from DSS TPCC_B, right?

Could anyone help clarify if the AWR2944EVM triggers the abovementioned trigger channels through hardware (thus making it impossible to change the usage of MMW_LVDS_STREAM_CBUFF_EDMA_CH_0  and MMW_LVDS_STREAM_CBUFF_EDMA_CH_1)?

Thank you very much for your assistance!

  • Hi Aaron,

    Can you specify what exactly are you looking for? Do you want to use EDMA_DSS_TPCC_A_EVT_CBUFF_DMA_REQ0 and EDMA_DSS_TPCC_A_EVT_CBUFF_DMA_REQ1 channels for other purpose? This can be done by choosing appropriate mode of triggering the DMA transfer. You can refer to section 11.3.4 Initiating a DMA Transfer of AWR294x Technical Reference Manual (Rev. D). You can configure a DMA channel to trigger based on the hardware event that it's mapped to or through a manual SW trigger or a chain transfer trigger.

    Regards,

    Samhitha

  • Hi Samhitha,

    Thank you for your response. 

    I am not necessarily interested in using those channels for another purpose. I merely am wondering how they trigger the CBUFF HW streaming process, because I was unable to find any code within the SDK that links the channel to some sort of event trigger, after glancing over the cbuff driver.

    I did see somewhere that they are "physical" channels. Does that mean that they are specifically designed to trigger the CBUFF HW edma transfers? And that code to configure a trigger is not necessary, because those channels are automatically triggered by the board's hardware?

    In other words, if I were to replace the trigger channels with different channels within the same TPCC, would HW streaming still trigger?

    Thank you,

    Aaron

  • Hi Aaron,

    EDMA channels are mapped to hardware events. You can use the given channel which is mapped to hardware event and configure the channel to be event triggered. If you use a channel other than the one which is mapped to hardware event, you cannot trigger the DMA transfer based on any hardware event.

    Regards,

    Samhitha