Hi Guys,
Thank you for the quick replies.
Steve:
I originally declared adcLow[ArraySize] as a global so I can see the values in RAM.
But I think I can take that out now. I also do not know about Page memory.
How does that work? I tried a long time to understand that concept but still in the dark.
Thanks for noticing byte i, you're right, that blew by me. I originally tested for only 128 bytes.
I do not understand about static declaration though. I can also try putting the array in the main
section later.
Thanks a lot for your help.
BigMac:
I'm trying to get a snapshot of my bandpass filter output.
I can see from the data that I'm getting three images of the sine wave.
I don't know if this is correct because according to my calculation, I should
be receiving over 600 data points for a complete period. I'm assuming a 8 MHz divide down to 4 MHz.
As for the ADCResult array, I will try to do some simple DSP later. Even feed it
to my FPGA board later. Right now, I'm just trying to see if I can get the samples correctly.
I'm still trying to understand how globals and locals work with this micro.
Thank you very much.