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

ADSP-SC8xx EZ-Board Board Support Package

Project Name: IIR Multi Channel Processing

CONTENTS

  1. Description
  2. Processor
  3. Tested with
  4. Hardware Setup
  5. Running the Example
  6. 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-SC8xx processor and also IIR Device Driver Documentation for ADSP-SC8xx processor. In this example, the interrupts(Callbacks) for all the channels are enabled when the accelerator is operated in Auto Configuration Mode(ACM). This example is supported on EV-SOMCRR-EZKIT.

2. Processor

3. Tested with

4. Hardware Setup

  1. ADSP-SC835/ADSP-21835 SOM Board configured with default settings

5. Running the Example

  1. Build the project, load the executable to ADSP-SC835/ADSP-21835, 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.

6. References