FFT routine working and BlueMix MTQQ publishing working, but not both.

28 Jan 2016

I'm using the K64F to sample an audio signal, do a small FFT, and publish the results to Blue Mix.

I have a main loop where I call the sampling function, and then call the MQTT function.

If I call the FFT, the MQTT publish function stalls before it returns to main. If I don't call the FFT, the MQTT publish function works fine. It's a 32 point FFT, and it saves it's data in a few small arrays, so it isn't a memory issue. I spent several days trying to troubleshoot the problem, but I have no clue why this is happening. However, I am pretty confident that it's not something in my code.

Any ideas?

Thanks! /media/uploads/Obi_Kwiet/ece533_final_project_zip_k64f.zip