I'm back...
Please take a look at my code: https://github.com/staticd/TheGatorKator/tree/gamma
Here is my issue, which seems to be recurring because I obviously haven't figured out what my problem is:
-In my ISR, I have a section to collect samples. I do this by passing the array pointer and sample to a frame_and_filter file. The frame_and_filter file filters the data and fills the input buffer. Upon completion, I move to the next control element.
-The problem is that I increment the index of the array and see that the index has made it to the end of the buffer but there are no data!
-When I add a printf to the ISR to see that I am indeed collecting samples, low and behold, my input_buffer has data. I do the same thing for the frame_and_filter (commenting out the printf in the ISR) and I get the same behavior.
-I have tried not including the filtering of the data and I still get no data in the input_buffer. I did this because I thought that perhaps the filtering was taking too long. That turns out to not be an issue.
My code should compile on anyone's CCS v5, if you'd like to try it out and see if you can point out my blunder.
As for polling, I created a new branch: https://github.com/staticd/TheGatorKator/tree/psi
On this branch I tried polling instead of interrupts. In this case, I get my samples but every other sample is zero and this just won't work for my application.
I think I got a little cocky on my last post because I had made a little progress but there is a fundamental misunderstanding on my part, I thimk.
If you could look at my code and see why it is behaving like this, I would be forever grateful.