ADSP-214xx SHARC Processor Hardware Reference
6-71
FFT/FIR/IIR Hardware Modules
Single Step Mode
Single step mode can be used for debug purposes. An additional debug
register is used in this mode.
1. Enable stop DMA during breakpoint hit in the emulator settings.
2. Clear the
IIR_HLD
bit and enable
IIR_DBGMODE
and
IIR_RUN
bits in
IIRDEBUGCTL
register.
3. Program FIR module according to the application.
4. In single step each iteration is updated in the emulator session.
Programming Example
In this example, an application needs IIR filtering for two channels of
data; channel 1 has six biquads and channel 2 has eight biquads. The win-
dow size for all channels is 32.
1. Create a circular buffer in internal memory for each channel’s data.
The buffer should be large enough to avoid overwriting data before
it is processed by the accelerator.
2. Configure internal memory buffers containing the 6 × 5 coeffi-
cients and the 6 × 2 Dk values for the channel 1 biquads, and the
8 × 5 coefficients and 8 × 2 Dk values of the channel 2 biquads.
3. Configure two TCBs in internal memory with each channel’s chain
pointer entry pointing to the next channel’s and the last channel’s
chain pointer entry pointing to the first in a circular fashion.
4. Program the
IIRCTL2
register to use channel 1 TCB for 6 biquads
and a window size of 32, and channel 2 for 8 biquads and a win-
dow size of 32.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...