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.

TMS320F28062: RFFT_adc_f32 doesnt work dsp library 1.5

Part Number: TMS320F28062

I notice that when I call RFFT_adc_f32 it never returns from call forcing a reset.

Seems to be the same for version 1.4 as well.

I have included the source in my project and it still does it. 

calls to    RFFT_f32_sincostable(); and    CFFT_f32_sincostable(); work fine.

When I single step through the code it jumps to the following fine:

_RFFT_adc_f32:
ADDB SP,#2
MOVL *-SP[2],XAR4
LCR _rfft_adc_f32_Stages1and2and3andBitReverse
;MOVL XAR4,*-SP[2] ;comment this out only for
;adc version of RFFT
LCR _rfft_adc_f32_Stages4andUp
SUBB SP,#2
LRETR

After executing the following "LCR _rfft_adc_f32_Stages4andUp" the stack pointer no longer contains the correct return address.