Post Go back to editing

Re: Usage of FFT in SHARC ADSP21569 processor

Category: Software

Hi Team,

I'm using SHARC ADSP21569 processor , Now I'm going to work on FFT, when i add <adi_fft_wrapper.h> to my project , after compiling i got an error that " This processor is not supported".

I want complete details on FFT libraries which supports ADSP21569 and also the functionalities I can perform related to FFT using  ADSP21569.

Parents
  • Hi,

    Please note, The adi_fft_wrapper.h header file contains function prototypes and definitions related to the use of the FFTA accelerator available on SHARC+ processors.

    The FFTA accelerator supported by the libfftacc.dlb library is only on ADSP-SC58x and ADSP-2158x processors. It is available in the below CCES installation path.
    <Installation_Path>:\Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\lib\sc589_rev_any\

    The ADSP-21569 processor has a FIRA and IIRA. There is no equivalent of the libfftacc.dlb library, so cannot use any of the accel_* family of functions on the ADSP-21569. That the accel_* functions are only applicable to ADSP-SC58x and ADSP-2158x processors (SHARC+ cores). In addition, the adi_fft_wrapper.h header file will report an error in ADSP-21569 processor, you can view and verify the implementation inside the adi_fft_wrapper.h header file , it will throw a error "This processor is not supported" if !defined(__ADSPSC589_FAMILY__)
    For details on the ADSP-21569 accelerator, please refer the section "FIR Accelerator" and "IIR accelerator" in the below linked Hardware reference manual
    www.analog.com/.../adsp-2156x_hwr.pdf

    Apart from this, We have couple of Fast Fourier Transforms(fft) and filter library functions which provides a number of filters, declared in the filter.h headers available in cces for Sharc ADSP-21569 processors.

    The filter.h header file contains support for filters used in signal processing.The functions defined in this header file are listed in the Filter Library which is available in the below CCES help page.

    CrossCore® Embedded Studio 2.10.x > SHARC® Development Tools Documentation > C/C++ Library Manual for SHARC® Processors > DSP Run-Time Library > DSP Run-Time Library Guide > DSP Header Files > filter.h

    Please refer "Table 6. Library Functions in filter.h" in below CCES help for FFT library functions:

    CrossCore® Embedded Studio 2.10.x > SHARC® Development Tools Documentation > C/C++ Library Manual for SHARC® Processors > DSP Run-Time Library > Documented Library Functions

    The sources for these functions are available in the CCES installation. We would suggest you to refer DSP runtime library reference to know more about FFT filter. You can navigate as below.
    CCES installation \Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\lib\src\libdsp_src

    You can find the cycle counts/processing time for these functions in the corresponding source files.

    Also, you can find the header files are available in the CCES installation path.
    <Installation_Path>:\Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\include

    You can find more details about Library Functions in filter.h in the below linked library manual.
    www.analog.com/.../cces-SharcLibrary-manual.pdf

    Regards,
    Santhakumari.K

Reply
  • Hi,

    Please note, The adi_fft_wrapper.h header file contains function prototypes and definitions related to the use of the FFTA accelerator available on SHARC+ processors.

    The FFTA accelerator supported by the libfftacc.dlb library is only on ADSP-SC58x and ADSP-2158x processors. It is available in the below CCES installation path.
    <Installation_Path>:\Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\lib\sc589_rev_any\

    The ADSP-21569 processor has a FIRA and IIRA. There is no equivalent of the libfftacc.dlb library, so cannot use any of the accel_* family of functions on the ADSP-21569. That the accel_* functions are only applicable to ADSP-SC58x and ADSP-2158x processors (SHARC+ cores). In addition, the adi_fft_wrapper.h header file will report an error in ADSP-21569 processor, you can view and verify the implementation inside the adi_fft_wrapper.h header file , it will throw a error "This processor is not supported" if !defined(__ADSPSC589_FAMILY__)
    For details on the ADSP-21569 accelerator, please refer the section "FIR Accelerator" and "IIR accelerator" in the below linked Hardware reference manual
    www.analog.com/.../adsp-2156x_hwr.pdf

    Apart from this, We have couple of Fast Fourier Transforms(fft) and filter library functions which provides a number of filters, declared in the filter.h headers available in cces for Sharc ADSP-21569 processors.

    The filter.h header file contains support for filters used in signal processing.The functions defined in this header file are listed in the Filter Library which is available in the below CCES help page.

    CrossCore® Embedded Studio 2.10.x > SHARC® Development Tools Documentation > C/C++ Library Manual for SHARC® Processors > DSP Run-Time Library > DSP Run-Time Library Guide > DSP Header Files > filter.h

    Please refer "Table 6. Library Functions in filter.h" in below CCES help for FFT library functions:

    CrossCore® Embedded Studio 2.10.x > SHARC® Development Tools Documentation > C/C++ Library Manual for SHARC® Processors > DSP Run-Time Library > Documented Library Functions

    The sources for these functions are available in the CCES installation. We would suggest you to refer DSP runtime library reference to know more about FFT filter. You can navigate as below.
    CCES installation \Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\lib\src\libdsp_src

    You can find the cycle counts/processing time for these functions in the corresponding source files.

    Also, you can find the header files are available in the CCES installation path.
    <Installation_Path>:\Analog Devices\CrossCore Embedded Studio 2.10.x\SHARC\include

    You can find more details about Library Functions in filter.h in the below linked library manual.
    www.analog.com/.../cces-SharcLibrary-manual.pdf

    Regards,
    Santhakumari.K

Children
No Data