This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HWI missing interrupts for 4 ms

we have a HWI that is interrupted every 1.666 ms from an FPGA. When certain functions execute that take 5+ ms, they do not allow interrupts. We are using IQMath and DspLib, but nothing I see should stop interrupts for so long. Any idea what would disable interrupts for longer than a ms?

compiler arguments

-mv6740 -c -q -s -O3 -mf4 -mo -mi1 --gcc --display_error_number -eo=o -ea=s -el=sa \
-I/home/lab/ti-dvsdk/dspbios/packages/ti/bios/include \
-I/home/lab/ti-dvsdk/c6run/build/dsp_libs \
-I/home/lab/ti-dvsdk/iqmath/include \
-I/home/lab/ti-dvsdk/dsplib/include \
-I/home/lab/ti-dvsdk/cgt6x/include

  • additional info, it looks like the following command disables interrupts and doesn't re-enable them:

    DSP_fft16x16t

    Is it normal for this to set GIE to 0 and not restore it?

    From dsp64x.src, it looks like the attempt to save the CSR register is overwritten in register B0 before being saved to the stack. We are working around this by enabling interrupts after calling DSP_fft16x16t.