Part Number: AM2732-Q1
Hi,
I have a two stage pipeline on HWA (FFT/Vector Multiplication + IFFT). FFT is triggered with HWA_TRIG_MODE_DMA an the second is triggered by HWA_TRIG_MODE_IMMEDIATE. My intention is the second stage to run automatically right after FFT.
In common config i set:
paramStartIdx = 0
paramStopIdx = 1
numLoops =1
And i programmed both stage once with HWA_configParamSet at init.
At runtime i call HWA_reset() once and then i trigger once the FFT channel with HWA_setDMA2ACCManualTrig(), expecting the state machine to run 0 then 1 and raise a single done interrupt at the end.
The problem is that FFT stage executes correctly, but the seep never advances to stage 1 (done ISR never fires) and the DSP hangs waiting on it. If i drop the sweep and trigger each paramset individually with its own HWA_setDMA2ACCManualTrig() (wiaitng on the done ISR between them), both stages run correctly and ISR fires each time. So the parameters are configuredcorrectly and only the automatic advnace from stage 0 to 1 fails.
My question is that for an automated run after FFT stage(DMA triggered), is setting triggerMode = HWA_TRIG_MODE_IMMEDIATE on IFFT stage sufficient, or an additional configuraiton is required ?
Best Regards,
George Sarantakis