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.