Analog Devices, Inc. CrossCore(R) Embedded Studio Application Example

ADSP-2156x EZ-Board Board Support Package

Project Name: IIR Multi Channel Processing

CONTENTS

  1. Description
  2. Processor
  3. Tested with
  4. Overview
  5. Hardware Setup
  6. Running the Example
  7. References

1. Description

This example demonstrates how to use IIR Accelerator Driver in Legacy Mode and Auto Configuration Mode(ACM). Two IIR tasks are created each having two channels. All the Channels have 12 Biquads and Window Size of 1024. The inputs and coefficients are given from the following .dat files : - iir_input_window_1024.dat - iir_coeffs_biquads_12.dat The Outputs obtained are compared with the MATLAB generated output .dat files : - iir_output_biquads_12_window_1024.dat Since processing through cascaded Biquad Sections introduces a gain, the outputs are appropriately scaled by the gain before comparing with the expected MATLAB Outputs. The gain depends on the number/configuration of the second order cascaded sections and is obtained through MATLAB(iir_sos_gain_biquads_12.dat) The accelerator can be operated in Legacy Mode or Auto Configuration Mode(ACM) Mode using static configuration. In ACM,additional features related to interrupts,triggers etc are available. For more information on Auto Configuration Mode(ACM), please refer to Hardware Reference Manual for ADSP-2156x processor and also IIR Device Driver Documentation for ADSP-2156x processor. In this example, the interrupts(Callbacks) for all the channels are enabled when the accelerator is operated in Auto Configuration Mode(ACM).

2. Processor

3. Tested with

5. Hardware Setup

  1. ADSP-21569 EZ-Board configured with default settings

6. Running the Example

  1. Build the project, load the executable to ADSP-21569, and run it (press resume button in debug view or hit F5).

  2. Look for the debug information displayed on Analog Devices CrossCore Embedded Studio console window.

7. References