2. Fft_int

2.1. Function description:

This demo shows how to trigger FFT interrupt including FFT calculates completely interrupt, TF stores completely interrupt and FFT in working interrupt.

Configure Q31 frequency domain transformation with 16 points:

  • Enable global interrupt & register FFT interrupt.

  • Initialize & configure the FFT, the input data means is RIRI.

  • Enable the related interrupt.

  • Set the address of TF & input data, then loading and start calculation.

  • Waiting trigger the related interrupt and enter interrupt service routine.

Note

The golden data just fit for the RTL cofiguration: FFT Max point is 4096.

2.2. Test result:

If successfully trigger and enter interrupt service routine, then print pass, if not print fail.

2.3. IO connection:

None