Skip to content

The maximum/minimum value of the input/output of fft functions #3

@LinChihShan

Description

@LinChihShan

Hi,

I would like to know the minimum and maximum values of the input and output values for the FFT series functions.

The specific situation is as follows: I am using riscv_dsp_rfft_q15 to convert a time-domain signal into its frequency spectrum, performing some processing, and then using riscv_dsp_rifft_q15 to convert the spectrum back to the time-domain signal. However, the time-domain signal overflow.

I am confident that the Q format has been implemented according to the specifications in the Andes DSP Library User Manual, and I am also confident that my algorithm itself is correct. When I scale down the entire signal by a few times, the overflow issue is alleviated or disappears. Therefore, I suspect that there may be specific input/output range constraints for the FFT functions—especially for the IFFT series input.

Thank you for taking the time to read this. I look forward to your reply. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions