AnsweredAssumed Answered

Example code for adi_fft_Register{RT}xCallback ?

Question asked by Jhon on Jun 18, 2016
Latest reply on Jan 18, 2017 by Mitesh

Hi, all:


I've read the thread "ADSP-SC58x/2158x FFT Accelerator: Example code", and checked the source codes attached, and I've also read the section "Programming DMA Manually: Small FFTs" in the CCES C/C++ Library Manual for SHARC, and now I want to use callback function to write and read FFTA.


The manual says (page 3-18): "It is also possible to register your own handlers for the TX and RX DMA interrupts by using the adi_fft_Register{RT}xCallback APIs. This allows you to take a callback when a DMA completes instead of using the adi_fft_Synchronize{RT}x routines used above", but I can't find any example code for that. I'm not familiar with CCES, and I'll appreciate if anyone can post the code.