Hey Bob, I am sorry for my late reply. Yes, you were right. I was missing an initialization in the main function. Now the code works fine and I am able to display on LCD.
Now, if you dont mind, I have another question or rather would like some ideas. Right now I am sampling only one analog pin and performing FFT on it. Now, I want to take 6 inputs simultaneously at 6 analog pins and have the sampled values of all inputs stored in 6 different buffers (currently for 1 input, i was using ping pong DMA to store) and perform FFT on each one of them.
If anyone can help with some ideas on how to start for this 6 inputs this, it would be of great help.
Thank You
Harshul