MPC5775k FFT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5775k FFT

868 Views
junyishen
Contributor II

I'm writing the FFT module for MPC5775k.I work only on the MPC5775k daughter board.S32 is V1.1.have some problems, can you help me see if my code is correct?I really need your help.

 

When my program runs to void SPT_FFT256_init(uint32_t twiddle_addr)which initializes twiddle factor and window factor.Everything is normal until the breakpoint is shown as shown in the diagram193654_193654.pngpastedImage_3.png

and then run, error.

I make sure that address of command_list,twiddle_addr and fft_window is a multiple of 8.as this

193700_193700.pngpastedImage_7.png

I really can't find where it went wrong,I tried to see the status register to find the error

193701_193701.pngpastedImage_8.png

I deleted some functions in order to exclude the possibility of other modules configuring conflicts, but I think the overall should be correct.I will give you my code.SDADC_save20170911.TXT is my save before deleting. Please help me and tell me what's wrong.

 

 

 

 

 

Jason YangMartin Kovar

YANG TIANXIronliu

Original Attachment has been moved to: main_Z4.c.zip

Original Attachment has been moved to: SDADC_save20170911.txt.zip

0 Kudos
1 Reply

502 Views
junyishen
Contributor II

I work on 2N76P,Does it have any effect?

0 Kudos